Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I got stuck into these and probably need help.
So I have this table
Order ID | Status | Qty |
1 | Open | 1 |
1 | Open | 2 |
1 | Open | 2 |
1 | Open | 3 |
1 | Open | 2 |
1 | Closed | 3 |
1 | Closed | 5 |
1 | Closed | 4 |
2 | Open | 1 |
2 | Open | 2 |
2 | Open | 1 |
2 | Open | 1 |
2 | Closed | 1 |
2 | Invoiced | 1 |
The result im looking for is this
Order ID | Qty |
1 | 22 |
The logic here is if in the status there's a "Invoiced" it will ignore the order ID of it.
So in this case Order ID "2" has a "Invoiced" Status that means it ignores it in the result.
Order ID "1" doesnt have invoiced so it aggregate the qty. (sum)
Solved! Go to Solution.
Hope this helps:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |