Reply
Marquian
Helper I
Helper I
Partially syndicated - Outbound

Microsoft Exchange - improve loading speed

Hello,

 

I have been trying to load my email account dataset to PowerBi. After over an hour, it is still trying to load the data. I will admit this is a high-volume email account that is actively sending and receiving emails, while I am attempting to load the dataset. What can I do to increase the loading speed?

Loading emails.png

1 ACCEPTED SOLUTION

Syndicated - Outbound

Where do I load this? As a parameter?  @lbendlin 

 

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

Syndicated - Outbound

Cut down on the columns as much as possible.  What kills the performance are the lookup columns. Much like with the AD and SharePoint List connectors.

 

 

let
    Source = Exchange.Contents("user.name@domain.com"),
    Mail1 = Source{[Name="Mail"]}[Data],
    #"Removed Other Columns" = Table.SelectColumns(Mail1,{"Folder Path", "Subject", "Sender", "DateTimeSent", "DateTimeReceived", "Preview", "Id"}),
    #"Expanded Sender" = Table.ExpandRecordColumn(#"Removed Other Columns", "Sender", {"Name", "Address"}, {"Sender Name", "Sender Address"})
in
    #"Expanded Sender"

This code loads 35000 emails in about 5 minutes

 

Syndicated - Outbound

Where do I load this? As a parameter?  @lbendlin 

 

Syndicated - Outbound

This is Power Query code.  How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".

Marquian
Helper I
Helper I

Syndicated - Outbound

The goal is to identify peak times and days when we recieve inbound emails, who are the senders, why are they emailing. We hope to modify personnel and schedules based on the analysis. 

lbendlin
Super User
Super User

Syndicated - Outbound

What are you trying to achieve with the data once it is ingested?

avatar user

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)