Forum Discussion
ALL EXCEPT Help
- Anonymous9 years ago
birdie29 Sorry for the late answer.
Alright. This DAX formula should give you the desired result.
Percentage of engaged workers = IF(CALCULATE(COUNT(Test1[Engaged answer]);Test1[Engaged answer]=1)/CALCULATE(COUNT(Test1[Engaged answer]))=BLANK();0;CALCULATE(COUNT(Test1[Engaged answer]);Test1[Engaged answer]=1)/CALCULATE(COUNT(Test1[Engaged answer])))
Let me know if it works out for you.
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
- birdie299 years agoAdvocate II
Hi sumit4732
Thanks for your suggestion however it did not work. Please find an example dataset below:
Thank you
Chris
- Anonymous9 years agoNot applicable
Hi birdie29
I come with a solution. Please try below DAX formula:
Fully engaged =
IF(CALCULATE(SUM(Test1[Engaged answer]);FILTER(ALLEXCEPT(Test1;Test1[Worker]);CALCULATE(SUM(Test1[Engaged answer]);VALUES(Test1[Worker]))))=22;"Yes";"No")
Let me know how it goes.
Best,
Martin
EDIT: Picture below. Ignore the test table. Focus on Test1 table.