Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Conditional formatting is not applying correctly to the axis labels. In the attached sample I have 2 tables with 9 rows each and a formatting measure that just compares the selection from Table 1 to the active row from Table 2.
Formatting =
VAR _SelectedCustomer = SELECTEDVALUE ( Table1[Customer] )
VAR _DisplayCustomer = SELECTEDVALUE ( Table2[Customer] )
RETURN
SWITCH(
TRUE(),
_SelectedCustomer = _DisplayCustomer, "Red",
"Green"
)
You can see that the Customer in the table follows the conditional formatting but the Y-axis label in the chart does not. I even have the formatting measure as a tool-tip on the chart and it is picking up the right value.
I have attached my sample file for you to look at.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @jdbuchanan71
By testing on sample file from you, we found that SelectValue(Table2[Customer]) in bar chart context is identified as blank for there isn't a specific value checked. So x axis values will be displayed in red when SelectValue(Table1[Customer]) is blank, and display in green when you select an item in Slicer. If you create a relationship between Table1 and Table2 by Customer column. It will work.
Best Regards,
Community Support Team _Caiyun