- 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 meetings per person if person is present in any of multiple columns
Hi,
I can't seem to wrap my head around how to calculate this using DAX. I hope one of you clever people would be able to help me.
I have a table of sales reps:
SalesRepName | MeetingOwner
I have a table of meetings:
MeetingID | MeetingOwner | Date
and a second table of meetings:
MeetingID | MeetingAttendeeCol1 | MeetingAttendeeCol2 | Date
I need a graph displaying how many meetings a given sales rep has attended either as an owner or as an attendee. All meetings have at least one person linked (the owner), but may have multiple that need to be counted, e.g. if a given meeting has both an owner and two attendees.
-----
One idea I've had is to unpivot the meetings table on the sales rep value leading to, instead of having one row pr unique meeting, instead having one row per unique meeting-sales rep and then counting sales reps from that table. But I was hoping for a prettier solution with less redundant data.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-04-2024 01:43 AM | |||
03-19-2024 12:25 PM | |||
08-28-2024 05:31 PM | |||
10-18-2024 06:30 AM | |||
Anonymous
| 01-23-2024 05:50 AM |
User | Count |
---|---|
33 | |
18 | |
14 | |
11 | |
10 |