cancel
Showing results 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.

Helper II

## ALL EXCEPT Help

Hi There

The following column should return 'Yes' if all the 'Engaged Answer' rows state '1' for a particular 'Worker' however as you can see below this isn't the case:

I think the issue is highlighted by having a filter on which only shows 'Q#' 1-12 because if I select all 'Q#'s then it is correct that the 'Fully Engaged' column should show 'No'.

Please can someone help me?

Thank you

Chris

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@birdie29 Sorry for the late answer.

Alright. This DAX formula should give you the desired result.

Let me know if it works out for you.

14 REPLIES 14
Helper II

Hi @Anonymous

That's a really good suggestion however we also need to know if the 'Worker' is 'Fully Engaged' based on only #Q's 1-12 also, however if I use your solution the score in this case would not come to 22 but only 12 and therefore become 'No' under the 'Fully Engaged' column.

Is there another solution you can think of?

Thank you

Chris

Anonymous
Not applicable

@birdie29

Whoops I missed that part. Given your information this should work.

Fully engaged = IF(CALCULATE(SUM(Test1[Engaged answer]);VALUES(Test1[Worker]);Test1[Q#]<=12)=12;"Yes";"No")

Does this solve it?

Helper II

Hi @Anonymous

Sorry I'm not being very clear. The 'Fully Engaged' response needs to be dynamic ie the user may select just #Q 1, 5 and 7 in which case if the 'Engaged Answer' for just these questions is '1' then I would want the formula to state 'Yes' regardless of what the response is for all the other questions.

Does that make sense?

Thank you

Chris

Anonymous
Not applicable

@birdie29

It makes perfect sense. Sorry for not picking it up earlier. I spend some time to come up with this.

Fully Engaged =

Try it out and see if it has the right dynamic. If it solves your issue don't forget to give kudos and accept a solution.

Helper II

HiÂ @Anonymous

Thank you for spending so much time on this, I really appreciate it.

Unfortunately I'm getting an error message, please see below:

Anonymous
Not applicable

@birdie29

Don't worry about it. I love to help out.

Are you trying to create it as a column? Try creating it as a measure and see if it works out!

Helper II

Hi @Anonymous

Yes I was trying to work it as a column but now it's a measure it works!

What I now want to do with this measure is have a calculation that shows me the percentage of workers who are 'Fully Engaged' "Yes". ie if I select #Q 1-7 what percentage of the workers answered "Yes" to all of them?

I'm sorry for all the questions but in solving my question it's made me think more about what I want to do!

Thank you once again

Chris

Anonymous
Not applicable

@birdie29 Sorry for the late answer.

Alright. This DAX formula should give you the desired result.

Let me know if it works out for you.

Anonymous
Not applicable

@birdie29

Did you get it to work?

Helper II

Hi @Anonymous

Sorry for the late response, I did try it but I didn't get what I expected so I'm just working through it to understand it more first before coming back to you. Thanks for following up!

Employee

Hi @birdie29,

Have you managed to solve this issue? If yes, could you accept helpful replies as solution to close this thread?

If you still have any question on this issue, feel free to post here.

Regards

Hi @birdie29,

Please try using sum in place of min.

If it doesnt help please share a sample dataset, so we can help you better.

-Sumit

Helper II

Thanks for your suggestion however it did not work. Please find an example dataset below:

Thank you

Chris

Anonymous
Not applicable

I come with a solution. Please try below DAX formula:

Fully engaged =

Let me know how it goes.

Best,

Martin

EDIT: Picture below. Ignore the test table. Focus on Test1 table.

Announcements

#### 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

#### Power BI Monthly Update - April 2024

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

#### Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors