Forum Discussion
kryer89
1 year agoNew Member
Cumulative count
Hi, i'm trying to plot a line chart with cumulative count of rows but it's not working. my data is like: ID StartDate ID1 02/10/2023 ID2 02/04/2024 ID3 null ID4 05/10/2...
- Anonymous1 year ago
Hi kryer89 ,
Please try code as below.
Measure = CALCULATE ( COUNTROWS( 'MASTER' ), FILTER ( ALLSELECTED( 'MASTER' ), 'MASTER'[StartDate] <= MAX ( 'MASTER'[StartDate] ) && MASTER[StartDate]<>BLANK() ) )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
1 year agoSuper User
Hi,
PBI file attached.
Hope this helps.