Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Count if
11-30-2018
11:32 AM
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.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2018
12:20 AM
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
Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
12-27-2024 12:38 AM | |||
02-06-2025 02:46 AM | |||
10-24-2024 12:21 AM | |||
10-29-2024 01:47 AM | |||
01-13-2025 02:52 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
141 | |
112 | |
83 | |
63 | |
47 |