Forum Discussion
New Users measure
- 3 years ago
Hi Anonymous ,
Sorry for late back. Yes, for multiple lines in different month it also works. If in the same month there're multiple lines and you want to count all the lines, change the formula to:
Measure = CALCULATE ( DISTINCTCOUNT ( Table_Visitors[Visitor ID] ), FILTER ( 'Table_Visitors', COUNTROWS ( FILTER ( 'Table_Visitors', 'Table_Visitors'[Month] = MAX ( 'calendar'[Month] ) ) ) > 0 && COUNTROWS ( FILTER ( 'Table_Visitors', 'Table_Visitors'[Month] = MAX ( 'calendar'[Month] ) - 1 ) ) = 0 ) )Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yanjiang-msft it is the same formula, I don't want to double count someone if they are having 2 logins for that month. How do I edit the formula? At the moment if someone is a new user in January for example but they have 2 logins it shows 2 instead of 1.
Hi Anonymous ,
Do you mean only count twice for user in there registrate month?
For ex, a user registrate at January, if he login twice in January, it counts twice. But if he login in twice in February, it only counts once?
Best Regards,
Community Support Team _ kalyj