Forum Discussion
Tom_pbi
4 years agoRegular Visitor
Count Help
Hi all, I am having an issue getting the correct formula using COUNT. My scenario is that I have a column of dates and I want another column that counts the occurence of the same date cummulative...
- 4 years ago
Hi Tom_pbi ,
Please add the Index column in Power Query Editor.
Then create the column or measure.
Column = COUNTROWS(FILTER('Table','Table'[Date] = EARLIER('Table'[Date]) && 'Table'[Index] <= EARLIER('Table'[Index])))Measure = COUNTROWS(FILTER(ALLSELECTED('Table'),'Table'[Date] = MAX('Table'[Date]) && 'Table'[Index] <= MAX('Table'[Index])))If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tom_pbi
4 years agoRegular Visitor
Bumping this if anyone would be able to give some advice. Thanks!