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
PB10
Frequent Visitor

Creating a cluster bar diagram to visualize comparison of "id" frequencies comparing for two month

Hi All, you all have been very helpfull, thank you!

Whats the best way to do the following:
I am trying to compare and visualize data of sep and oct, to showcase frequency of "id" 
for two months sep and oct
so i can have  sum of all different id in a bar diagram for both months

Table s1

idmonthpriority
asepp1
asepp1
bsepp2
bsepp2
ccoctp3
ccoctp3
ccsepp3
ccoctp3
aoctp1
bsepp2
ccsepp3
ccsepp3
doctp4


"Screen reader user"


2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @PB10 ,

 

In the cluster bar chart, you can put the counting of id under x-axis, the month under legend.

This way you can see the ID frequency grouped by month.

vstephenmsft_0-1729749509316.png

 

If you put the priority into the y-axis, you can also see the grouping by priority.

vstephenmsft_1-1729749634280.png

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Anonymous
Not applicable

Hi @PB10 ,

 

How do you calculate the frequency? Could you give an example based on the sample data above?

At the moment I guess the following results and don't know if it's what you want.

I put the month as y-axis, count of id as y-axis, id as legend.

vstephenmsft_0-1729834376236.png

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

6 REPLIES 6
PB10
Frequent Visitor

Thanks @Omid_Motamedise  puting id under legend helped, thanks for sugesting that.
then i sellected a stacked bar diagram to keep it in one

Anonymous
Not applicable

Hi @PB10 ,

 

In the cluster bar chart, you can put the counting of id under x-axis, the month under legend.

This way you can see the ID frequency grouped by month.

vstephenmsft_0-1729749509316.png

 

If you put the priority into the y-axis, you can also see the grouping by priority.

vstephenmsft_1-1729749634280.png

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi Stephen
Thanks for the sollution , but what i am trying to get a frequency of each id and compairing it for two months, Rather total count of ids for months

 

Anonymous
Not applicable

Hi @PB10 ,

 

How do you calculate the frequency? Could you give an example based on the sample data above?

At the moment I guess the following results and don't know if it's what you want.

I put the month as y-axis, count of id as y-axis, id as legend.

vstephenmsft_0-1729834376236.png

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PB10
Frequent Visitor

@Anonymous 
Thanks for the sollution , but what i am trying to get a frequency of each id and compairing it for two months, Rather total count of ids for months

 

Omid_Motamedise
Super User
Super User

is it your question table or the result table?

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

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