Forum Discussion
xiumi_hou
6 years agoPost Partisan
Need help to build function - Paypal donut chart
Dear all, I have below chart to indicate the percentage of increase/decrease. I want the chart to show green when the percentage is negative and red if the percentage is positive. And t...
xiumi_hou
6 years agoPost Partisan
UP
- v-joesh-msft6 years agoSolution Sage
Hi xiumi_hou ,
Based on my research, using circle-KPI-gauge may not achieve the results you want. I tried another method, approaching the results you want and hoped to help:
1. Create a new measure and select the gauge chart:
Measure 2 = VAR temp = CALCULATE ( SUM ( 'Table'[amount] ), ALLEXCEPT ( 'Table', 'Table'[name] ) ) RETURN IF ( temp < 0, ABS ( temp ), temp )2. Select Format-Data colors-Conditional formatting
3. Setting conditions
Results are as follows:
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.