Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
vbiqvitovs
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
Anonymous
Not applicable

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.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.