Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi team,
I want to calculate the number of users that were active at date a and date b.
In this example the distinct number of users should be 2.
How can I calculate that with dax?
The following is my initial situation:
Date A -> 15.04.2020
| UserId | 
| A | 
| B | 
| C | 
Date B -> 08.04.2020
| UserId | 
| Z | 
| A | 
| B | 
| V | 
 
					
				
		
@power_roboter Can you provide a sample data set. Are you capturing dates in a different tables or the same table?
I have a column with UserIds (unique) that has a connection to a date table. So I can filter the userids for a specific day. Now I want to filter the userids for two days and calculate which users were active on both days.
Sample Table as image -> https://ibb.co/RvQRb0c
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 10 | |
| 9 |