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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Gerri
Frequent Visitor

Conditional formatting for Total Labels

Hello, 

I'm using a measure to color the total label but for some reason it's not working for the stacked coloumn chart.

I know that my measure is working fine from the tables but for some reason it's not working for total labels.

 

Where am I going wrong?

 

Gerri_2-1653017611332.png

Gerri_1-1653017543175.png

Gerri_3-1653017799716.png

 

 

4 REPLIES 4
M181ut
New Member

For other people who had a similar problem, I found a way to solve it.

I have a stacked graph of charges divided by categories and for an unknwon and bizarre reason the formatting of total labels is based on the top column of the stacked column so only one category and not the total.

To bypass this, I created a measure CALCULATE([charges], ALLEXCEPT( list of filters I need BUT categories)) and I base my formatting on this new measure that is not affected by categories.

v-shex-msft
Community Support
Community Support

HI @Gerri,

When you use table and matrix visuals, conditional formatting works on the detail levels and they did not apply to the total level.
For the stacked column chart, the conditional color formatting only worked when you do not use table columns on the legend fields.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Gerri , the Color on the label is based on grand total value. That is the reason

How should I edit the measure to split it over the months?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.