Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi,
Each Column is derived from a measure. Here is my measure
I have been asked to add conditional formatting to this table in Power BI. Can anyone help me with this please? Please see example of my sample data below from Excel.
I attach my sample data - https://docs.google.com/spreadsheets/d/1IyTWtuzcQtblXIbr7Kyz8rGfK9DG0RW3/edit?usp=sharing&ouid=10762...
Solved! Go to Solution.
Hi @lennox25 ,
Thanks for marcelsmaglhaes's reply!
And @lennox25 , you can also use DAX to achieve this.
Here is my sample data:
I see that you seem to be involved in calculating 2 Std Deviation and Average, but I don't know exactly which values you are calculating for these two values, so I'll just substitute two random DAXs on my end, please replace them with the ones that you are actually using.
AverageAmount =
CALCULATE(
AVERAGE('Table 1'[Amount]),
ALLEXCEPT('Table 1', 'Table 1'[Score No], 'Table 1'[Category])
)STDEVAmount =
CALCULATE(
STDEV.P('Table 1'[Amount]),
ALLEXCEPT('Table 1', 'Table 1'[Score No], 'Table 1'[Category])
)
And the final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lennox25 ,
Thanks for marcelsmaglhaes's reply!
And @lennox25 , you can also use DAX to achieve this.
Here is my sample data:
I see that you seem to be involved in calculating 2 Std Deviation and Average, but I don't know exactly which values you are calculating for these two values, so I'll just substitute two random DAXs on my end, please replace them with the ones that you are actually using.
AverageAmount =
CALCULATE(
AVERAGE('Table 1'[Amount]),
ALLEXCEPT('Table 1', 'Table 1'[Score No], 'Table 1'[Category])
)STDEVAmount =
CALCULATE(
STDEV.P('Table 1'[Amount]),
ALLEXCEPT('Table 1', 'Table 1'[Score No], 'Table 1'[Category])
)
And the final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @lennox25 ,
Since you have the meausre for the each percentage, add the calculated measures to your table in Power BI then:
Apply Conditional Formatting:
Apples Percentage).Configure Conditional Formatting Rules:
Apply the same conditional formatting logic to other columns (Pears Percentage, Oranges Percentage, etc.) using their respective measures.
Let me know if that helps!
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!