- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ID | CASE ID | Qty | Date |
D1 | 1 | 1/1/2023 | |
D2 | C2 | 1 | 1/2/2023 |
D3 | C3 | 1 | 1/3/2023 |
D4 | C4 | 1 | 1/4/2023 |
C5 | 1 | 1/5/2023 | |
D6 | 1 | 1/6/2023 | |
D7 | 1 | 1/7/2023 | |
D8 | 1 | 1/8/2023 | |
D9 | C9 | 1 | 1/9/2023 |
C10 | 1 | 1/10/2023 | |
D11 | C11 | 1 | 1/11/2023 |
D12 | C12 | 1 | 1/12/2023 |
D13 | 1 | 1/13/2023 | |
D14 | 1 | 1/14/2023 | |
C15 | 1 | 1/15/2023 | |
D16 | C16 | 1 | 1/16/2023 |
D17 | C17 | 1 | 1/17/2023 |
D18 | C18 | 1 | 1/18/2023 |
D19 | C19 | 1 | 1/19/2023 |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MEDSEN ,
Please try:
Measure = CALCULATE(SUM('Table'[Qty]),FILTER('Table','Table'[BOX ID]=BLANK()))
Final output:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MEDSEN ,
Please try:
Measure = CALCULATE(SUM('Table'[Qty]),FILTER('Table','Table'[BOX ID]=BLANK()))
Final output:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jianbo Li,
This is very helpful. Thank you so much for your input.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
04-17-2024 02:01 PM | |||
11-18-2024 06:18 PM | |||
05-28-2024 02:54 PM | |||
06-09-2024 11:39 AM | |||
08-05-2024 11:21 AM |
User | Count |
---|---|
22 | |
12 | |
10 | |
9 | |
8 |
User | Count |
---|---|
15 | |
15 | |
15 | |
12 | |
10 |