Forum Discussion

jmkvalsund's avatar
jmkvalsund
Helper III
4 years ago
Solved

Can I select a bookmark based on current month when loading report?

I have a slicer showing month of year. I have not found a way to set the slicer to current month when the report opens, so I have to change that manually month by month. Small job, but it has to be d...
  • v-zhangti's avatar
    4 years ago

    Hi, jmkvalsund 

     

    You can try the following to set the slicer to the current month.

    Column:

    Monthnum = MONTH([Date])

    Measure:

    Measure = IF(SELECTEDVALUE('Table'[Monthnum])=MONTH(TODAY()),1,0)

    Place Measure in the slicer's view filter and set it to equal 1.

         

    The slicer then displays only the current month's options. Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.