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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Dynamically change color of button based on data within linked tab

I have a main page with some buttons on it that link to other tabs.  The first blue circle links to a tab called minimumdist., the second blue circle links to a tab called erroraccount, and so on with the rest of the buttons.

 

Orgel_0-1692041199128.png

Is there a way to have these buttons dynamically change color based on the data in the linked tab.  For example, if there is no data in the linked tab, then I want the circle to be green, if there is any data in the linked tab, then I want the circle to be red.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks.  I think I figured it out.  On the buttons I made a rule based on if a data field total is greater than or equal to one, then make the circle red.  Otherwise it defaults to green.  Seems to be working right now.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks.  I think I figured it out.  On the buttons I made a rule based on if a data field total is greater than or equal to one, then make the circle red.  Otherwise it defaults to green.  Seems to be working right now.

TomMartens
Super User
Super User

Hey @Anonymous ,

 

I assume that you are talking about report pages, when you are referring to tabs.

 

When you are using the "new" page navigation, then it's not possible to apply a measure to each shape separately, that determines the color.

 

If you are using individual shapes with the page navigation action assigne, then you can create a measure for each shape that returns a color depending on the data:

image.png

Hopefully, this gets you started.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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