- 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

Distinct Count on "active" status rows where there's no similar rows with "completed"
Hi All
I have a table like this...
user | course | status |
U5676 | C2910 | active |
U5676 | C2910 | completed |
U5676 | C2938 | active |
U5676 | C2930 | active |
U5676 | C2985 | active |
U5676 | C2915 | active |
How can I create a measure to calculate a distinct count on users in "active" courses, excluding rows where a user also has a row where the course has been marked as "completed"? I'm tring to exclude both rows in the count but just can't figure it out.
Expected result would be a distinct count of 4...
user | course | status |
U5676 | C2938 | active |
U5676 | C2930 | active |
U5676 | C2985 | active |
U5676 | C2915 | active |
Many thanks
onedayover
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi
I did create the below measure and put it in the Filter for the particular visual :
Appreciate your Kudos and please mark it as a solution if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi
I did create the below measure and put it in the Filter for the particular visual :
Appreciate your Kudos and please mark it as a solution if it helps you

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
10-07-2024 10:50 AM | |||
09-30-2024 04:54 AM | |||
11-13-2024 05:18 PM | |||
08-09-2024 08:08 AM | |||
11-14-2024 12:19 PM |
User | Count |
---|---|
83 | |
80 | |
47 | |
37 | |
36 |