Forum Discussion
Character not showing up
- Anonymous2 years ago
Hi stribor45 ,
You can try this DAX:
Measure = IF([% measure a] > 0.01 , UNICHAR(9650) , UNICHAR(9660)) & FORMAT([% measure a],"0.0%")Connect the labels directly to the data so that changes to the data directly change the up and down labels and the data
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
this worked for me when I connected the labels to data directly but this brought forward another question.
I have 4 different measures (measures A, B, C and D) and they all have different values (see code below). Is there to shorten this code? It seems redundant and the only difference is the measure used.
Measure Show A = IF([% measure a] > 0.01 , UNICHAR(9650) , UNICHAR(9660)) & FORMAT([% measure a],"0.0%")
Measure Show B = IF([% measure b] > 0.01 , UNICHAR(9650) , UNICHAR(9660)) & FORMAT([% measure a],"0.0%")
Measure Show C = IF([% measure c] > 0.01 , UNICHAR(9650) , UNICHAR(9660)) & FORMAT([% measure a],"0.0%")
Measure Show D= IF([% measure d] > 0.01 , UNICHAR(9650) , UNICHAR(9660)) & FORMAT([% measure a],"0.0%")
Calculation Groups?
- stribor452 years agoPost Prodigy
I saw that but that requires downloading new software etc for only 4 measures.
- lbendlin2 years agoSuper User
Not any more! You can do that now natively in Power BI Desktop. Create calculation groups in Power BI (preview) - Power BI | Microsoft Learn