This is a phenomenal video if you have multiple tables that need to be transformed in the same way. It’s essentially like creating a custom function but embedding it in the query with the trick at the end using the switcheroo between the Name and Data columns to get the code applied to the nested tables. Bravo!
Excellent Tip. Previously I used a converted function from the single table transformation step. Mark idea is mind blowing and thank you for sharing your creative approach 👍.
Dear Mark, amazing video as usual, with crystal clear explanation, you made it sound so easy..., thank you for your time and for sharing the knowledge.
Do you have some ideas how to dynamically transform each line from table to sheets using power query? (table is small 15-25 rows, but I get it repetitively)
Great video! Thank you for sharing this. Is it possible to add a column (let's say containing TRUE or FALSE) to a nested table and then apply a filter to that column, all before the expanding step?
I've been trying to get this to work, but am running into a problem. When I set up the individual table transformation in the duplicate query it works perfectly for that table and for any others I try. But once I embed the code in my main query, the tables throw an error (we cannot convert the value #date(2024,4,1) to type List. Details show that Type=[Type]). Any idea what could be causing this? It's baffling given that it works perfectly without errors when not embedded!
This tutorial helped me a lot. But I have a situation in which i have files having different number of columns. I have YEARs as column names. So let say 1 file has 4 years columns and 2nd file has 7 years columns. Your solution gives me result picking 4 columns for each file. it should pick 4 columns from 1st file and 7 columns from 2nd file making total columns 11 in merged file. currently its giving me 8 columns. Can you plz help me solving this scenario!!?? Thanks.
Your data is not in a normalized format, so you're not using Power Query the right way. Years should be column and the values for each Year should be a column. Use the Unpivot action on each nested table to normalize the data become you combine them.
@@ExcelOffTheGrid Hi, thanks for response. My issue resolved. I was making table from binary using = Table.AddColumn(#"Filtered Rows5", "Transform File (12)", each #"Transform File (12)"([Content])) which is somehow neglecting few columns. After I tried using Transform File (6), all the columns are now started appearing. however, I don not know the difference between 6 and 12 and what does Transform File do. And you solution in the video really helped me a lot to achieve my task. Great work.
This is a phenomenal video if you have multiple tables that need to be transformed in the same way. It’s essentially like creating a custom function but embedding it in the query with the trick at the end using the switcheroo between the Name and Data columns to get the code applied to the nested tables. Bravo!
Exactly! It's like creating a parameter free custom function, but inserting all the code into the main query rather than in a separate query.
Wonderful technique. Thanks Mark.
Thanks Ziggle. I hope you can put it to good use. 😁
Great Job!
Ingenious! Many thanks, Mark.
Thanks Ian 👍
Excellent Tip. Previously I used a converted function from the single table transformation step. Mark idea is mind blowing and thank you for sharing your creative approach 👍.
Thanks Kebin. I though you might like it 😀
As powerful as ever. Absolute mastery of Power Query.
Thank you Mark, for so much important information that you offer with these tutorials.
Thanks Ivan - I hope you can put it to good use. 👍
Used this in one of the first record lookup in the nested table, that too in PDF file.... Loved the trick
Dear Mark, amazing video as usual, with crystal clear explanation, you made it sound so easy..., thank you for your time and for sharing the knowledge.
You are very welcome
Very useful and practical video
Thanks - I hope you can put it to good use.
Amazing! This really solves my problem on the project that I'm currently working.
Yay!! Great news 👍
Excellent video!
Brilliant and clearly explained... thanks a lot!
Thanks, I’m glad it was helpful 😀
Love your videos , it makes life so simple...Thanks Marks
Thank You. I’m glad you like them.
Very helpful video. Thanks for sharing
Unbelievable Trick! Thank you! You are phenomenal
I hope you can put it to good use.
Great job!!!!!! Great explanation!!!!
Thank You 😁
This is definitely a keep for future reference video.
Thanks - I think it's a really simple way to solve a complex problem 😁
Wonderful technique, thank you!..
Do you have some ideas how to dynamically transform each line from table to sheets using power query? (table is small 15-25 rows, but I get it repetitively)
If I understand correctly, you want PQ to send the results to multiple sheets. Unfortunately it doesn't do this.
@@ExcelOffTheGrid yes, I want to send results into sheets
@@ExcelOffTheGrid so only macro?
Great video! Thank you for sharing this. Is it possible to add a column (let's say containing TRUE or FALSE) to a nested table and then apply a filter to that column, all before the expanding step?
Yes, that should work.
I've been trying to get this to work, but am running into a problem. When I set up the individual table transformation in the duplicate query it works perfectly for that table and for any others I try. But once I embed the code in my main query, the tables throw an error (we cannot convert the value #date(2024,4,1) to type List. Details show that Type=[Type]). Any idea what could be causing this? It's baffling given that it works perfectly without errors when not embedded!
Simple à dire vers useful
Super Awesome!!
Thank you. 😁
thanks!
Great 💯👍
You’re welcome.
Amazing, 🎉
That’s a cool trick
Hopefully you can use it to simplify some complex queries in then future.
Awesome
This tutorial helped me a lot. But I have a situation in which i have files having different number of columns. I have YEARs as column names. So let say 1 file has 4 years columns and 2nd file has 7 years columns.
Your solution gives me result picking 4 columns for each file. it should pick 4 columns from 1st file and 7 columns from 2nd file making total columns 11 in merged file. currently its giving me 8 columns. Can you plz help me solving this scenario!!?? Thanks.
Your data is not in a normalized format, so you're not using Power Query the right way. Years should be column and the values for each Year should be a column. Use the Unpivot action on each nested table to normalize the data become you combine them.
@@ExcelOffTheGrid Hi, thanks for response. My issue resolved. I was making table from binary using = Table.AddColumn(#"Filtered Rows5", "Transform File (12)", each #"Transform File (12)"([Content])) which is somehow neglecting few columns. After I tried using Transform File (6), all the columns are now started appearing. however, I don not know the difference between 6 and 12 and what does Transform File do.
And you solution in the video really helped me a lot to achieve my task. Great work.
Brilliant