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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Priya2007
Frequent Visitor

unzip files from email

Hi ,

I am trying to unzip files from an email.

In zip folder I have two files one is csv and other is xlsx.

I am getting below error:

Priya2007_0-1634800345683.png

If anyone can help would be great.

 

 

Regards,

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Priya2007 

 

You can create a custom function with M code from this blog  Reading Zip files in PowerQuery / M, then add a column to your current table by invoking this function (Add column tab > Invoke Custom Function). You will have a table content in the new column. After expanding the table, you will see all files in this zip folder and you can access either one you want. 

21102602.jpg

 

Here is a video tutorial for it: Get data from zip files without extracting them in Power Query - YouTube

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Priya2007 

 

Have you solved this problem? If so, kindly accept an appropriate reply as Solution or post your own solution to help other people find the solution quickly. If not, please provide more information about it. Thanks.

 

Best Regards,
Community Support Team _ Jing

v-jingzhang
Community Support
Community Support

Hi @Priya2007 

 

You can create a custom function with M code from this blog  Reading Zip files in PowerQuery / M, then add a column to your current table by invoking this function (Add column tab > Invoke Custom Function). You will have a table content in the new column. After expanding the table, you will see all files in this zip folder and you can access either one you want. 

21102602.jpg

 

Here is a video tutorial for it: Get data from zip files without extracting them in Power Query - YouTube

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Ehren
Microsoft Employee
Microsoft Employee

Try adding a custom column that does the unzipping, and then performing combine on that new column.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors