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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
alottawarmh
Frequent Visitor

Creating Matrix with Different Columns

Hello everyone,

I have an issue with creating a visual. My data is coming from an excel sheet to Power BI as you can see below. What I want is, I want to create a visualization which can be seen on 2nd image. I've tried to use both table and matrix visualizations but I couldn't manage to create the exact visual. Should I change my data table? Or is there a way to achieve this? Thank you!

Data:

alottawarmh_0-1625571019631.png

Visual I want to achieve:

alottawarmh_1-1625571301952.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@alottawarmh , Unpivot the four columns demand type, demand, and other in power query

https://radacad.com/pivot-and-unpivot-with-power-bi

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@alottawarmh , Unpivot the four columns demand type, demand, and other in power query

https://radacad.com/pivot-and-unpivot-with-power-bi

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak thanks for the article, after I pivoted demand type as the name, and demand as value, I achieved the final view by also using measures. Thank you!

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!