cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
itsmebvamsi
Resolver III
Resolver III

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 @itsmebvamsi ,

 

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 @itsmebvamsi ,

 

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

@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 IV
Super User IV

@itsmebvamsi ,

try like

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

 

or

 

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors