Beast Mode Formula Error: This calculation is too long

Reply
White 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
White 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. 


All Replies
White 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. 

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. 

White Belt

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

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

Announcements
Looking for the latest Community solutions? Please visit our accepted solutions board here!