Uses for TEXTLIST

ChrisHeathcote
Community Boss

Uses for TEXTLIST

Hi All, 

I am unsure where I might use TEXTLIST function. 

There has never been a need for me to use this but I would like to understand where, when and how this might be useful.

Your insights are much appreciated!!

Chris Heathcote
Bedford Consulting

Gold Partner and Regional Partner of the Year 2021, EMEA
1 ACCEPTED SOLUTION

Accepted Solutions
rob_marshall
Moderator

Re: Uses for TEXTLIST

@ChrisHeathcote 

 

Please DON'T use TextList().  Folks used Textist() instead of using FirstNonBlank/LastNonBlank but if you look at this thread, there are ways around it.

 

https://community.anaplan.com/t5/Anaplan-Platform/Lookup-Sum-and-Textlist-Cheat-Sheet/m-p/53085#M820...

 

Rob

View solution in original post

4 REPLIES 4
rob_marshall
Moderator

Re: Uses for TEXTLIST

@ChrisHeathcote 

 

Please DON'T use TextList().  Folks used Textist() instead of using FirstNonBlank/LastNonBlank but if you look at this thread, there are ways around it.

 

https://community.anaplan.com/t5/Anaplan-Platform/Lookup-Sum-and-Textlist-Cheat-Sheet/m-p/53085#M820...

 

Rob

View solution in original post

ChrisHeathcote
Community Boss

Re: Uses for TEXTLIST

Thanks @rob_marshall for pointing me in the right direction. 

 

I had to ask as I couldnt see a clear use case for the TEXTLIST and I can see that we are strongly advised to NOT use it which was my instinct all along. 

 

The case for being able to reverse the LOOKUP while it appears useful is achievable using a more effective and less performance sapping technique.

Chris Heathcote
Bedford Consulting

Gold Partner and Regional Partner of the Year 2021, EMEA
chilled0ut
Occasional Contributor

Re: Uses for TEXTLIST

I have used it to rollup text depending on the hierarchy level selected by a user. In the example below, forecasts are entered at department level with commentary (level 3). 

chilled0ut_0-1635056658561.png

 

Depending on the level users select, I use text list to summarize commentary entered

chilled0ut_1-1635056815344.png

You can get more fancy providing commentary overrides along each level so when a user drills up and down the hierarchy they are shown the appropriate detail/summary of information

 

@rob_marshall I understand you advise not to use textlist but if you can show me how to achieve the result above via another mechanism. As part of the transformation above I do you use first non blank as well

 

 

 

rob_marshall
Moderator

Re: Uses for TEXTLIST

@chilled0ut 

 

Commentary is a different story and in your case, you would most likely need to use Textlist() if the Commentary was truly free text.  With that said, if you can get away from using Text as well as TextList, then your model will perform better.  I understand you just mocked something up, but if the "text" can be made into a list, like if they were stock answers or status's instead of using Text, then you can most likely model it.

 

Rob