Let's say I have column username and a username is "JonSmith-81". What would be the formula to return just "JonSmith"?
@zdlee
Using the Find function would work here...Find("-",line item) which will give you a number. Then, in another line item, you can use the Left() function, Left(line item, results of the find - 1). You have to subtract the one because the Find is telling you where the - is.
Rob
@zdlee: try this formula given your example:
LEFT(username, FIND("-", username) - 1)
@rob_marshall looks like you beat me to the answer!
Correct me if I'm wrong, but text parsing is a pretty expensive operation and should be avoided or at least only performed in a system module (calc once and reference)?
@jedwards
Yes, beat you by that much. And yes, you are correct, text parsing is fairly expensive, but sometimes it has to be done. So, when it is required, it is best to split it over multiple line items instead of putting all of the parsings in one line item. And lastly, yes, it is best to be done in SYS module.
Hello Community members, Requirement Details: I have 5 levels of composite hierarchy list (A1, A2, A3, A4, A5). I have published a module in UX, Now the requirement is If user select a list member from A4 level in the context selector or Custom Filter I have to display all the list members under that A4 level. How can I…
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…