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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jen8080
Helper I
Helper I

Matrix Count and Bar Graph HELP

Hello!!

 First: I need some assistance creating a matrix with the data in the table below to show a count of how many migrations occur per project. I tried this in the matrix and turning on row subtotals but it isn't working since each migration has its own column. Is there a calculation for this?

 Second: I need to create a bar graph by month and year (x-axis) with a count of migrations (y-axis)

 Any help is appreciated! 

ProjectsMigration 1Migration 2Migration 3Migration 4Migration 5Migration 6Migration 7Migration 8
Project 116-Jun-166-Dec-168-May-178-May-17    
Project 227-Feb-1718-Jul-178-Nov-1730-Nov-1712-Apr-1821-May-1821-Dec-1815-Apr-19
Project 37-Jun-168-Mar-1724-Apr-1818-Oct-21    
Project 414-Sep-1624-Jul-17      
Project 53-Apr-1721-Jul-172-Feb-1814-Mar-188-Aug-1923-Aug-1927-Nov-1926-Jun-20

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @jen8080 ;

You could unpivot in power query, we select those column then unpivot.

vyalanwumsft_0-1667799375069.pngvyalanwumsft_1-1667799493570.png

Then create a  bar graph.

vyalanwumsft_2-1667799853295.png


Best Regards,
Community Support Team _ Yalan Wu
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

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @jen8080 ;

You could unpivot in power query, we select those column then unpivot.

vyalanwumsft_0-1667799375069.pngvyalanwumsft_1-1667799493570.png

Then create a  bar graph.

vyalanwumsft_2-1667799853295.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yalanwu-msft thank you so much worked perfect! 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.