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
Anonymous
Not applicable

Custom Column using Power Query or DAX New column

Hi all,

 

I have a doubt about the next question. Which is better in terms of performance, Custom Column using PQuery or New Column using DAX?

 

Thanks to all for you answer. 

1 ACCEPTED SOLUTION

Yeah, I would say that in your case you should definitely consider moving that to Power Query. General rule is that the further upstream that you can push the calculations, the better the performance downstream.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

Well, overall, Power Query is only going to execute the calculation once per a query refreshing, so you will take a small performance hit during query refresh but after that you have a static value. With DAX, the calculation will essentially be done every time it is needed so you will have a performance hit each time.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Ok, thanks so much for your fast answer.

 

I have a model and i need to split some string values from various columns to use later like slicers. The fact table in the model have more than a million of rows and i'm thinking in transform my new DAX columns in Power Query columns to reduce the performance impact when the user use it.

Do you think i should do it?

 

Thanks again.

Yeah, I would say that in your case you should definitely consider moving that to Power Query. General rule is that the further upstream that you can push the calculations, the better the performance downstream.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Yes, I thinked the same.

 

If somebody need it, here you have a link that explain so well my first question:

 

 

http://radacad.com/m-or-dax-that-is-the-question

 

Thanks Greg_Deckler

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.