Hi,
I need to make a pivot of a general ledger.
My problem is that since the amounts are stored on the G/L account entry's and amounts for subtotals like "Total sales" or "Total assets" are sum's that do not have their own accounts I get blank values for these "sum-accounts".
I have tried to make measures or calculated columns, but I can't get anything to sum all amounts from account X to account Y.
Ex. to calculate total sales i made the following measure: =CALCULATE(SUM('G_L Entry'[Amount]);'G_L Entry'[Number]<12199). But of course this only gives the amounts for my accounts less the 12199 - I need it to be a sum of the amounts for the number values less the 12199.
Without DAX this would be an easy fix but can this be done in a DAX context?
I guess someone must have had the same wish before me, so any experience would be appreciated.
/MrLynge
I need to make a pivot of a general ledger.
My problem is that since the amounts are stored on the G/L account entry's and amounts for subtotals like "Total sales" or "Total assets" are sum's that do not have their own accounts I get blank values for these "sum-accounts".
I have tried to make measures or calculated columns, but I can't get anything to sum all amounts from account X to account Y.
Ex. to calculate total sales i made the following measure: =CALCULATE(SUM('G_L Entry'[Amount]);'G_L Entry'[Number]<12199). But of course this only gives the amounts for my accounts less the 12199 - I need it to be a sum of the amounts for the number values less the 12199.
Without DAX this would be an easy fix but can this be done in a DAX context?
I guess someone must have had the same wish before me, so any experience would be appreciated.
/MrLynge