Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
We use a live connection for PBI reporting. I'm trying to divide a sales measure by the 'units per case' field in related dimension table. The formula below works BUT when a item doesnt have a value or contains a zero for the unit per case amount the record returns with 'Infinity' and 'NaN'.
Estimated Cases = SUMX('ActualSales', 'ActualSales'[SalesNetQty] / RELATED('ProductDetail'[UnitsPerCase]))
Any help would be appreciated.. thanks
Solved! Go to Solution.
User | Count |
---|---|
57 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
85 | |
54 | |
39 | |
21 | |
18 |