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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Marquian
Helper I
Helper I

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

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

 

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

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

 

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

 

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

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

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Kudoed Authors