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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
3 REPLIES 3
amitchandak
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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