how to get a value of last week in a quarter

Highlighted
New Contributor

how to get a value of last week in a quarter

please help.

 

we have scenario to get the value of a numbered field of last week in a quarter. For example we are in Q 1, we want the value of week 13 (which is last week in first quarter). 

do we have any functions available to get the value?

6 REPLIES 6
Highlighted
Master Anaplanner/Community Boss

Re: how to get a value of last week in a quarter

Hi anilp,

If you're using Anaplan time, set the Time Summary of the line item to closing balance
This way, the quarter value will always be the value of the last week in the quarter

Then in your destination line item, simply refer the quarter line item by using a quarter lookup

Let me know if you need more help

Regards,
Anirudh

Highlighted
New Contributor

Re: how to get a value of last week in a quarter

Thank you anirudh for reply.

that helps a bit. how i can identify last month in a quarter and based on that i need to pull the closing balance for that month.

Highlighted
Valued Contributor

Re: how to get a value of last week in a quarter

Hello @anilp 

 

What @anirudh was referring to is the following...

Change the summary method of the line item -for which you need to obtain the last value in the quarter- from the default SUM to Closing Balance. This way, the value of each Q will be the value of the last week in the quarter.

Now that you have the value you want in each Quarter, you can directly reference it and it will equal the value of the last week in the quarter. 
Anaplan has native functions to reference Quarter values, but we don’t have a native function to reference Week x of the year. 


assumption for that solution to work are:
1. You should be using Native Anaplan Time.

2. Module is dimensioned by weeks 

Einas
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
Highlighted
Master Anaplanner/Community Boss

Re: how to get a value of last week in a quarter

Hi,

Try the formula in the line item month

anirudh_0-1601897929590.png

 

Regards,

Anirudh

Highlighted
Master Anaplanner/Community Boss

Re: how to get a value of last week in a quarter

@anirudh 

 

Try using this instead of the +85

 

2020-10-05_07-32-58.png

 

2020-10-05_07-33-19.png

 

Highlighted
Master Anaplanner/Community Boss

Re: how to get a value of last week in a quarter

I had no idea there was an END()
Thanks!