Forum Discussion
xichiza
5 years agoFrequent Visitor
HELP - Cumulative count for latest value (string)
Hi Everyone, I am struggling with a issue even if I feel like it is not that complicated. I need to get the cumulative count of latest grade for employees. January : If employee A gets Grade ...
- 5 years ago
Please try to create three similar measures.
Total A = CALCULATE(COUNTX(FILTER(ALLSELECTED('Table'),'Table'[Month]<=MAX('Table'[Month])&&'Table'[Grade]="A"),'Table'[Employee]))
amitchandak
Super User
5 years agoxichiza , Add index column to the table.
Add month and index column on row of matrix
Grade on column of matrix
and this measure on value
countx(allseleceted(Table), Table[Month]<=Table[Month] && Table[Grade] = Max(Table[Grade]) , Table[employee])
- xichiza5 years agoFrequent Visitor
Hi amitchandak , thanks for answering.
I have tried the formula but I am getting an error. Please see attached the pbix I used and formula error.
Also to clarify what I need at the end :
thanks for your help