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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
MT123456
Frequent Visitor

Unpivot & DAX

Hello, 

 

I have a table that, simplified, looks like the below one: 

MT123456_0-1699895234459.png

and I need to create a table/matrix that looks like the below: 

MT123456_1-1699895278126.png

Is there a way to do it only using measures in DAX, without unpivoting the columns or creating new calculated columns? 

Thank you! 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

I don't think this is possible with only measures and no additional model objects.

Generally, you need a dimension to put on the matrix/table rows. This is possible without modifying the existing table but you'll need to create a new table with a column containing values "A", "B", "C" or create other model objects like field parameters or calculation groups.

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

I don't think this is possible with only measures and no additional model objects.

Generally, you need a dimension to put on the matrix/table rows. This is possible without modifying the existing table but you'll need to create a new table with a column containing values "A", "B", "C" or create other model objects like field parameters or calculation groups.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.