How to convert Weeks to Month?

Kayley
Occasional Contributor

How to convert Weeks to Month?

Hi All,

 

I have a list with custom month format and the list code is 'mmm-yy Code' example: 'Apr-21 VLIB0065E' (below image)

 

Kayley_1-1626924628582.png

 

However, the source file i have received is in Year-Week example '2021-01' (2021 = Year, 01- first week of 2021 which is Jan)

 

How do i convert weeks to month?

 

Kayley_0-1626924522736.png

 

 

2 REPLIES 2
rob_marshall
Moderator

Re: How to convert Weeks to Month?

@Kayley 

 

Not really the answer to your question, but I would strongly suggest you change the architecture of your list where you don't have "Time" as part of the member.  Instead, use a module dimensionalized by time for the time data which in turn allows you only use the "non time" member once.  For more information about this, please check out this best practice article.

 

https://community.anaplan.com/t5/Best-Practices/Data-Hubs-Purpose-and-Peak-Performance/ta-p/48866

 

Rob

Ingilavicus
Certified Master Anaplanner

Re: How to convert Weeks to Month?

Hi @Kayley ,

 

Don't think you would get a concrete answer on this one. How would you like to convert weeks to Months? Month value should represent calendar month or month value that you would see in a typical weekly calendar? 

 

If you can't change the source data one idea would be to enable a weekly calendar in your model to load the data in, but not sure how this would impact the rest of the model. 

 

Also to give a bit of an insight into this type of conversion I would suggest you take a look at this answer given by @JaredDolich :

https://community.anaplan.com/t5/Anaplan-Platform/How-to-Group-Total-sold-from-4-4-5-to-calendar-mon...

 

Might help you evaluate how you want to convert these weekly values to monthly. 

 

Andris