Forum

Last Year Actual fi...
 
Notifications
Clear all

Last Year Actual figures

3 Posts
2 Users
0 Reactions
89 Views
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Team,
I tried calculating Last Year Act as follows:
LY Actual =
CALCULATE(SUM(‘SummaryUnpivotWithDate’[Value]), DATEADD(DateTable[Date],-1,YEAR),FILTER(SummaryUnpivotWithDate, SummaryUnpivotWithDate[Act/Bud] = “Act”))

and my current year actual formula is as follows:
CY Actual =
CALCULATE(SUM(SummaryUnpivotWithDate[Value]),
FILTER(SummaryUnpivotWithDate, SummaryUnpivotWithDate[Act/Bud]= “Act”))

unfortunately, I do not have figures for LY Actual calculation.
Please let me know the area to check.
thank you.

Regards,
Aye

 
Posted : 27/05/2020 2:20 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Aye,

Unfortunately, the screenshot is tiny and unreadable.

Why don't you let the PivotTable provide contextual filtering and use SAMEPERIODLASTYEAR to get last year's actuals? It's not clear why you need to hard key the 'Act' filter. You could just add this to the row/column/filter area and let context do the filtering.

Mynda

 
Posted : 27/05/2020 5:57 am
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Thanks for your reply, Mynda.

My date table was incorrect from the beginning and gave me anomalies. All good now.

Regards,

Aye

 
Posted : 29/05/2020 7:20 am
Share: