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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How do I Expand Table Column

Hi folks!  I am trying to duplicate a query created by a former colleague.  The first line of code connects to a folder containing 23 excel files of idential layout/format.  I can easily duplicate this first line of code and the next three lines.  FWIW, the only column of data left after the third line of code is an expandable column, see below:

PowerBI 1.PNG 

 

I cannot figure out where the commands exist in Query Editor that produce line 5 of the code, see below.  Any help is much appreciated!

PowerBI 2.PNG 

3 REPLIES 3
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

Try to click on the icon in the top right and then click ok:

 

tomfox_1-1650396353577.png

 

Let me know if this helps 🙂

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Anonymous
Not applicable

Hello @tackytechtom  and thanks for the prompt reply.  I perfromed the expansion as you suggested but received a completely different looking DAX code for the expansion than what my former colleague produced.  My code:PowerBI 5.PNG

 

Former colleagues code:PowerBI 4.PNG

 

I noticed that my fomer colleagues code refers to Sample File (5) which resides in a helper query.  My code does not refer to a helper query.  Is this a clue?

Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

You can't easily duplicate the code when combining files from the folder. You will need experience before doing this. What I will suggest that you watch this video and then do merging on your own. Whatever code is generated, change the code as per your friend's. 

This will introduce you to the concept of Transform file as well.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.