This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
i'm trying to make a mesure that count the new users and one that count returen users
returen user is is a user that will appear in the records more then one time with a diffrent date
new will be a user with only one apprince in the records
i try this:
example of the data:
| date | userid | activityid |
| 1/6/2021 | 1 | 11 |
| 1/6/2021 | 1 | 22 |
| 1/6/2021 | 2 | 55 |
| 2/6/2021 | 1 | 66 |
it's not working.
it's not take the date in the calculation/ return user will be one that appear in the recorded more then once at a different date
@rco123456 , Try measure
M1 = countrows(FactActivity)
return user = countx(filter(values(FactActivity[UserId]), [M1] >1), [M1])
new user = countx(filter(values(FactActivity[UserId]), [M1] =1), [M1])
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |