Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Dears,
i have this DAX formula and it shows as text because it contains % and Value in the same column
I need to color in read the text in negative
Solved! Go to Solution.
You can create a measure to format.
Format = IF(CONTAINSSTRING([Margin Gap],"-"),"red","green")
Then put it to the conditional formatting of the [Margin Gap] measure, select font color.
Then set the condition.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks
You can create a measure to format.
Format = IF(CONTAINSSTRING([Margin Gap],"-"),"red","green")
Then put it to the conditional formatting of the [Margin Gap] measure, select font color.
Then set the condition.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 65 | |
| 64 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 119 | |
| 117 | |
| 38 | |
| 36 | |
| 29 |