Forum Discussion

tlotfi's avatar
tlotfi
Frequent Visitor
7 years ago
Solved

Power Query M or DAX

An operation that could be done both with PowerQuery M and with DAX
Is it better to do it with PowerQuery M or No difference?

  • I would say that if it can be done in PowerQuery, that's where you should do it so that you don't slow down PowerBI after the data is loaded.  For example, if you're creating another column, it's best to do that in PowerQuery as once it's done, it's done.  If you do a calculated column in DAX, then everytime you apply a filter, cross-filter, or whatever, the calculated column get re-calculated.

2 Replies

  • tjd's avatar
    tjd
    Impactful Individual

    I would say that if it can be done in PowerQuery, that's where you should do it so that you don't slow down PowerBI after the data is loaded.  For example, if you're creating another column, it's best to do that in PowerQuery as once it's done, it's done.  If you do a calculated column in DAX, then everytime you apply a filter, cross-filter, or whatever, the calculated column get re-calculated.