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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ramakrishnavvss
Frequent Visitor

'Count of' is automatically considered while dragging sales column to Y axis of Bar chart

When i drag a Sales column to Y axis of bar chart, it is automatically showing as 'Count of Sales'. I wanted to see only Sales.

 

In Data, i have set Summarization=Don't summarise for Sales column. But i still see this issue. Is there a place where i can set X, Y axis also to Don't summarize? or How can i overcome this?

 

ramakrishnavvss_1-1657956522595.png

 

ramakrishnavvss_0-1657956505280.png

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @ramakrishnavvss ,

 

Agree with @indkitty . Because the sales field is in text type, and your visual is a bar chart, you can not display a value like "$ 1159200" with the text type. You have to insert the number type field to the x-axis to display.

Please go to the Power Query Editor, select the column and then click the 'Detect Data Type'. 

vstephenmsft_0-1658200238111.png

vstephenmsft_1-1658200260755.png

Click 'Close&Apply', now the sales field is what you want.

vstephenmsft_3-1658200399711.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @ramakrishnavvss ,

 

Agree with @indkitty . Because the sales field is in text type, and your visual is a bar chart, you can not display a value like "$ 1159200" with the text type. You have to insert the number type field to the x-axis to display.

Please go to the Power Query Editor, select the column and then click the 'Detect Data Type'. 

vstephenmsft_0-1658200238111.png

vstephenmsft_1-1658200260755.png

Click 'Close&Apply', now the sales field is what you want.

vstephenmsft_3-1658200399711.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

indkitty
Helper II
Helper II

Hi ramakrishnavvss,

 

Noticed your sales column is text format, could you change the format to currency format?

Let me know how it goes.

PaulDBrown
Community Champion
Community Champion

Create a measure  for sales using:

Sum Sales = SUM(Table[Sales])

and drag the measure into the Y-Axis





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.