Forum Discussion
Sum First logins
- 8 years ago
Hi Chris,
Here you go:
First_logIn_Date = Calculate(
Min(Login Date),
AllExcept (PA, PA[User ID])
)New_Customer_count = Calculate( DistinctCount(PA[Customer ID],
Filter( PA,
PA[Login_Date] = PA[First_login_Date]))First_login_Date is a calculated column, and New_customer_count is a measure.
Thanks,
Yemeng
Thanks Yuliana. Does the first login need to be a specific format? It's not allowing me to add PA[First Login date] to the formula. When I try adding to a table, it only shows one date. It's only when I add userID to the tabel that i get the full list of first login dates.
Thanks,
Chris
Hi Anonymous,
PA[First Login date] has to be a calculated column rather than a measure.
Regards,
Yuliana Gu