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
lilama97
Regular Visitor

Need Help grouped clustered Bar Chart

How to create clustered Bar Chart like this in Power BI?

lilama97_1-1730183794751.png

I have one table only, and measures, so i can't create like category column in the legend.

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @lilama97 - as mentioned you have measure and not category. 

 

create a calculated column for categories using the measure as below:

Category =
SWITCH(
TRUE(),
[YourMeasure] > 1000, "High",
[YourMeasure] > 500, "Medium",
"Low"
)

 

select the visualization  Clustered Bar Chart icon to add the visual to your report.Drag the dimension you want to display on the y-axis (typically a category) into the Axis field of the visual.Drag your measures into the Values field. If you have multiple measures, you can add them here to create a clustered effect.

 

Hope this works in your scenerio.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @lilama97 

 

Thanks for the reply from rajendraongole1 and sbezawada .

 

After my testing, their replies are very effective. If their replies can help you solve your problem, please don't forget to accept their replies as solutions so that other users can find solutions faster! Thanks!

 

Sample:

vxuxinyimsft_1-1730254484203.png

 

 

Output:

vxuxinyimsft_0-1730254428043.png

 

vxuxinyimsft_2-1730254615011.png

 

If their methods don't work for your scenario, please provide some sample data so that we can better help you. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show it as a screenshot or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.

 

Best Regards,
Yulia Xu

Anonymous
Not applicable

Hi @lilama97 , If you are having two measure columns, then here is the way to create a clustered bar chart
Just drag your two measures columns  to y-axis by doing the aggregation like sum or avg like you need, after selecting the clustered Column chart and add you any one of the column to X- axis. then you will get your answer.

I hope this helps you

thanks

sbezawada_0-1730189704934.png

 

rajendraongole1
Super User
Super User

Hi @lilama97 - as mentioned you have measure and not category. 

 

create a calculated column for categories using the measure as below:

Category =
SWITCH(
TRUE(),
[YourMeasure] > 1000, "High",
[YourMeasure] > 500, "Medium",
"Low"
)

 

select the visualization  Clustered Bar Chart icon to add the visual to your report.Drag the dimension you want to display on the y-axis (typically a category) into the Axis field of the visual.Drag your measures into the Values field. If you have multiple measures, you can add them here to create a clustered effect.

 

Hope this works in your scenerio.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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