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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
hamzahad91
Helper I
Helper I

Show multiple chart bars of a same column in PBI Desktop

I would like to compare different values of a same column.

I added 2 times the same column

empile.PNG

 

In my visual I have only one value ( one type of bars ) .

Also, in filter I can't choose other values that I have in the first filter .

 

Any way to do it ? Should I absolutely make a mesures?

 

 

4 REPLIES 4
fhill
Resident Rockstar
Resident Rockstar

Can you post some fake sample data, and an idea of what you are trying to make it look like?

 

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




For exemple I have this table

ColA                    Col B

-------------------------------

  cat                |    2

  dog              |    5

  bird              |    8

  Justin bieber  |    2

 

I would have one and only one visual of multple bars of every category in ColA

 

For that I should add ColA four times but PBI Desktop consider only the first col added in Values field and show me one category.

Hi @hamzahad91,

I am still confusing your requirement. Based on my understanding, you create a clustered bar chart.Either add the ColA as Axis or Legend, you can compare the different values for each category in ColA. Or the sample table just part of your resource table? Could you please share more details for further analysis?

ColA as AxisColA as AxisColA as LegendColA as Legend
Thanks,
Angelia

Greg_Deckler
Community Champion
Community Champion

Not entirely sure what you are trying to do, but measures might get you there:

 

Measure1 = CALCULATE(COUNT(Table[Column]),FILTER(Table,[Column]="Value1"))

Measure1 = CALCULATE(COUNT(Table[Column]),FILTER(Table,[Column]="Value2"))

That being said, perhaps put the column in the axis or legend area?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors