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

How is a function speed determined in both DAX and Power Query

Hello All,

 

Often when I am browsing various Power BI blogs/forums I will see posts that this or that function is a slow function as it scans every line. Filter is often brought up in discussions around DAX. 

My question is other than testing every function and personal experiance with different functions is there a better way to test if a function in either Power Query or DAX is a "fast" or a "slow" function? 

 

I am aware that with DAX queries tools such as the great DAX Studio can show this, but for Power Query I have no idea how this could be determined.

 

Thanks,

 

Tom

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

A lot of that comes with experience. For example, any function with an extra "X" on the end is generally a "slow" function as it is essentially doing a table scan. For example, MAXX, COUNTX, MINX, SUMX, etc.



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

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

A lot of that comes with experience. For example, any function with an extra "X" on the end is generally a "slow" function as it is essentially doing a table scan. For example, MAXX, COUNTX, MINX, SUMX, etc.



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

Thanks for your reply, is there anyway to see the underlying code for either DAX or power query functions or is this all closed?

Check out some of these DAX tools, they may help:

https://www.sqlbi.com/articles/tools-for-dax-and-tabular-developers/

 



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...

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.