Forum Discussion

joemarselo's avatar
joemarselo
New Member
9 years ago
Solved

simple pie chart

Hi everyone,

I have a simple data, and want to make pie chart. But PowerBI fail to process it.

 

the table only Customer, Balance (amount), Sales (amount), and Profit (amount).

you see in 'Value' - it automatically calculates as 'Count'. I do not want to 'Count' it.

 

But in Excel Power View, it works perfectly.

 

How to correct it? What did I do wrong?

 

Thank you.

  • 1. Go to the table underlying the pie chart and click on the "Balance_LCY" column

    2. Click on "Modeling" at the ribbon above

    3. In the "Formatting", choose "Whole Number", "Decimal Number" or "Fixed Decimal"

    4. Then you will prompt a windows message saying changing data type will etc etc. Click on Yes.

    5. Then on the pie chart - Values. You can now select "Sum"

     

    The reason you only get Count is because your data type for that particular column is text. That's why Power Bi can't add the values.

     

    - Hao Zhong

2 Replies

  • 1. Go to the table underlying the pie chart and click on the "Balance_LCY" column

    2. Click on "Modeling" at the ribbon above

    3. In the "Formatting", choose "Whole Number", "Decimal Number" or "Fixed Decimal"

    4. Then you will prompt a windows message saying changing data type will etc etc. Click on Yes.

    5. Then on the pie chart - Values. You can now select "Sum"

     

    The reason you only get Count is because your data type for that particular column is text. That's why Power Bi can't add the values.

     

    - Hao Zhong