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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everybody,
I have an order base and in this a “Product ID” can occur in the 3 situations "In", "Out" or "Both" in a machine.
I wanted to create a variable according to the “Criteria Used” table to show in each “Product ID” which class "In", "Out" or "Both" it fits.
Doing it through the Visual Matrix, I can see the manual by different entries, where the entire column refers to the criterion “B” because there has already been an order in condition “I” and “O”.
can anybody help me?
Thank you very much.
Solved! Go to Solution.
Hi @vierarc1234
please try
ID Result =
IF (
HASONEVALUE ( 'Table'[Type] ),
IF ( VALUES ( 'Table'[Type] ) = "In Machine", "In", "Out" ),
"Both"
)
Hi @vierarc1234
please try
ID Result =
IF (
HASONEVALUE ( 'Table'[Type] ),
IF ( VALUES ( 'Table'[Type] ) = "In Machine", "In", "Out" ),
"Both"
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |