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
Anonymous
Not applicable

Pivot or not?

Hi,

 

Im having a issue with transforming my table. I have made a small example of the current state(left table) and the state i want it to be eventually(right table). But i just cant figure out how to make it work

 

Can someone please help me out with this?

Gr,Bas

 

PivotTable..PNG

 

1 ACCEPTED SOLUTION

 

Try the Pivot and Unpivot options in the Query Editor to get data in the correct shape.

 

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

 

View solution in original post

4 REPLIES 4
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Could you please mark the proper answers as solutions?

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MFelix
Super User
Super User

Hi @Anonymous,

 

Use the matrix visualization to setup this look.

 

Place X on the rows, Y on the Columns and then X on values and select the summarization as count.

 

Regards.

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thanks for the reply, this does work!

 

However i need it to change in the data as well, so i can put some measures over it. I want to be able to filter some row's of the table.

 

 

Try the Pivot and Unpivot options in the Query Editor to get data in the correct shape.

 

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

 

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.