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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Button switch pages based on segment state

Hi!

 

I was wondering if it's possible to make a button switch between pages based on the state of a segment. 

For instance: I have a segment that switches between 'USA' and 'China'. I have a button that opens up another page showing more information on a table (bigger, more detailed table). I want that button to open the page 'Table - China' when the segment has 'China' selected and open 'Table - USA' when 'USA' is selected on the segment.

 

Is that possible? Is there another way of achieving the same result?

 

Thanks,

Xencemaa

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Where is the Sgement coming from? is it a column a measure?

You just need to reference the column from where that USA/China values are coming from, i called it segment because it was the name you gave on your question.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

5 REPLIES 5
MFelix
Super User
Super User

Hi @Anonymous ,

 

For this you can make a measure that has the following syntax:

Page Change = "Table - " & SELECTEDVALUE(Table[Segment])

Then on the button action select the page navigation and use this measure on the FX button. Should give you a button based on the selected segment you choose.

 

https://www.fourmoo.com/2020/05/26/did-you-know-you-can-now-selectively-show-report-pages-for-specific-users-in-power-bi/


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Anonymous
Not applicable

How can I reference the segment in the measure? I do not have a column 'Segment'

Hi @Anonymous ,

 

Where is the Sgement coming from? is it a column a measure?

You just need to reference the column from where that USA/China values are coming from, i called it segment because it was the name you gave on your question.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Anonymous
Not applicable

Thank you very much!

Ritaf1983
Super User
Super User

Hi @Anonymous 
Check the option of drill through:

https://www.youtube.com/watch?v=BbplhqDCWOM

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.