Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
imdavidlee
New Member

Count Users with Multiple Completion as 1

Hello,

I have a scenario like this - each user has to attend multiple different training to complete the curriculum. I have same user ID appeared multiple times for each training assigned to them, similarly to the completion Status. How can we distinct count the "Complete" Status as 1 for user who completed all training?

Here's the data:

imdavidlee_0-1722403382256.png

 

Here is the output count I want to achieve:

imdavidlee_1-1722403452968.png

 

 

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@imdavidlee , First Create a calculated column

User Status =
IF(
    CALCULATE(
        COUNTROWS('Table'),
        'Table'[Status] = "Incomplete",
        ALLEXCEPT('Table', 'Table'[User])
    ) > 0,
    "Incomplete",
    "Complete"
)
 
Then create a new summary table , by clicking new table in modelling
SummaryTable =
SUMMARIZE(
    'Table',
    'Table'[User],
    "Status", MAX('Table'[User Status])
)
 
Then create 2 measure for count
Count of Completion =
CALCULATE(
COUNTROWS(SummaryTable),
SummaryTable[Status] = "Complete"
)
 
Count of Incompletion =
CALCULATE(
COUNTROWS(SummaryTable),
SummaryTable[Status] = "Incomplete"
)
 
bhanu_gautam_0-1722409351363.png

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

1 REPLY 1
bhanu_gautam
Super User
Super User

@imdavidlee , First Create a calculated column

User Status =
IF(
    CALCULATE(
        COUNTROWS('Table'),
        'Table'[Status] = "Incomplete",
        ALLEXCEPT('Table', 'Table'[User])
    ) > 0,
    "Incomplete",
    "Complete"
)
 
Then create a new summary table , by clicking new table in modelling
SummaryTable =
SUMMARIZE(
    'Table',
    'Table'[User],
    "Status", MAX('Table'[User Status])
)
 
Then create 2 measure for count
Count of Completion =
CALCULATE(
COUNTROWS(SummaryTable),
SummaryTable[Status] = "Complete"
)
 
Count of Incompletion =
CALCULATE(
COUNTROWS(SummaryTable),
SummaryTable[Status] = "Incomplete"
)
 
bhanu_gautam_0-1722409351363.png

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.