Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
itsmebvk
Continued Contributor
Continued Contributor

Calculate Distinct Login Per Day

Hi Geeks,

 

how to create a measure to get count of login per each user within giver time period slicer.

 

For example: I have 100 users, I want to find out how many days user login into system in within given time period. I only want to count to user login only once a day even if they login multiple times in same day.

 

Please suggest.

 

Regards

BVK

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @itsmebvk ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1620799912885.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @itsmebvk ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1620799912885.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@amitchandak @v-lionel-msft  Thanks gor your inputs. I am able to fix my issues based on your inputs. Appreciate your help.

amitchandak
Super User
Super User

@itsmebvk ,

try like

sumx(values('Date'[Date]), calculate(distinctCOUNT(User[USer_ID])))

 

or

 

Averagex(values('Date'[Date]), calculate(distinctCOUNT(User[USer_ID])))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors