Forum Discussion
conditional formatting for table positive and negative numbers
- 5 years ago
Hi srk_powerbi
You can add a measure in the model to help set conditional formatting. For example,
Icon measure = SWITCH ( TRUE (), [Difference] > 0, 1, [Difference] = 0, 0, [Difference] < 0, -1 )[Difference] is the measure in the table which this icon formatting should be based on. Then set it up like below.
Result:
Kindly let me know if this helps.
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
that did not work..
- v-jingzhang5 years ago
Community Support
Hi srk_powerbi
You can add a measure in the model to help set conditional formatting. For example,
Icon measure = SWITCH ( TRUE (), [Difference] > 0, 1, [Difference] = 0, 0, [Difference] < 0, -1 )[Difference] is the measure in the table which this icon formatting should be based on. Then set it up like below.
Result:
Kindly let me know if this helps.
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.- Anonymous3 years agoNot applicable
Can you do this with percentages. The numbers did not work. Thanks!