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
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
Super User
Super User

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?


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.