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,
I have the below DAX formula but I cannot think of a way to include multiple values that the Minority Indicator Code can be.
Basically anything but blank can be accepted.
Any help is appreciated!
Solved! Go to Solution.
Hey @Anonymous ,
hope I got your issue right. Have you already tried to use the IN operator.
You can provide several values to your DAX.
Smthg like this:
CALCULATE(
DISTINCTCOUNT(Materials[Primary Vendor Number]),
Materials[Minority Indicator Code] IN {"MBE", "SB", "WBE", "WOS"}
)
Regards
Hey @Anonymous ,
hope I got your issue right. Have you already tried to use the IN operator.
You can provide several values to your DAX.
Smthg like this:
CALCULATE(
DISTINCTCOUNT(Materials[Primary Vendor Number]),
Materials[Minority Indicator Code] IN {"MBE", "SB", "WBE", "WOS"}
)
Regards
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 |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |