Forum Discussion
DCELL
Resolver I
6 years agoAnother running total puzzle
PBIX: https://drive.google.com/file/d/1qQPbUKYFdpr1FMSLQ5Xf5lMfMszB_8yl/view?usp=sharing EXCEL: https://drive.google.com/file/d/1WdpHyK54pwY99za2YObX0fCc8tV_QYYB/view?usp=sharing Hi! I've looked...
- 6 years ago
Hi DCELL ,
Or What you want is this?
Measure = CALCULATE( SUM(Sheet2[amt]), FILTER( ALL(Sheet2), Sheet2[Country] = MAX(Sheet2[Country])&& Sheet2[Date] <= MAX(Sheet2[Date]) ) )Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lionel-msft
Community Support
6 years agoHi DCELL ,
Or What you want is this?
Measure =
CALCULATE(
SUM(Sheet2[amt]),
FILTER(
ALL(Sheet2),
Sheet2[Country] = MAX(Sheet2[Country])&&
Sheet2[Date] <= MAX(Sheet2[Date])
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DCELL
Resolver I
6 years agov-lionel-msft Your 2nd solution worked!! I had to remove the account column to get past the extra, double aggregation problem as you said