This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi all,
I am trying create a measure that will generate a specific word, “Meets”, when certain values are present. In Column “Grade”, there are four possible values: A, B, C and D. I would like the word “Meets” to generate when A and/or B are present, even if C or D are present as well. However, if only C and/or D are present, I would like a blank return.
For example, when I filter by column “Name” and A and C are present, I would like the word “Meets” to appear. If I continue to filter by Name and only C and D are present, I would like a blank value.
Thank you all for your help!!
Solved! Go to Solution.
Hi, if each row has only one grade value A, B, C, or D, try measure below and 'Show items with no data' for Names.
Measure=
IF (
CALCULATE ( COUNTROWS ( FILTER ( Table, Table[Grade] IN { "A", "B" } ) ) ) > 0,
"Meets"
)
Hi, if each row has only one grade value A, B, C, or D, try measure below and 'Show items with no data' for Names.
Measure=
IF (
CALCULATE ( COUNTROWS ( FILTER ( Table, Table[Grade] IN { "A", "B" } ) ) ) > 0,
"Meets"
)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 24 | |
| 21 | |
| 20 |