Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Here is my Data
Date | Count | |
Dan at abc.xyz | 7/1/2020 | 18 |
Roxy at abc.xyz | 7/1/2020 | 20 |
Sam at abc.xyz | 7/1/2020 | 22 |
Dan at abc.xyz | 8/1/2020 | 30 |
Roxy at abc.xyz | 8/1/2020 | 40 |
Sam at abc.xyz | 8/1/2020 | 50 |
I am trying to calculate this in POWERBI
dan | 48 | 48 |
roxy | 60 | 108 |
sam | 72 | 180 |
I am able to get the counts to work easily by calculation for cumulative is not working
Calculate(sum([count]), filter(all(table),table[email]<=max(table[email])))
Solved! Go to Solution.
Hi @MEGHAMONTY ,
Please check:
cumulative count =
CALCULATE (
SUM ( 'Table'[Count] ),
FILTER ( ALL ( 'Table' ), 'Table'[Email] <= MAX ( 'Table'[Email] ) )
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MEGHAMONTY ,
Please check:
cumulative count =
CALCULATE (
SUM ( 'Table'[Count] ),
FILTER ( ALL ( 'Table' ), 'Table'[Email] <= MAX ( 'Table'[Email] ) )
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
_sumCount:= SUMX('Table 1','Table 1'[Count])
_cumulativeTotal:=
VAR _1 = MAX('Table 1'[Date])
VAR _2 = CALCULATE([_sumCount],ALL('Table 1'[Date]),'Table 1'[Date]<=_1)
RETURN _2
@MEGHAMONTYdid you try the above ?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |