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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JarradMurray
New Member

Identify which bookmark is triggered for use in text box

Hi All,

 

I am trying to write a measure that checks the selected value of a slicer along with the current active bookmark so a button can show some custom text.  I can identify the slicer value but am unsure of how to identify which bookmark is currently active.

 

What I am trying to do is change the text on a button along the lines of.

IF(

   SelectedValue(Metric[Direction]) = "Up"

   ,If(

       Bookmark = "Up"

       ,""
       ,"Click the button to change the graph"

    )

   ,If(

       Bookmark = "Up"

       ,"Click the button to change the graph"
       ,""

    )

)

 

The idea is I have 2 graphs and 2 buttons, each set is aligned to a bookmark, the Up bookmark shows the Improvement graph and the button switches to the Down bookmark.  The Down bookmark shows the decline graph and the button switches to the Up bookmark.

 

I need to switch the Data filter off the bookmarks as the report has a number of filters that need to remain so I can't use filters to work this.

 

Is this possible or is there another way to achieve what I am attempting to do.

 

Many thanks.

1 REPLY 1
lbendlin
Super User
Super User

I can identify the slicer value but am unsure of how to identify which bookmark is currently active.

That is not exposed inside the report (it is showing in the URL if you address it directly)

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.