I already have a suspicion that custom formulas arent available by the time the page is loaded.
I have seen different things now that lead me to this assumption, this is one of them.
Creating a "flatten object" function and using this is another one that I mentioned in general.
I can make a more detailed video/description if that helps