Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
I have a table with the following data (in black below)
I am trying to add a calculated Column or Measure to create a new column "AnyoneCompletedInGroup" (in red below)
in That column ,it shows true, if anyone in a given group has "Completed" = True
Attendee | Group | Completed | AnyoneCompletedInGroup |
1 | G1 | True | True |
2 | G1 | False | True |
3 | G1 | True | True |
4 | G2 | False | False |
5 | G2 | False | False |
So in example above, it shows true for all G1 record since two people have completed it. but since no one in G2 completed it shows false.
What would be the DAX to generate that column (or measure)
Thank you for your help
Hi @JulienV,
I have considered the following data:
Now I created a measure to count number of TRUEs in completed column:
Now I create a second measure for the required output.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |