Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a date slicer slider that when I open the report I want to be set for todays date. I also need to be able to change back the date slicer to the full range of dates using the slider.
If i set it manually then it won't adjust to the current date tomorrow. If i set it as a filter then slider only shows the current date.
Solved! Go to Solution.
Hi @akhaliq7 ,
Create a measure and put that as a filter.
Step 1: Creating a measure
Measure = if(max(tablename[date] <=today(),1,0)
Step 2: Click on your visual(slicer with the slider date), put a visual level filter where measure = 1
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regards,
TruptiS
Hi @akhaliq7,
The current power bi slicer does not support the default value.
I’d d like to suggest you add a calculated column to your table to compare the current date value with today function and return tag, then you can set a filter based on this column to filter today values.(the formula will auto-update when the system date changes)
Regards,
Xiaoxin Sheng
Hi @akhaliq7,
The current power bi slicer does not support the default value.
I’d d like to suggest you add a calculated column to your table to compare the current date value with today function and return tag, then you can set a filter based on this column to filter today values.(the formula will auto-update when the system date changes)
Regards,
Xiaoxin Sheng
Hi @akhaliq7 ,
Create a measure and put that as a filter.
Step 1: Creating a measure
Measure = if(max(tablename[date] <=today(),1,0)
Step 2: Click on your visual(slicer with the slider date), put a visual level filter where measure = 1
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regards,
TruptiS
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |