Hello,
This PowerPivot example is being utilized as a proof of concept. We are having issues with the CALCULATE(Expression, [Filter1], [Filter2], [Filter3], ...) function. We have multiple related tables and are attempting to sum up all [CashActual]
transactions in our General Ledger (GL) prior to a list of dates. This table will be used in PowerView to graph the monthly total trends of various accounts for budgeting purposes.
The Trends table is setup as follows;
Date Checking
1/1/2009 #ERROR
2/1/2009 #ERROR
3/1/2009 #ERROR
...
The DAX expression used is:
=17111.08-CALCULATE(sum(GL[CashActual]0,GL[AcctNum]="0110-0000",GL[Date]<Trends[Date])
17111.08 is the known account value as of 2009, CashActual is a list of Debits+Credits, and 0110-0000 is the account in question.
We receive the following error message:
The expression contains multiple columns, but only a single column can be used in a True/False expression that is used as a table filter expression.
Ideally we would like to reference the corresponding Date field in our Trends table and sum up all the Checking Account entries prior to that date. . . However, it appears that CALCULATE Filters cannot deal with multiple columns. Does anyone have a suggestions or work around to reference a cell within a PowerPivot Table.
V/R,
Sturzaam