This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Guys.
I'm really Confused!!!
I have a table like this:
| ITEM_CODE | NEED | INVENTORY_QTY | MISS_0 |
| ITM_1 | 100 | 50 | 50 |
| ITM_2 | 200 | 10 | 190 |
| ITM_3 | 35 | 100 | -65 |
I want to create a measure that converts negative values to zero.
I need to sum of [MISS_0] column in a cart and it should show 240 not 175.
and I need to use measure and not calculate column because I have other filters that using of calculate column does'nt helpful.
Now my solution is using filter on this visual(Table) that filters Positive values but this way can't help me cause we cant filter measure with single value in a Cart.
I need a measure just sum positives or in the best way converts to zero.
Thanks.
Solved! Go to Solution.
Hi @mahsan_ojaghian ,
Try the following measure:
Only Positive = SUMX( FILTER(Table, Table[Miss_0] > 0), Table[Miss_0])
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @mahsan_ojaghian ,
Try the following measure:
Only Positive = SUMX( FILTER(Table, Table[Miss_0] > 0), Table[Miss_0])
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 33 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |