Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello
I want to enable users to chose their own date filters on a page but I also want to always exclude today's date data from a particular visual on the page.
Is it possible to specify a relative date filter on the visual so that it will display all data apart from today's and then enable users apply page filters on top to further filter the data on the visual and the page according to their own date range?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
I created the data:
Here are the steps you can follow:
1. Create measure.
flag =
IF(MAX('Table'[date])=TODAY(),0,1)
2. Place [flag] in Filter, set is=1, apply filter.
3. Use [date] as a slicer
4. Even if the slicer selects the date, only all data except today will be displayed in the visual object
5. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I created the data:
Here are the steps you can follow:
1. Create measure.
flag =
IF(MAX('Table'[date])=TODAY(),0,1)
2. Place [flag] in Filter, set is=1, apply filter.
3. Use [date] as a slicer
4. Even if the slicer selects the date, only all data except today will be displayed in the visual object
5. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |