Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Power BI – How to partition & aggregate data for a clustered column chart?

In my data model I have a table that looks a bit like this:

Customer Demographic Sales
A AA 10
B AA 15
C BB 20
D CC 30

I want to create a clustered column chart in my report that shows sum of sales for each demographic. So in the example above the chart would show 3 bars:

  • AA = 25
  • BB = 20
  • CC = 30

Does anyone know if it is possible to do this without having to create a measure summing up sales for each demographic please?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The reason I’d prefer to do it another way is that in the actual table there are 14 different values in the demographics column and 10 different KPIS in addition to sales, which each need their own chart. 140 measures is a lot to create!

>Solution :

This is a single measure. Is that what you want?

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading