Forum Discussion
azeemkhalipha
5 years agoRegular Visitor
DAX error
I have used DAX code to use UNICHAR for showing Loss in financial data, but I am getting the above error. Please help (Note- I am using financial data by Power BI desktop) ...
- 5 years ago
azeemkhalipha , As I suggested above, I created it as a measure and that seems to be working. Please find the file attached after signature.
PhilipTreacy
5 years agoSuper User
Download sample PBIX with this code and visual
As a Measure use this
Remark =
VAR _Red = UNICHAR(128308)
VAR _Green = UNICHAR(128994)
RETURN
IF(MAX('Financials'[Profit]) <= 0 , _Red, _Green)
Regards
Phil