Questions tagged «dax»

6
Power BI Desktop DAX重新启动运行总计列
我有一张桌子,每个人都有一年中每一天的记录。我使用此功能基于每日余额列实现了总计 CALCULATE( SUM(Leave[Daily Balance]), FILTER( ALLEXCEPT(Leave, Leave[Employee Id]), Leave[Date] <= EARLIER(Leave[Date]) )) 但是如果Type = Working并且Daily Balance的运行总数小于零并且上一行的Type不等于Working,那么我需要从1重新开始运行的总数。下面是Excel的屏幕截图。所需的功能列是我需要达到的。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.