This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I'm trying to add conditional formatting to values in a column based on the difference between that value and the total of the column. So if the value in the column is 5% lower or higher than the column total, I'd like to apply conditional formatting to that value. Is this possible in PBI?
Thanks,
Gary
Hi @Anonymous ,
If your datasource contains some specific data structure, can you please share a pbix file with some dummy data for test?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
What you can do is create another column that does your row by row calculation, and then use that field for your conditional formatting rules.
For example, I created a measure for column total:
Hi, @CoreyP , thank you for your answer, but I probably should've been a bit more specific.
I have this field, which is currently called 'L12 Customer Line Item Mkt Share %.'
You'll see on the first row a % of 21.7%, and a total for the column of 15.3%. In this instance, I want to be able to conditionally format the 21.7% because it's >5 points above the total for the columns (15.3%). Any ideas on how to do this?
Is this field data pulled from a source, or is that a DAX calculation of some kind?
@CoreyP it is a DAX measure, dividing two fields: Customer - L12 Sales $ by Total Market - L12 Sales $.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 28 | |
| 24 | |
| 22 |