Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi team,
I have a cumulative line of Users login by day. i would like to show the data label at the end of the cumulative line.
Is it possible and how can i do it.
Please help.
Hi,
Do you have issue about cumulative measure total?
If so, please try like this:
Cumulative =
VAR a =
ALLSELECTED ( 'Table' )
RETURN
SUMX (
DISTINCT ( 'Table'[Date] ),
CALCULATE (
CALCULATE (
SUM ( 'Table'[Count_of_Users_Login] ),
FILTER ( a, 'Table'[Date] <= MAX ( 'Table'[Date] ) )
)
)
)The result shows:
Hope this helps.
Best Regards,
Giotto
| User | Count |
|---|---|
| 53 | |
| 41 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |