Is it possible to create user defined functions that can be called in Beast Mode? I'm creating Beast Modes for summaries in the top left of a visual, and it's getting ridiculous & unwieldy pretty quickly. In order for it to look reasonable, I need to format and abbreviate the numbers, similar to how it's described in this post:
https://dojo.domo.com/t5/Beast-Mode-ETL-Dataflow/Formatting-Multiple-Summary-Numbers-with-Commas/m-p/32344#M4834
When creating summaries with several numbers, and mathematical operations on those numbers, this method makes the code get absurdly long. Is there a way to create a function, i.e. FORMATX(number), that could be called in Beast Mode to format the number correctly?
If not, is it at least possible to use 1 Beast Mode calculation in another, to break up the code into readable pieces?
I have a feeling there's no good way to do this, but I'm hoping someone might have a better idea.
Thanks for any help!