Forum Discussion

sv98917n's avatar
sv98917n
Icon for Helper I rankHelper I
6 years ago
Solved

Have 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...
  • v-kelly-msft's avatar
    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,
    Kelly
    Did I answer your question? Mark my post as a solution!