cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Solution Sage
Solution Sage

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. 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors