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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have unpivoted columns on attribute- CY, Budget and SPLY , how do I enter conditional formatting for specific PM%
example to calculate Product Margin% for CY ,if I select CY, then CY PM% -Budget PM% will be green or else if low then red,
similarly if i select SPLY, then it should be compared to CY, CY GP% -LY GP% the measure should say if greater then green or else red
the problem now is if i put a formula it applies to all PM% including budget, i only want it for CY and SPLY
Screenshot here: I selected Current Year and Budget together.
@Anonymous , create a color measure and use that conditional formatting with field values
Color = if([CY PM% ]> [Budget PM] ,"green","red")
refer: https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 109 | |
| 47 | |
| 30 | |
| 25 |