Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
Is there a way to add a date filter that looks at any data before todays date? So when the report is published and a user looks at it the date filter brings up any data before the date they look at it (if that makes sense).
thanks
Solved! Go to Solution.
@Anonymous,
There are tow methods for you to get the above result.
1. Create a calculated column using DAX below. Then create a slicer using this column and selecting 0 in the slicer to filter your visuals.
checktoday = IF(Table[DateKey]=TODAY(),1,0)
2. Create a measure as below in your table, then drag the measure to a card visual. This measure display all data before today.
salesbeforetoday = CALCULATE(SUM(Table[SalesAmount]),FILTER(Table,Table[DateKey]<TODAY()))
Regards,
Lydia
@Anonymous,
There are tow methods for you to get the above result.
1. Create a calculated column using DAX below. Then create a slicer using this column and selecting 0 in the slicer to filter your visuals.
checktoday = IF(Table[DateKey]=TODAY(),1,0)
2. Create a measure as below in your table, then drag the measure to a card visual. This measure display all data before today.
salesbeforetoday = CALCULATE(SUM(Table[SalesAmount]),FILTER(Table,Table[DateKey]<TODAY()))
Regards,
Lydia
Thanks very much appreciate it
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |