Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a table that tracks Non-Active Users (anyone that hasn't logged in more than 3 times within a specific date range)
I have a measure that counts the number of times an employee logs in. (SF Login Count)
SF Login Count =
I want to create cards that counts the total number of users with 0 logins, 1 logins, 2 logins and 3 logins.
The formula I have for the 0 logins counter is:
Solved! Go to Solution.
Hi @thomaslee3 ,
Do you want visuals below?
If so, you can create a new calculated table like so:
Table = VAR t = SUMMARIZE ( 'Login History', 'Login History'[Name], "SF_Login_Count", [SF Login Count] ) RETURN SUMMARIZE ( t, [SF_Login_Count], "Counter", COUNTX ( FILTER ( t, [SF_Login_Count] = EARLIER ( [SF_Login_Count] ) ), [Name] ) )
This is my PBIX file.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @thomaslee3 ,
Do you want visuals below?
If so, you can create a new calculated table like so:
Table = VAR t = SUMMARIZE ( 'Login History', 'Login History'[Name], "SF_Login_Count", [SF Login Count] ) RETURN SUMMARIZE ( t, [SF_Login_Count], "Counter", COUNTX ( FILTER ( t, [SF_Login_Count] = EARLIER ( [SF_Login_Count] ) ), [Name] ) )
This is my PBIX file.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |