Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I would like to have some help with my issue. I would like to count simultaneous logins (logins that have happened almost simultaneously) to calculate actual logins. I have a table like below. I there any solutions with DAX or some other solutions?
Solved! Go to Solution.
Hi @Pelas68 ,
Please have a try.
1. Create a calculate column to achieve the month:
Month = MONTH ( Table[created_at] )
2. Create a slicer based on Logins/months column in anithort table.
3. Create a calculate column to achieve the login times per month per id using DAX below:
count = CALCULATE ( COUNT ( Table[id] ), ALLEXCEPT ( Table, Table[Month], Table[id] ) )
4. Create a measure to achieve the login count:
Users =
IF (
Table2[Logins/months] <> ">10",
CALCULATE (
DISTINCTCOUNT ( Table[id] ),
FILTER ( Table, Table[count] = SELECTEDVALUE ( Table2[Logins/month] ) )
),
CALCULATE ( DISTINCTCOUNT ( Table[id] ), FILTER ( Table, Table[count] >= 10 ) )
)
5. Drag measure 'Users' and the Logins/month column to the table visual.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Sorry I don´t understand that step two, should I create new table (because I don´t recognize that word anithort 🙃) and then create the slicer based colum to that table?
Best regards,
Petri
Hi @Pelas68 ,
Yes, you can create a new Table 2 with Logins/months column. Then put it in the silcer.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Pelas68 ,
Please have a try.
1. Create a calculate column to achieve the month:
Month = MONTH ( Table[created_at] )
2. Create a slicer based on Logins/months column in anithort table.
3. Create a calculate column to achieve the login times per month per id using DAX below:
count = CALCULATE ( COUNT ( Table[id] ), ALLEXCEPT ( Table, Table[Month], Table[id] ) )
4. Create a measure to achieve the login count:
Users =
IF (
Table2[Logins/months] <> ">10",
CALCULATE (
DISTINCTCOUNT ( Table[id] ),
FILTER ( Table, Table[count] = SELECTEDVALUE ( Table2[Logins/month] ) )
),
CALCULATE ( DISTINCTCOUNT ( Table[id] ), FILTER ( Table, Table[count] >= 10 ) )
)
5. Drag measure 'Users' and the Logins/month column to the table visual.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |