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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

The question of data transpose

hi all

 

I have a problem with data editing, as shown in the first picture below, which is my basic data

old.png

 

I want to convert it to this picture

In the second image I turned the location column into a row and filled in the values for the next three fields

new.png

 

Can this be solved by M function? If so, thank you very much

 

Best Regards

alan-li

 

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hi @Anonymous ,

 

Based on your basic data, we can achieve your desired output using Matrix Table

2019_09_03_11_12_39_Settings.png

 

If I am not mistaken, M Query cannot have sub column like you wanted on the second column.

View solution in original post

8 REPLIES 8
mussaenda
Super User
Super User

Hi @Anonymous ,

 

Based on your basic data, we can achieve your desired output using Matrix Table

2019_09_03_11_12_39_Settings.png

 

If I am not mistaken, M Query cannot have sub column like you wanted on the second column.

Anonymous
Not applicable

hi @mussaenda 

 

Excuse me I solved the problem.

 

Best Regards

alan-li

Good to know you have solved the problem

Anonymous
Not applicable

hi @mussaenda 

 

I would like to know if I can export the data according to the template of my table

I haven't found the relevant information, please let me know if you know thinks

 

Best Regards

alan-li

Hi @Anonymous ,

 

You cannot.

There is a workaround but it needs time and effort.

If you really wanted to export the matrix style, save first the page in pdf then convert pdf to excel.

 

Anonymous
Not applicable

hi @mussaenda 

 

ok, thinks a lot

 

Best Regards

alan-li

Anonymous
Not applicable

hi @mussaenda 

 

Why is mine displayed like this

Is there something else I need to set up, I just found the drill data

aa.png

 

Best Regards

alan-li

Anonymous
Not applicable

hi @mussaenda 

 

That will do. Thank you very much

 

Best Regards

alan-li

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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