The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team,
we are using advanced card visual in Power BI, for that value we want to apply conditional formatting.
Example: If actual value > Buget value then the numbers should be in Green, if the actual value is between 95% to 100% of budget value then it is Amber, if the value is actual value is <95% then it is red.
Note: This can be achieved in table and matrix visual by selecting field measue, for business requirement we are using advance card.
Solved! Go to Solution.
Hi @Vinod_G_245 ,
As checked the setting options of advanced card, there is no conditional formatting option for the card value. As an workaround, you can create a default card visual to replace it.
Then create a similar measure as below and apply the conditional formatting for the callout value of card as below screenshot...
Conditional formatting =
IF (
[Actual] > [Budget],
"Green",
IF ( [Actual] >= 0.95 * [Budget] && [Actual] <= [Budget], "Amber", "Red" )
)
Best Regards
Hi @Vinod_G_245 ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Hi @Vinod_G_245 ,
As checked the setting options of advanced card, there is no conditional formatting option for the card value. As an workaround, you can create a default card visual to replace it.
Then create a similar measure as below and apply the conditional formatting for the callout value of card as below screenshot...
Conditional formatting =
IF (
[Actual] > [Budget],
"Green",
IF ( [Actual] >= 0.95 * [Budget] && [Actual] <= [Budget], "Amber", "Red" )
)
Best Regards