Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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"
)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |