I am trying to build a more agile and time limiting financial reporting tool. In this proces I stumpled upon a problem that I can't seem to fix.
I am trying to get Year-to-date numbers by referencing a range of cells containing Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep
Formula that works for january only:
=GETPIVOTDATA("[Measures].[Amount]";'Regnskab pr. mdr.'!$A$10;"[Dim GL Account Hierachy].[Parent GL Account]";"[Dim GL Account Hierachy].[Parent GL Account].&[1495 Nettoomsætning i alt]";"[Dim Posting Date].[MonthNameShort]";"[Dim Posting Date].[MonthNameShort].&[Jan]")
Here I want to refence a range of cells containing the months I want (jan to sep). I can't do it this simple:
=GETPIVOTDATA("[Measures].[Amount]";'Regnskab pr. mdr.'!$A$10;"[Dim GL Account Hierachy].[Parent GL Account]";"[Dim GL Account Hierachy].[Parent GL Account].&[1495 Nettoomsætning i alt]";"[Dim Posting Date].[MonthNameShort]";"[Dim Posting Date].[MonthNameShort].&[Jan]:[Sep]")
Alternatively I want to use a cell-range in the formula containing jan to sep, like sheet1!A1:A9
Does anybody know how to make this work?
Thanks a lot
I am trying to get Year-to-date numbers by referencing a range of cells containing Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep
Formula that works for january only:
=GETPIVOTDATA("[Measures].[Amount]";'Regnskab pr. mdr.'!$A$10;"[Dim GL Account Hierachy].[Parent GL Account]";"[Dim GL Account Hierachy].[Parent GL Account].&[1495 Nettoomsætning i alt]";"[Dim Posting Date].[MonthNameShort]";"[Dim Posting Date].[MonthNameShort].&[Jan]")
Here I want to refence a range of cells containing the months I want (jan to sep). I can't do it this simple:
=GETPIVOTDATA("[Measures].[Amount]";'Regnskab pr. mdr.'!$A$10;"[Dim GL Account Hierachy].[Parent GL Account]";"[Dim GL Account Hierachy].[Parent GL Account].&[1495 Nettoomsætning i alt]";"[Dim Posting Date].[MonthNameShort]";"[Dim Posting Date].[MonthNameShort].&[Jan]:[Sep]")
Alternatively I want to use a cell-range in the formula containing jan to sep, like sheet1!A1:A9
Does anybody know how to make this work?
Thanks a lot