Forum Discussion
Noak
8 years agoHelper IV
Dynamic Counter
Hi Guys,
I would like to create a dynamic counter.
I have licence plate column & Date column.
I would like to count for each licence Plate how many times it apperas in my data set (by selected period) .
thank you!.
LP date
111 1.1.17
222 2.1.17
111 2.1.17
111 3.1.17
4 Replies
- Greg_DecklerCommunity Champion
Just do a COUNT on "date" column.
- NoakHelper IV
Hey Greg_Deckler I decided not to do that.
I prefer to count num for iteration for each Licence plate in my data set any ideas?
- Eric_ZhangMicrosoft Employee
Noak wrote:
Hey Greg_Deckler I decided not to do that.
I prefer to count num for iteration for each Licence plate in my data set any ideas?
A measure counting rows shall work, see the attached pbix file. If this is not your case, please post more sample data and expected output.
cnt = COUNTROWS(yourTable)