Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

M Query Equivalent to DAX Calculated Columns

Good Morning all,   Ok my query is this, I have a General Ledger Table, where i need to Calculate the Monthy Revenue, for Each 'Territory' based on  a specific Reporting Segment, to Gauge the % of ...
  • BA_Pete's avatar
    4 years ago

    Hi Anonymous ,

     

    Power Query can do all of this if you push it hard enough, but the query would be disproportionally complicated and would take a week to refresh.

    Power Query/M is just not designed for what you are wanting it to do here, DAX is.

    Your original path appears to be the correct one from the limited info I have. The only comment I would make on what you have done so far would be to say that DAX calculated columns should only be used as a very last resort. They have to be materialised in-memory at runtime so can cause significant performance degradation.

    The calculated columns you described should be recreated as measures.

     

    Pete