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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HMJSomerset
Helper II
Helper II

Identify users who haven't completed a form

Hi, 

I have a report that displays the reponses of a simple daily questionnaire that goes to all staff.  I have been asked to report the names of those staff who haven't completed the questionnaire.

 

I have the responses and I have the list of all staff, how do I count and identify those staff who haven't completed the form?  I am struggling to find the correct DAX expression to use

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@HMJSomerset , Create any measure on the table having form

 

cnt = countrows(Table)

 

Not filled = countx(values(Table[Emp]), if(isblank([cnt]) , 1, blank()) )

 

Use this measure with staff /emp name

 

View solution in original post

4 REPLIES 4
HMJSomerset
Helper II
Helper II

Thanks @amitchandak 

 

I don't think that I explained to problem correctly.  

 

HMJSomerset_0-1642081683287.png

I have a table with daily questionnaire responses that only contains those staff who have completed the questionnaire.

I have a table drawn from Active Directory that lists all staff.

I want to list all the staff in the AD Staff list that do not appear in the Questionnaire Responses table

 

How do I record that?  In the example above how do I show that Jeanette hasn't completed the questionnaire?

@HMJSomerset , Same stuff

 

cnt = countrows(filter('questionnaire responses', [Question] ="Yes"))

 

Not filled = countx(values('Staff list (AD)'[Staff ID]), if(isblank([cnt]) , 1, blank()) )

 

refer if needed

isblank is not just to check blank values, It can be used to flip the behavior of a measure, which comes handy to solve the problem like customer retention easily: https://www.youtube.com/watch?v=roGE2qrp-eA&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=54

amitchandak
Super User
Super User

@HMJSomerset , Create any measure on the table having form

 

cnt = countrows(Table)

 

Not filled = countx(values(Table[Emp]), if(isblank([cnt]) , 1, blank()) )

 

Use this measure with staff /emp name

 

Thank you @amitchandak .  I have tried this and it works.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.