Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Is it possible to take the following, taken from the Advanced Editor in Power BI Desktop, and turn it into a function that I could then ivoke, as I use this line many times in my queries. (I thought I posted this yesterday but I don't see it anywhere.) Thank you, SE
I can't figure out to use a "=>" with this.
#"Expanded table.Data" = Table.ExpandTableColumn(#"Kept First Rows", "table.Data", {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8"}, {"table.Data.Column1", "table.Data.Column2", "table.Data.Column3", "table.Data.Column4", "table.Data.Column5", "table.Data.Column6", "table.Data.Column7", "table.Data.Column8"}),
Hi @se2
I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@se2 , refer if these can help
I am studying these. Thank you. SE
@se2 what you are trying to achieve?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I am importing an Excel file. I find myself using one of the power query steps, over and over, so would like to convert this to a function that I can invoke. The step is but I can't figure out how or where to use variables to convert the follow to a function that I can use add column and invoke custom with. Thank you SE
#"Expanded table.Data" = Table.ExpandTableColumn(#"Kept First Rows", "table.Data", {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8"}, {"table.Data.Column1", "table.Data.Column2", "table.Data.Column3", "table.Data.Column4", "table.Data.Column5", "table.Data.Column6", "table.Data.Column7", "table.Data.Column8"}),
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 35 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |