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
BobDylan
New Member

Sales Value - PowerBI COUNTS the sales value wit no option to SUM

Hi all,

 

I have a simple request which is - I want a pie chart to show the SUM TOTAL of the column "Sales Value". Instead what is happening is that, PowerBI is providing me a COUNT and I have no idea how to change this.

 

I got to step 3.4 of this guide, but can't find the "New Measure" button. I feel stuck.

 

Please help, thanks in advance.

BobDylan_2-1714548391331.png

 

BobDylan_0-1714548318439.png

 

 

 

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey @BobDylan ,

 

you have to change the data type of the column Sales Value to a numeric data type, after doing that you have to remove the column from the pie chart and add it again.

 

You can change the data type either by the column tools from inside your semantic model.

  1. Mark the column
  2. Change the data type

image.png

 

Or from inside Power Query (my recommendation):

image.png

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

PhilipTreacy
Super User
Super User

@BobDylan 

 

The column of data in Power Query isn't set to number.  Click on the ABC123 in the top left corner of the column and choose Decimal Number.

 

Note: Why use a pie chart for this?  You'd be better off using a Card visual.

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

@BobDylan 

 

The column of data in Power Query isn't set to number.  Click on the ABC123 in the top left corner of the column and choose Decimal Number.

 

Note: Why use a pie chart for this?  You'd be better off using a Card visual.

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks! Simple fix that hit the nail on the head!

 

I'm just playing with the visual at this moment time, certainly open to recommendations on how to better present my data.

Hey @BobDylan ,

 

my recommendation for using a pie chart, only use pie charts if it's necessary to identify the cumulative contribution of the single values to the whole.

If this is not the case use a bar chart (horizontal bars) and order the values top down.

I wrote a little artice about replacing pie charts at all: The (better) rectangular pie chart - Mincing Data - Gain Insight from Data (minceddata.info)

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Just had a quick look at your proposal and it certainly makes sense. I will play with some of these presentation options, thanks! I'm new to this and have a basic idea of what I want to achieve and there's certainly room for improvement.

TomMartens
Super User
Super User

Hey @BobDylan ,

 

you have to change the data type of the column Sales Value to a numeric data type, after doing that you have to remove the column from the pie chart and add it again.

 

You can change the data type either by the column tools from inside your semantic model.

  1. Mark the column
  2. Change the data type

image.png

 

Or from inside Power Query (my recommendation):

image.png

 

Hopefully, this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.