anilp
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?

1 ACCEPTED SOLUTION

接受的解决方案
rob_marshall
Moderator

@anirudh

Try using this instead of the +85

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

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

View solution in original post

6 REPLIES6
anirudh
Community Boss

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

anilp
New Contributor

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.

einas.ibrahim
Master Anaplanner/Community Boss

Hello@anilp

What@anirudhwas 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 toClosing 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 anativefunction 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"

Dear community members
Consider posting your question as a new topic and not in the thread of another topic/question. This help other community members to easily find the answer they looking for and doesn't cause the original thread to be so cluttered that we can't find what we are looking for
anirudh
Community Boss

Hi,

Try the formula in the line item month

anirudh_0-1601897929590.png

Regards,

Anirudh

rob_marshall
Moderator

@anirudh

Try using this instead of the +85

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

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

anirudh
Community Boss

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