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,
Share some data, describe the question and show the expected result.
Hi Ashish, I've sent you a DM because some data may be sensitive. Could you kindly please check your inbox?
Just a small tweak needed.
Column = A || B || C isn't correct syntax for what you are wanting to do.
Instead, one way to write your Sold To Customer Group Name conditions is this (using the CA_vol example):
Customer[Sold To Customer Group Name] IN { "HOME DEPOT GROUP", "LOWE'S GROUP", "ADVANCE GROUP" }
You can also write it this way, but I would recommend the first option.
Customer[Sold To Customer Group Name] = "HOME DEPOT GROUP" || Customer[Sold To Customer Group Name] = "LOWE'S GROUP" || Customer[Sold To Customer Group Name] = "ADVANCE GROUP"
Also, for your final RETURN statement, I think you want this, which is the sum of the three variables defined earlier:
RETURN
CA_vol + all_vol + CT_vol
Regards,
Owen
Hi Owen,
Thank you for your reply. I tried both methods, but it doesnt seem to work and is still returning the same error.
For the RETURN part, if I sum them all up, like you did above, it shows one value for all customers (example: 1,7000,200)
Any other ideas?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |