Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I'm trying to calculate the total value of a production lot. The equivalent from excel would be SUMPRODUCT. For example, the result should be 107,8 for all rows in LOT 222. However, it appears my calculation is still filtering on row level even though I included "ALL" to the calculated column. What am i doing wrong here?
Solved! Go to Solution.
Try removing all the filters except the one on [Production Lot ID]
Lot Production Cost =
CALCULATE (
SUMX (
'In-House Production Costs v2',
'In-House Production Costs v2'[Material Billable Quantity per Lot] * 'In-House Production Costs v2'[Billable Value Base]
),
ALLEXCEPT (
'In-House Production Costs v2',
'In-House Production Costs v2'[Production Lot ID]
)
)
Try removing all the filters except the one on [Production Lot ID]
Lot Production Cost =
CALCULATE (
SUMX (
'In-House Production Costs v2',
'In-House Production Costs v2'[Material Billable Quantity per Lot] * 'In-House Production Costs v2'[Billable Value Base]
),
ALLEXCEPT (
'In-House Production Costs v2',
'In-House Production Costs v2'[Production Lot ID]
)
)
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 |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |