Forum Discussion
sv98917n
Helper I
6 years agoHave Date Slicer Show Only Certain Dates
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/2...
- 6 years ago
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.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
v-kelly-msft
Community Support
6 years agoHi 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.
Best Regards,
Kelly
Kelly
Did I answer your question? Mark my post as a solution!