The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Experts
i have one question as below table data. the total calcuation is not expected result.
i want to calculate impact field which unit price variance multiply the actual volume, and the expected total calculation is sum all the category's impact field. however, the power bi is applied the total unit price variance multiply total actual volume. is there any way to approach the expected total result? Thanks.
Solved! Go to Solution.
@Anonymous , You need to force row context to get the correct total, Assuming both [Unit Price Variance], and [Volume] are measures. or clear those
Sumx(Values(Table[Category]), [Unit Price Variance] *[Volume] )
@Anonymous , You need to force row context to get the correct total, Assuming both [Unit Price Variance], and [Volume] are measures. or clear those
Sumx(Values(Table[Category]), [Unit Price Variance] *[Volume] )
Thanks
but i have one issue here, actually there are 2 dimensions channel and category.
for the channel sub total it is working, but the grand total is not working.
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |