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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
e175429
Helper IV
Helper IV

How do I invert a matrix graph?

Hey Yall,

 

How do I invert this graph:

e175429_0-1703876530837.png

 

I want the Year to be the columns and everyting from "Events-Total Activites" to be the Rows?

Like this:

e175429_1-1703876625010.png

 

 

1 ACCEPTED SOLUTION
gmsamborn
Super User
Super User

Hi @e175429 

 

I started with a matrix with Year on rows and various calculations on columns.
Next with the matrix selected, go to the Format pane and open up Values.
At the bottom, you will see Options. Open that and select Switch values to rows.
Finally, you will have to move Year from Rows to Columns.

 

Invert a matrix.pbix



Proud to be a Super User!

daxformatter.com makes life EASIER!

View solution in original post

3 REPLIES 3
e175429
Helper IV
Helper IV

You are the absolute best! It was so simple and now I feel foolish that I couldn't figure that out. But thank you so much lol

I'm glad it helped.

Happy New Year



Proud to be a Super User!

daxformatter.com makes life EASIER!
gmsamborn
Super User
Super User

Hi @e175429 

 

I started with a matrix with Year on rows and various calculations on columns.
Next with the matrix selected, go to the Format pane and open up Values.
At the bottom, you will see Options. Open that and select Switch values to rows.
Finally, you will have to move Year from Rows to Columns.

 

Invert a matrix.pbix



Proud to be a Super User!

daxformatter.com makes life EASIER!

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.