Forum Discussion
brianhackett5
8 years agoHelper I
Formatting Variable
HIguys, Just wondring if is possible to format variables depending on the result returned. I've highighted the desired format for each variable in red. Thanks in advance for your help. ...
- 8 years ago
Yes, you can use FORMAT function.
SWITCH(FINANCIAL_KPIs_Link[NUMBER], 1, FORMAT ( [Price_List_Errors], "#,##" ), 2, FORMAT ( [Sales], "#,##0 €" ), 3, FORMAT(GP, "percent") )
brianhackett5
8 years agoHelper I
Thank you very much, that worked perfectly.
Is it possible to apply conditional formatting to individual variables (Red for bad, green for good)
v-huizhn-msft
8 years agoMicrosoft Employee
Hi brianhackett5,
Have you resolved your issue? If you have, please mark the right reply as answer, so more members benefit more from here. As the vik0810 said, we can't add the conditional formatting directly, please try the solution he shared. And please feel free to ask if you have other issue.
Best Regards,
Angelia