Forum Discussion
aavilap
Helper I
8 years agoCummulative Total of Measure
Hello! Hope someone can help me with this I have been trying to create a measure that adds the monthly result of another calculated measure which uses COUNTROWS but I'm not being able to get the de...
- 8 years ago
Create two measures:
Distinct Customers = DISTINCTCOUNT('Sample'[Customer]) Cummulative Customers =
SUMX(
FILTER(ALL('Sample'[Date]), 'Sample'[Date] <= MAX('Sample'[Date])),
[Distinct Customers]
)Drop date, and these two measures in a table and you have it.
aavilap
Helper I
8 years agoparry2k Sure, I've created a sample PBIX showing the issue, in the following link: PBIX & Data Sample
It's a one drive link, this will not show the numbers I had in the example because I was using my real data, would share it but it has a lot of measures and they are not named as in the example, I'm afraid it would be easy to get lost :s
Please let me know if you find a way ! thanks!!
parry2k
Super User
8 years agoIs this what you are looking for :
- parry2k8 years ago
Super User
Create two measures:
Distinct Customers = DISTINCTCOUNT('Sample'[Customer]) Cummulative Customers =
SUMX(
FILTER(ALL('Sample'[Date]), 'Sample'[Date] <= MAX('Sample'[Date])),
[Distinct Customers]
)Drop date, and these two measures in a table and you have it.
- aavilap8 years ago
Helper I
Thanks!