Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Chart Pie chart negative values

Good, I'm trying to show the data from a table in a pie chart and in the table I have some results where the number is negative, and in the graph I'm just taking the positive values, the negative results don't show them.

Alberto99_0-1649758613931.png

I would like to show both positive and negative values on the chart.

Greetings, thank you.

1 ACCEPTED SOLUTION
AntonioM
Solution Sage
Solution Sage

If you have some negative values a pie chart might not be the best option.

 

You could use ABS() to get the absolute value, which a pie chart would plot, but then you'd need a way to show which are negative or not (SIGN() could help with that). Or, you could have two pie charts, one for the positive and one for the negatives?

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Syndicate_Admin ,

 

Agree with the comments given by @AntonioM . What is your specific business scenario and can you provide more detailed information, maybe I can give you the best reference.


Looking forward to your reply.


Best Regards,
Henry

 

AntonioM
Solution Sage
Solution Sage

If you have some negative values a pie chart might not be the best option.

 

You could use ABS() to get the absolute value, which a pie chart would plot, but then you'd need a way to show which are negative or not (SIGN() could help with that). Or, you could have two pie charts, one for the positive and one for the negatives?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.