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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ttinsley
Resolver I
Resolver I

Slow Aggregation Join in M Language

The problem,

I was joining a student table with trainings table.  Join on empoloyees ID, then expand trainings and look for the FIRST training date for each student.

 

It was SO SLow.  And though the trianing completion file is only 5 MB, it was showing >1 Gig "downloaded" from that training completion file.

 Huge load file.png

1 ACCEPTED SOLUTION
ttinsley
Resolver I
Resolver I

I created a new ETL table in M language that does not load into the model.  In that table, I used "Group By" to group to the MIN training date.  Then joined the tables based off this already grouped and summarized table (as opposed to joining the Raw Training Completion table and asking the Expand of that join to do the aggregation for me.)

 

SO MUCH FASTER

 

First Trained.png

View solution in original post

1 REPLY 1
ttinsley
Resolver I
Resolver I

I created a new ETL table in M language that does not load into the model.  In that table, I used "Group By" to group to the MIN training date.  Then joined the tables based off this already grouped and summarized table (as opposed to joining the Raw Training Completion table and asking the Expand of that join to do the aggregation for me.)

 

SO MUCH FASTER

 

First Trained.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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