Forum Discussion
Anonymous
6 years agoNot applicable
Cumulative line chart with multiple lines
Currently i have the following graph. It shows the count of registrations (attendeeids) on a specific datediff (the difference in dates between the registration date of the attendee and the start of ...
- 6 years ago
Hi Anonymous ,
I'm assuming you are placing the datediff column on you x-axis you need to create the following measure:
CUMULATIVE COUNT = CALCULATE ( COUNT ( 'Table'[Atendee] ); FILTER ( ALLSELECTED ( 'Table'[DateDiff] ); 'Table'[Datediff] <= MAX ( 'Table'[Datediff] ) ) )This should give expected result.
MFelix
Super User
6 years agoHi Anonymous ,
I'm assuming you are placing the datediff column on you x-axis you need to create the following measure:
CUMULATIVE COUNT =
CALCULATE (
COUNT ( 'Table'[Atendee] );
FILTER (
ALLSELECTED ( 'Table'[DateDiff] );
'Table'[Datediff] <= MAX ( 'Table'[Datediff] )
)
)
This should give expected result.