Assistance With Creating a Bar Line Graph

Hello, I am trying to figure out how to create a line graph / bar line that will give me the variance change year over year based number of claims per year.

I am not sure if there is an easy way/setting in Domo to automatically create a percent change YoY for me, or if I need a beast mode to do this.

I have tried the following formula and put it in my Y-Axis, but it didn't seem to work.

(Case when Year(`Open Date`) = Year(curdate()) then `Claim Type` end / Case when Year(`Open Date`) = Year(curdate())-1 then `Claim Type`end) -1


Data:

I have an Open Date column and I am basically just counting the number of claim types each year. I am hopefully trying to get for example:

% Change from 2008->2009 from 665->818 ~ 23% increase..

2009->2010 ~ 818->511 ~ 37% decrease

Answers