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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
garynorcrossmmc
Advocate IV
Advocate IV

Conditional Formatting based on Matrix Total (for Personalized Visual)

Hi again,

 

I am putting together a matrix visual that looks like this:

garynorcrossmmc_0-1622815942179.png

On the column for 'Total Hiring Rate', the user has requested that this field has conditional formatting applied based on the row's value vs. the column total.  I've seen solutions on this forum where it's suggested to create a measure for conditional formatting based on ALLSELECTED(Row Dimension), however this visual is set up as a personalized visual, where the row dimension will change based on the users' preferences.

How can I apply conditional formatting to this column based on that row's difference from the grand total?

3 REPLIES 3
v-xulin-mstf
Community Support
Community Support

Hi @garynorcrossmmc,

 

Is your issue solved?

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

v-xulin-mstf
Community Support
Community Support

Hi @garynorcrossmmc,

 

You can calculate the difference between rows and grand total with a measure.

And then you can apply conditional formatting with the measure.

 

Best Regards,
Link

 

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

Greg_Deckler
Community Champion
Community Champion

@garynorcrossmmc You can get the grand total by using something like a CALCULATE([Measure],ALL('Table')) or SUMX(ALL('Table'),[Column]). You could then do a ratio between the current value and this value for your conditional formatting.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

Users online (6,651)