Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
Need to count the number of double up visits. This is where the ClientID is the same, the StaffID is not the same, the date is the same & the Start & End Times are the same.
So in below there is 1 double up call. Need to show a count of 1.
Hi @android1,
You can use following measure to get count of rows of duplicate records.
Duplicate Count =
VAR summary =
SUMMARIZE (
ALLSELECTED ( Table ),
[ClientID],
[StartTime],
[End Time],
"Stuff Count", COUNT ( Table[Staff ID] )
)
RETURN
COUNTROWS ( FILTER ( summary, [Staff Count] > 1 ) )
Regards,
Xiaoxin Sheng
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 17 |