Forum Discussion
Anonymous
1 year agoNot applicable
Apply conditional formatting to a visual calculation
Is it possible to apply conditional formatting, specifically the red and green icons, to a visual calculation. I am unable to replace the visual calculation with a DAX measure due to the complicated ...
- 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
Anonymous
1 year agoNot applicable
Hi Anonymous,
As we haven’t received any further updates and there are no outstanding queries at the moment, we’ll go ahead and close this thread for now. If you have any additional questions in the future, please don’t hesitate to start a new thread we’re always here to help.
Warm regards,
Prasanna Kumar