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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PowerBIPilgrim
Helper II
Helper II

Pivot? Column to a Row

Hi All,

 

I have a fact table, that contains the following columns:

Month/Year
Count of A
Count of B
Count of C
...

Brand

 

Month/Year is a Date column, joined to my Calendar. Brand is an integer joined to my Brand dimenson and Count of A, B C etc. are all just integers

 

I have a product dimension, which isn't currently joined to the above Fact table (since it's the column names that match to the dimension table).

 

I'm trying to get a Matrix table, that looks like this:
Date
month/year 1 | month/year 2 | month/year 3 etc.
A 20 | 22 | 23 
B  100 | 90 | 101
C 30 | 40 | 35

 

I've got measures for summing the columns, but I'm not sure how to pivot? them into the Rows in the Matrix.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PowerBIPilgrim , Check if how on row property on the matrix can help you

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

 

Show on Row.png

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

3 REPLIES 3
amitchandak
Super User
Super User

@PowerBIPilgrim , Check if how on row property on the matrix can help you

https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/

 

Show on Row.png

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

I'm a very silly sausage - as that was the solution, yet when I tried it last night, it didn't work - I must have done something silly.

Do you want the 'Show on rows' switch under Values in the Format section?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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