Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
HI,
I have measure that shows wrong subtotal when placed in matrix visual. I have one Payment table with CaseID (not unique), Value, InvoiceDate. Other Invoice table has CaseID (not unique), Value, PaymentReceivedDate.
When I place measure in matrix with CaseID rows show correct measure results, but subtotals do not.
So
UpsaleAmount:= VAR InvoiceAmount= CALCULATE( SUM(InvoiceTable[InvoiceAmount], USERELATIONSHIP(InvoiceTable[InvoiceDate], Calendar[Date]) ) VAR PaymentReceivedAmount= CALCULATE( SUM(PaymentTable[PaymentReceivedAmount]), USERELATIONHIP(PaymentTable[PaymentReceivedDate], Calendar[Date]) ) RETURN IF(InvoiceAmount<PaymentReceivedAmount, PaymentReceivedAmount - InvoiceAmount, BLANK())
Solved! Go to Solution.
Thanks for effort, solution to problem is at this link Final Word On Measure Totals.
When I exported the matrix to .csv from your Power BI app, the column totals matched what you are showing in Power BI.
Is there any chance some of the cells in excel weren't being picked up?
Check columns named 13_TI_Total Payments Received and 12_Upsale_Total Payments Received. This is where error shows.
I have tried placing all transactions into one table and doing calculations over them, but I just do not have idea how to solve this.
Thanks for effort, solution to problem is at this link Final Word On Measure Totals.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!