Hello everyone,Is there any possibility of converting line item formatted as period (Month) into the TEXT?Thank you
@musoresempaul
Great question. There is a great function you can use called "NAME" that will work.
For all conversion types you can reference this webpage.
https://help.anaplan.com/debe3d05-0303-4403-ab3e-bf0046852a2c-Convert-between-Data-Types
Hi,
Like Jared mentioned, Name is the function to go to.
Time basically works like any other list, so you could use Name(Item(TIME)).
The output of Item(TIME) would be the same as Jareds Period(Start()).
As always - lots of ways to get the same output.
Good luck 🙂
Ultimately, it depends how you want to format the final output.
As of today, Anaplan does not provide a function to convert a date to text in a specific format. There is an Idea posted to the Idea Exchange here: https://community.anaplan.com/t5/Idea-Exchange/New-Function-To-Convert-Date-Format-to-Text-Format/idi-p/53134
@JaredDolich and @Noward both suggested a viable approach with using the NAME() function. Note, however, that this will display the date in the same format it would be displayed in had you not used the NAME function (i.e. Anaplan already essentially uses the NAME in the backend to display list items).
If you want a specific date format associated with each month item, you would need to convert it to a date, and then use a series of functions to convert each portion of the date to text and concatenate them together. However, note that using text is NOT advised and is against Anaplan best practices (see Planual rules 2.02-04 and 2.03-02).
If you do need to convert month periods to text-formatted dates, be sure to do this in a System module dimensioned only by Time (Month).
For approaches to formatting dates, I'd recommend checking out these other Community posts that provide good advice:
Thank you @JaredDolich & @ryan_kohn and @Noward for your contribution,now I do well understand data conversion based on your support
I was able to go with this.Regards,Sem
Hello team, I am logging into Anaplan through SSO. I would like to create a batch script to import a file into Anaplan. For the Spoke model, I would like to run an process via a batch script to import data from the Data Hub. Can anyone provide me script for both the condition.
is there a way to import data with months in columns (usual excel table view)? I have to transform the data so there are rows to cover each period in the upload data form, but I am wondering if there is a better way to just import the data as is with the months in the columns. please let me know what you think. thank you,
Hello, I am receiving an 'Anaplan Upload Failed' Status Description when testing my integration with a Big Query dataset. The integration imports data from BQ to our Anaplan model. No other details given in the error log. I suspect that Cloudworks is not even picking up the file but am not sure what we did wrong on the set…