Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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])
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.