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!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.
I am trying to sum all product names including "test" and "combo". Below formula only works with "test". I need a way to add more criteria.
= CALCULATE(SUM(Salg[Net Invoiced Quantity in Base UOM]),
SEARCH("test", Salg[Product Name],,0))
Product Name | Net Invoiced Quantity in Base UOM |
aaaa test | 5 |
bbbbb | 10 |
bu test bhsy | 20 |
combo | 25 |
Solved! Go to Solution.
@Anonymous , Try like
CALCULATE(SUM(Salg[Net Invoiced Quantity in Base UOM]),filter(Salg,SEARCH("test", Salg[Product Name],,0) >0 || SEARCH("combo", Salg[Product Name],,0) >0 ))
@Anonymous , Try like
CALCULATE(SUM(Salg[Net Invoiced Quantity in Base UOM]),filter(Salg,SEARCH("test", Salg[Product Name],,0) >0 || SEARCH("combo", Salg[Product Name],,0) >0 ))
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.