Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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]
)
)
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |