Recursion in DAX

后端 未结 2 1683
日久生厌
日久生厌 2020-12-03 08:19

I don\'t know if this is even possible, but I\'d like to be able to create a calculated column where each row is dependent on the rows above it.

A classic example of

2条回答
  •  悲哀的现实
    2020-12-03 08:42

    DAX language doesn't support recursion.

    It's also been written in a sqlbi's article about calculation groups

    DAX is not recursive, so Calculation Groups do not allow recursion. This is a good idea for controlling performance, but it requires a different approach compared to certain techniques that are possible in MDX Script by leveraging recursion.

    https://www.sqlbi.com/blog/marco/2019/03/01/calculation-groups-in-dax-first-impressions/

提交回复
热议问题