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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Matriz Power Query

Hello

My doubt is that I am bringing some data like these:

josefmc08_1-1653995651393.png

And in the power query editor I wanted to know if it is possible to transform them like this:

josefmc08_2-1653995779664.png

It is very easy to do it in a PivotTable but I need to bring it to the PowerBi tables in this format

Thank you!

Jose

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous ,

 

You can pivot the column in the Power Query Editor.

Here's the solution.

1.Select the MES column and then click 'Pivot Column'.

vstephenmsft_0-1654238086802.png

 

2.Set up as follows, then click OK.

vstephenmsft_1-1654238207678.png

 

 

3.Here's the results.

vstephenmsft_2-1654238236548.png

 

Your question was about Power Query and I moved the post to the Power Query forum for you. Next time if you encounter a problem in Power Query, posting in the correct forum can help you solve it faster.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Anonymous
Not applicable

Fantastic, it was exactly what I needed. Thank you!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

You can pivot the column in the Power Query Editor.

Here's the solution.

1.Select the MES column and then click 'Pivot Column'.

vstephenmsft_0-1654238086802.png

 

2.Set up as follows, then click OK.

vstephenmsft_1-1654238207678.png

 

 

3.Here's the results.

vstephenmsft_2-1654238236548.png

 

Your question was about Power Query and I moved the post to the Power Query forum for you. Next time if you encounter a problem in Power Query, posting in the correct forum can help you solve it faster.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Fantastic, it was exactly what I needed. Thank you!

amitchandak
Super User
Super User

@Syndicate_Admin , Looking at what you posted, not able to get logic. I would not advice data to be broken like that.

 

use Matrix visual

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

 

 

Or refer this way

Power bi Excel for P&L , add in app
Curbal
https://www.youtube.com/watch?v=IISYzTaIyu4
Guyinacube
https://www.youtube.com/watch?v=1yJnmZRTNZg

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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