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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
garynorcrossmmc
Advocate II
Advocate II

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
Super User
Super User

@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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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