Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am having trouble with the total on a matrix. I am totaling monthly expenses which are month to date expenses + total encumbrances.
2TotalExpense = ('SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[MTD] + 'SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[RUNNINGENCUMBRANCE])
More details of the individual measures:
MTD =
VAR MAXACCTPERIOD2='SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[MAXACCTPERIOD]
RETURN
CALCULATE(SUM(SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA[TOTAL_EXPENSED_AMT]), FILTER(SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA, SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA[LEDGER]="ORG_EX"), FILTER('SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA', 'SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[ACCOUNTING_PERIOD]=MAXACCTPERIOD2))
RunningEncumbrance =
CALCULATE([3 New Encumbrance Amount],
Window(
1, ABS,
0, REL,
SUMMARIZE(ALLSELECTED('SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'), 'SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[ACCOUNTING_PERIOD]),
ORDERBY('SB_PBI_VW_COMBINED_BUDGET_EXPENSE_DATA'[ACCOUNTING_PERIOD])))
My totals for the individual accounting periods come out correct in the screenshot below but the Row total at the end gives the total of accounting period 12. I would like for it to give the sum of all of the individual monthly expense amounts (acct periods 1 – 12) that are displayed which should equal $68,401,258.17 not $5,443,001.42.
Solved! Go to Solution.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Resolved using a second SQL 'view'. Assistance no longer needed.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |