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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi New user here, attemting to learn by jumping in and doing.
I need to complete the formula to only select records greater than 0. (>0)
How do I finish the formula?
Thanks
Solved! Go to Solution.
If I understand you correctly, something like this should work.
Change the last column to suit your scenario.
Balance To Invoice =
CALCULATE(
SUMX (
'DNI',
('DNI'[QTY_SHIPPED] - 'DNI'[QTY_INVOICED]) * 'DNI'[SALE_UNIT_PRICE]
),
'DNI'[YourColumnToFilter] > 0
)
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If I understand you correctly, something like this should work.
Change the last column to suit your scenario.
Balance To Invoice =
CALCULATE(
SUMX (
'DNI',
('DNI'[QTY_SHIPPED] - 'DNI'[QTY_INVOICED]) * 'DNI'[SALE_UNIT_PRICE]
),
'DNI'[YourColumnToFilter] > 0
)
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |