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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
TBoat
Frequent Visitor

Conditional Format Calculated Group formula to show Negatives with Red in Matrix

Hi,

 

I have created a calculated group with multiple calculations and formats. The issue I am running into is getting the Negatives to be Red. I tried many videos online with solutions, but cant get it to work.

 

This one only seems to work when you dont have multiple different calculations.

https://www.youtube.com/watch?v=ToAlPA5KvUc

 

This one seems better, but cant get the Red in the formula.

https://www.youtube.com/watch?v=90X5_tISxIY&t=527s

 

Not sure what I am doing wrong or where to go from there. Would love some help Thanks so much!

 

Here is my recent try at adding in an If statement to the Switch function with my calculations.

 

Switch( 
True(), Selectedmeasurename () = "Net Profit CY", Format([Net Profit CY], "$ 0,0"),
Selectedmeasurename () = "Net Profit LY", Format([Net Profit LY], "$ 0,0"), 
Selectedmeasurename () = "Net Profit VY", Format([Net Profit VY], "$ 0,0"), 
if(Selectedmeasurename () = "NP % +/-" && >=0, Format([NP % +/-], "0.0%"), "Red" && Format([NP % +/-],"0.0%; -0.0%")),

 

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.