Forum Discussion
Apply conditional formatting to a visual calculation
- Anonymous1 year ago
Hi Anonymous,
Thank you for reaching out to the Microsoft Fabric Forum Community.
Please try creating a single visual calculation measure for Variance and apply conditional formatting using the following DAX query:
Color =
VAR Variance = [Actual Cost] - [Standard Cost]
RETURN
IF (Variance >= 0, "Green", "Red")If the issue continues, feel free to contact us. We are here to assist you.
Best regards,
Prasanna Kumar
Hi Anonymous,
Just following up to see if the suggested approach helped with applying conditional formatting specifically red and green icons to your visual calculation for Variance. Since you're working with a visual calculation rather than a DAX measure, we understand the setup might be a bit complex.
If you're still encountering issues or need further guidance, feel free to reach out. We’re happy to help!
Warm regards,
Prasanna Kumar