Performance power query vs dax

stigcorneer

New Member
Joined
Nov 14, 2018
Messages
24
I have a couple of tables with about 100k - 800k rows each.

I need to do the following: (excel equivalent)
1. Joining tables (vlookup)
2. Aggregated table joins (sumifs)
3. Conditional calculations (if.. Then x+y else y*z)
4. Straight up calculations (x+y*z)

What parts should I do in Power query and what should I use dax for best performance?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Yes I know that I can use either tool. But what combination will give the best performance with large datasets?

My idea is to use Power Query to load the data and do all joins and aggregations. (Step 1 and 2)
Then I load the data into the Datamodel and use DAX for calculations.
 
Upvote 0
You should not build aggregations and joins in PQ, you should build a data model and do it in DAX. That is the right approach and the most performant.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,480
Messages
6,125,047
Members
449,206
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top