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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
saylee
Frequent Visitor

To count total logins by a single user.

I have User Table, Sessions Table & one more table where there are user_id, session_id. 
I want to find out the total number of logins(sessions) a user has had. 

eg: a user has had 3 logins from same user_id so how can I count that? 

1 REPLY 1
ToddChitt
Super User
Super User

You don't. Power BI does that for you if you have proper relationships set up between the User and Sessions tables. Simple create a Table visual with User ID from User, and COUNT of Session ID from Sessions. 




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors