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 %?


  • jaeW_at_Onyx
    jaeW_at_Onyx Budapest / Portland, OR 🟤

    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.