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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Make the button on page 1 green if there are values in the table on page 2

I have a report with several pages and on the first page (start page) there are text fields as buttons that link to the other pages. On the other pages are tables with values. But the tables do not always contain values.

Now I want that if in a table values are contained the button on the start page is displayed in green.

Does anyone have an idea ?

Thank you

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching to us.

First, you need a measure to get the table status, e.g.

HasValue = IF(COUNTROWS(ALLSELECTED('Table')),"Green","Red")

well, the measure depends on your need.

then, put it into Format Button  - Fill -

vxiaotang_0-1634092428328.png

finally, enable Sync slicers

vxiaotang_1-1634092580155.png

result

vxiaotang_2-1634092951757.gif

FYI:

https://www.wiseowl.co.uk/blog/s2722/conditional-format-button-properties.htm

 

 

Best Regards,

Community Support Team _ Tang

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

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching to us.

First, you need a measure to get the table status, e.g.

HasValue = IF(COUNTROWS(ALLSELECTED('Table')),"Green","Red")

well, the measure depends on your need.

then, put it into Format Button  - Fill -

vxiaotang_0-1634092428328.png

finally, enable Sync slicers

vxiaotang_1-1634092580155.png

result

vxiaotang_2-1634092951757.gif

FYI:

https://www.wiseowl.co.uk/blog/s2722/conditional-format-button-properties.htm

 

 

Best Regards,

Community Support Team _ Tang

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

jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,
Not very clear for me but is it possible for you to share a sample pbix with sensitive data removed ?

 

Regards,

Jaideep

Anonymous
Not applicable

Dom898_0-1633968446137.png

My test file: sry i cant upload a pbix file.

 

on the Startpage there are 3 buttons that navigate to the pages (with Aktion/sitenavigate). If there are values in the table one page PCS (Screenshot below) , then the PCS button on the Startpage should be highlighted in green.

 

Dom898_1-1633968518838.png

 

is that enough as a description ?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors