cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MEDSEN
Frequent Visitor

Sum Qty With Multiple Criteria in different columns

Hello Comunity, 

Anyone have a solution for this?

On the below Table, I want to sum column "Qty" by distinct "Case ID" for only the the rows that don't have "BOX ID"

 

BOX IDCASE IDQtyDate
D1 11/1/2023
D2C211/2/2023
D3C311/3/2023
D4C411/4/2023
 C511/5/2023
D6 11/6/2023
D7 11/7/2023
D8 11/8/2023
D9C911/9/2023
 C1011/10/2023
D11C1111/11/2023
D12C1211/12/2023
D13 11/13/2023
D14 11/14/2023
 C1511/15/2023
D16C1611/16/2023
D17C1711/17/2023
D18C1811/18/2023
D19C1911/19/2023
1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @MEDSEN ,

 

Please try:

Measure = CALCULATE(SUM('Table'[Qty]),FILTER('Table','Table'[BOX ID]=BLANK()))

Final output:

vjianbolimsft_0-1685337228196.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @MEDSEN ,

 

Please try:

Measure = CALCULATE(SUM('Table'[Qty]),FILTER('Table','Table'[BOX ID]=BLANK()))

Final output:

vjianbolimsft_0-1685337228196.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hello Jianbo Li, 

This is very helpful. Thank you so much for your input. 

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors