YoY % Calculation

White Belt

YoY % Calculation

This is pretty straightforward and slighty embarrassed that I am stuck on this. 


All I need is a calculation for YoY %  ((Current - Prior)/Prior).  I can't seem to get it to work across multiple years.  lag() does not appear to be available in Beast Mode.  


How can I calculate YoY %?

Black Belt

this is a very frequently covered topic on the Dojo! no worries ... you're not the only one... although... it may help to search first...


LAG() (and all the window'ed functions) are available in Domo if you ask for the feature switch to be enabled, check with your CSM and ask them to ("enable window functions in beast modes")  



https://www.youtube.com/watch?v=CDKNOmKClms here's a tutorial video / design pattern that doesn't require window functions.  it's nice b/c the pattern can be extended for MTD, PM, QTD, PY Q etc.



Jae Wilson
Check out my Domo Training YouTube Channel

**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
How to build a card in Analyzer with a Current Year and Previous Year offset using #BeastModes in #Domo.##### CONSULTING SERVICES ####I have left Domo to sta...
New & Improved Dojo: Get excited for a new feel and additional features in the online community.

Site will be down February 4-5th for maintenance.

Launch coming February 8th!