Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |