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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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

sbezawada
Frequent Visitor

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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