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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
chrisgreen5
Frequent Visitor

Email attachments not combining

I am currently trying to combine files from email attachments. I have used this process previously but with these files it is not working.

 

Below are screenshots of the steps.

 

1. Exchange online inbox as the source & filtered to just show date & attachments:

chrisgreen5_0-1713257050878.png

2. expand attachments:

chrisgreen5_1-1713257103474.pngchrisgreen5_2-1713257137381.png

3. Attempt to combine:

chrisgreen5_3-1713257205120.png

4. Once table picked this is what I get:

chrisgreen5_4-1713257291113.png

Each excel attachment is named the same with the same columns every day. I have restricted the inbox to two emails for the screenshots but it does the same no matter how many files there are. Any idea what I am doing wrong here or a fix to get each days attachments to combine?

2 REPLIES 2
Anonymous
Not applicable

Have you tried deleting the Changed Type step? Or you can click on the white space around the error and see what the value is.

 

--Nate

Hi, thanks for the suggestions. I deleted the Changed Type Step but that didn't make any difference. I clicked the white space around the error & got the following: An error occurred in the ‘Transform File’ query. Expression.Error: The key didn't match any rows in the table.
Details:
Key=
Item=2024-04-15
Kind=Sheet
Table=[Table]

What's bizarre is that it always picks 2024 -04 -14 as the sample file but the data shown prior to the error is always from whatever happens to be the most recent file (in this instance from 2024 - 04 - 16) but there doesn't seem to be anyway of altering what it picks as the first or sample file.  

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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 Solution Authors