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.
Hello Everyone,
I currently have a dataset that is only based on Sundays. I have a date slicer, but it adds its own dates into it.
For example: 3/8/20 is a Sunday, but it lets me slice to 3/9/20 even though my data is only Sundays. I would like the next slice to bring me to 3/15/20 then 3/22/20 and so on.
However, when I do slice to 3/9/20, its kind of treated as a 3/15/20.
I know you can press the date and select via a calendar, but this would be very helpful if there is a solution.
Thanks!
Solved! Go to Solution.
Hi @sv98917n ,
Create a measure as below:
Measure = IF(WEEKDAY(MAX('Table'[Date]),2)=7,1,0)
Then put the measure in the filter of the slicer ,select " is 1"and apply it.
And you will see:
For the related .pbix file,pls see attached.
Hi @sv98917n ,
Create a measure as below:
Measure = IF(WEEKDAY(MAX('Table'[Date]),2)=7,1,0)
Then put the measure in the filter of the slicer ,select " is 1"and apply it.
And you will see:
For the related .pbix file,pls see attached.
@sv98917n , You can create that return 1 for the dates you wanted and use that as a visual level filter.
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 | |
68 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |