Forum Discussion
Count Help
- 3 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.
Ah! You provided an example of what you're trying to achieve.. Can you send an example of your current data? You mention there are a column of dates, you're just trying to count them in succession?
I'm not sure how to copy and paste data in here but it is exactly as the screenshot I provided. I have a list of dates and I want to count them as shown in the image - cummulativley for each successive occurence of the same date. But starting from 1 in the case of each new date.