Thanks for the quick reply! One correction to something I said earlier: the format of the "Date" in my lookup file is YYYY-MM-DD.
It is in the same dashboard. I tried what you had mentioned already, but with the global parameters within quotes. That didn't seem to return what I wanted, but it did not lead to an error. Then I tried without quotes, and I get this error:
Error in 'where' command: The operator at 'mon@mon AND Date<=@mon ' is invalid.
The where clause is like:
where customer="XYZ" AND Date>=$global_time.earliest$" AND Date<=$global_time.latest$" I've also tried this:
| inputlookup mylookup.csv
| eval lookupfiledatestart =strftime($global_time.earliest$, "%Y-%m-%d")
| eval lookupfiledateend =strftime($global_time.latest$, "%Y-%m-%d")
| where client="XYZ" AND Date>=lookupfiledatestart AND Date<=lookupfiledateend
That gives me this error: Error in 'EvalCommand': The expression is malformed. An unexpected character is reached at '@mon, "%Y-%m-%d")'.
... View more