Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
How to highlight entire rows in power BI and I try to highlight but column 'Total' not able to do in metrics table.
even 43 should be green color
any suggestion.
Solved! Go to Solution.
@Anonymous
That would be the code below .
Apply to Values and Totals
I applied conditional formatting as following obervation.
'Denmark' entire rows = white color should not highlight
"Total" rows only = any color, i.e. green, purple
any suggestion
Hello @Anonymous
If you just wanted to highlight the bottom row (the Row Grand total) without highlighting the entire Column Grand Total, i dont see there's a direct way to set this up in Format Panel. You would need to use a simple Measure for conditional formatting.
Hope this helps:)
Its works as if Sub-total level of data like below but I need 'Total' entire rows 'color'
example:
Food
proteins
vitamin
minerls
Household
furniture
tools
Total 0000 2120 3030 4040 5050
@Anonymous
This all depends on Which filter contexts you wanted them to be 'In Scope'.
For example, if i tweak the DAX to below, both Subtotal and Grand Total are highlighted (except for null values)
In Metrics table I would need 'Total' (In the last rows)
suggest
@Anonymous
That would be the code below .
Hi @Anonymous ,
Thanks for reaching out to the Microsoft fabric community forum.
I would also take a moment to thank @MasonMA , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
Best Regards,
Community Support Team
Hi @Anonymous ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.
Best Regards,
Community Support Team
Hi @Anonymous ,
Can you please confirm whether the issue is sorted or not?
Thank you.
Hi @Anonymous , to highlight entire rows including the 'Total' column in a Power BI matrix or table, set conditional formatting on each field and ensure the "Apply to" option is set to "Values and Totals". Update your formatting rules to also include totals so that all cells, including row totals, reflect the highlight color.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |