Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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 ))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.