cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vbiqvitovs Frequent Visitor
Frequent Visitor

Advanced Filtering - Dynamic Filter Based on Field Value

I'm attempting to create a report that displays table values for events that occurred today. The data provided by the data source doesn't use datetime values (instead uses int value YYYYMMDD, stored in column job_date), so I have to display the values based on a MAX(job_date). I currently have two columns, job_date and currrent_date, job_date displays the actual date of the event, and current_date displays repeating value of MAX(job_date).

 

How do I go about creating a table visualization in my report that shows only rows where job_date == current_date. I've tried using the advanced filter, but this only filters based on static values.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Advanced Filtering - Dynamic Filter Based on Field Value

If I understand your question correctly:

 

Create a calculated column where your date column is

 

IsItToday = IF ( your Date Column = TODAY() ; 1 ; 0)

 

Do whatever visualizations you want in a report and you can drag this calculated column in the Page level filters (or Report level filters for that matter) and mark the value 1. Then you have filter everything on the page/report for what's happening today.

1 REPLY 1
Highlighted

Re: Advanced Filtering - Dynamic Filter Based on Field Value

If I understand your question correctly:

 

Create a calculated column where your date column is

 

IsItToday = IF ( your Date Column = TODAY() ; 1 ; 0)

 

Do whatever visualizations you want in a report and you can drag this calculated column in the Page level filters (or Report level filters for that matter) and mark the value 1. Then you have filter everything on the page/report for what's happening today.