Forum Discussion
Anonymous
4 years agoNot applicable
Create a Table with Custom Cumulative total
Hi, I have a RAW Table like this: RAW_Table Code Current_Phase AA1 Phase 1 AA2 Phase 3 AA3 Phase 2 AA4 Phase 5 BB1 Phase 6 BB2 Phase 6 CC1 Phase 4 CC2 Phase ...
- 4 years ago
Anonymous Another approach is also to create a table with all phrases for the current phrase, and join it.
Join on Current Phase (M-M relationship)
Then you can just just All Phases and row count from main table.
PaulDBrown
4 years agoCommunity Champion
See if this works for you:
Cumulative Phases =
CALCULATE (
COUNTROWS ( 'Raw Table' ),
FILTER (
ALL ( 'Raw Table' ),
'Raw Table'[Current_Phase] >= MAX ( 'Raw Table'[Current_Phase] )
)
)
- Anonymous4 years agoNot applicable
- PaulDBrown4 years agoCommunity Champion
What measure are you using? this is what I get:
- Anonymous4 years agoNot applicable
Hi Paul,
I solved the problem with DataZoe approach. I think my requirements weren't completely clear, so your solution wasn't satisfying my needs. But the DataZoe approach worked. Thanks!