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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Giacomo101
New Member

crosstab column display the value name first, and then the columns like a excel pivot

Hello,

I need help for this:

Pivot excel.png

The result above is that I want to get the title of the values first and then the year so I can compare the pieces between the two years.
In PowerBI how do I get the same thing, since there is no option to invert the values with the year as on pivots? PBI puts all the values and then year

My values are formulas in DAX, those in the print screen is just one example

PBI Crosstab.png

Any idea is appreciated. Thank you

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @Giacomo101 

 

Unfortunetly No, You cant change the format as per the excel.

 

But you can Unpivot this format like this

select product and year > Transform > Unpivot other column 

Uzi2019_0-1728385469560.png

 

 

so you will get the information like this format

Uzi2019_1-1728385494928.png

 

 

take your data in matrix

Uzi2019_2-1728385538591.png

 

 

you can disable the total or subtotal value. you will see the desired result.

 

I hope i answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

1 REPLY 1
Uzi2019
Super User
Super User

Hi @Giacomo101 

 

Unfortunetly No, You cant change the format as per the excel.

 

But you can Unpivot this format like this

select product and year > Transform > Unpivot other column 

Uzi2019_0-1728385469560.png

 

 

so you will get the information like this format

Uzi2019_1-1728385494928.png

 

 

take your data in matrix

Uzi2019_2-1728385538591.png

 

 

you can disable the total or subtotal value. you will see the desired result.

 

I hope i answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.