Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
My husband fixed it using below reference:
https://powerpivotpro.com/2012/03/subtotals-and-grand-totals-that-add-up-correctly/
So he added another measure below
=IF(COUNTROWS(VALUES('Tariffed Receipts Reporting 4'[FiscalMonthYearName]))=1,
[10%],
SUMX(VALUES('Tariffed Receipts Reporting 4'[FiscalMonthYearName]), [10%])
)
Now the grand total is correct
My husband fixed it using below reference:
https://powerpivotpro.com/2012/03/subtotals-and-grand-totals-that-add-up-correctly/
So he added another measure below
=IF(COUNTROWS(VALUES('Tariffed Receipts Reporting 4'[FiscalMonthYearName]))=1,
[10%],
SUMX(VALUES('Tariffed Receipts Reporting 4'[FiscalMonthYearName]), [10%])
)
Now the grand total is correct
Hello @Anonymous
In the context of the total row [Current 10%] is not blank so your SUMX never gets [Sum of 301 Tariff value]. You need to move the IF inside the SUMX like so.
10% = SUMX ( VALUES ( YourTable[FiscalMonthYearName] ), IF ( [Current 10%] = BLANK (), [Sum of 301 Tariff value], [Current 10%] ) )
This will move the check on [Current 10%] into the iteration over VALUES ( YourTable[FiscalMonthYearName] ).
You can try it with the old VALUES list just moving the if, not sure if that will give you what you want though.
10% = SUMX ( VALUES ( 'Tariffed Receipts Reporting 4'[List] ), IF ( [Current 10%] = BLANK (), [Sum of 301 Tariff value], [Current 10%] ) )
Glad you were able to find a solution.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |