Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi all,
I have a sales table and one column is called "shipment quantity", some quantities are negative and I want to delte them, but the harder part is that I also want to delete the associated positive one.
For example, I surely want to delete line 3, but I also need to delete line 2. Line 2 and line 3 are exactly the same except for shipment quantity.
Thank you in advance,
Hi man,
How do you sum it up?
I have many rows, most of them are normal ones with shipment quantity a positive number.
How do you only sum up those 2 that are problematic.
@Anonymous
what happened in reality is that some shipments are shipped and bounced back. hope this helps,
HI @ht2567306
measure = Calculate(sum(table[col]), allexcept(table,table[column]))
And filter to exclude zero.
@Anonymous hey,
would you mind explaning a bit about
measure = Calculate(sum(table[col]), allexcept(table,table[column]))
I dont think this will do the trick.
Hi @ht2567306 ,
Create a calculated column:
Column = CALCULATE(SUM('Table'[shipment quantity]),ALLEXCEPT('Table','Table'[SO NO],'Table'[date]))
Then filter your data:
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |