Forum Discussion
Count
I would like to count the number of Dates Each user ID appeared in a State. I would like to create a result that would show me that user 00672 was in Virginia 5 Days and in Ohio 5 days.
Thank you for your help!
Olga
Anonymous simply add the following measure and in table visual, put user name and state column and the measure:
Number of Days = COUNTROWS ( YourTable )✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
2 Replies
- parry2kSuper User
Anonymous simply add the following measure and in table visual, put user name and state column and the measure:
Number of Days = COUNTROWS ( YourTable )✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- AnonymousNot applicable
parry2k I don't know why I was making this so complicated in my head. Thank you!