Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jmkvalsund
Helper III
Helper III

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 done... So, another approach, if I create a bookmark for each month, can I then trigger the actual bookmark based on which month it is? I.e. by creating a measure holding current month? Or by any other value? Suggestions appreciated, 

 

regards,

John Martin

 

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

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.

vzhangti_1-1648200439401.png     vzhangti_2-1648200467360.png

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.

View solution in original post

5 REPLIES 5
v-zhangti
Community Support
Community Support

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.

vzhangti_1-1648200439401.png     vzhangti_2-1648200467360.png

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.

jmkvalsund
Helper III
Helper III

Sorry folks, unforunately this will not help.
My slicer is a multiselect option-box. When current month is i.e. march, I want the three first boxes to be checked, since the report default should show accumulated results from january to march. I haven't found any other way to make the slicer come up with multiple options checked as default, than using bookmarks. And then the challenge is to select the actual bookmark (1 out of 12) when the report is being loaded.

Hi, having the same problem... did you found a way around? Thanks

PijushRoy
Super User
Super User

HI @jmkvalsund 

Please create serial for your month in DAX
0.JPG

 

Select the Month Name or Month No Col and go to Sort By option, and select SERIAL  sort
01.JPG

 

In Drop Down slicer, select Sort by MONTHNAME 

 

SO YOUR SLICER ALWAYS SHOWS, CURRENT MONTH FIRST. GO TO SLICER SETTING AND SELECT OPTION, SINGLE SELECT, SO YOUR CURRENT MONTH IS SELECTED BY DEFAULT.

If not solved, Please keep posted
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





truptis
Community Champion
Community Champion

Hi @jmkvalsund , Please try this:
Step 1-> Transform data -> (in power query editor) click on Add column->Custom Column (Current Month)

put this DAX:
Date.MonthName( DateTime.LocalNow() )

Click on OK -> Apply & Close changes 

 

Step 2:

In the report view, put the slicer and use current month(that we made in step 1) as date field.

Step 3: Select the slicer -> Go to Format pane-> Selection control -> turn ON the Single Select option

This will default your slicer to be at current month.

@jmkvalsund -> Please mark this as a solution & hit the thumbs up if it helps you. Thank you. 

 

Regards,

TruptiS

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors