Beast Mode Formula Error: This calculation is too long

Reply
Yellow Belt

Beast Mode Formula Error: This calculation is too long

I currently have a case statement within a beast mode calculation that does as follows: 

case

when `advertiser name` like '%Microsoft%' then 'paid'

(745 lines similar to the one above)

else 'NA'

end

I get error:  Invalid Formula : This calculation is too long

Not sure on how to go about this. Any advice or direction on what to do would be great. 


Accepted Solutions
Yellow Belt

Re: Beast Mode Formula Error: This calculation is too long

I fixed my error. I had copied the contents from an excel sheet cell that contained roughly 800K blanks cells that the beast mode calculation picked up on. Fixed this error by copying just the cells that contained text into Beast Mode. 

View solution in original post


All Replies
Yellow Belt

Re: Beast Mode Formula Error: This calculation is too long

I fixed my error. I had copied the contents from an excel sheet cell that contained roughly 800K blanks cells that the beast mode calculation picked up on. Fixed this error by copying just the cells that contained text into Beast Mode. 

View solution in original post

Major Brown Belt

Re: Beast Mode Formula Error: This calculation is too long

That's still one hell of a long beastmode. I don't know if long beastmodes have any performance issues but I can't help but think their has to be a better way to do this to save you the headache of having that many lines and I'm sure you'll run into the limit eventually (if you will add more lines over time). Might not need to worry about it now but you might want to consider having a separate data source of all the `advertiser name`'s stored in and do some dataflow to join to that to get it out of a beastmode. 



**Make sure to like any users posts that helped you and accept the ones who solved your issue.**
Yellow Belt

Re: Beast Mode Formula Error: This calculation is too long

That is a really good point. I will need to try this. 

Announcements
Check out these great solution videos! The new iSolveditWithDomoboard is live, share yours and earn higher rankings in Dojo click here!