Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

How to create a calculate metric that shows month-specific targets

Avatar

Level 2

Dear all,

 

I would really appreciate, if you could help me, which function I can use to create a calculate metric that shows month-specific targets to be able to make a comparison of measured monthly revenue versus static month-specific target numbers.

 

Best regards Martin

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Do your monthly targets change every month? E.g.

January: 20,000

February: 10,000

March: 100,000

etc.

If so, then it probably could be done, but it won't be trivial.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Do your monthly targets change every month? E.g.

January: 20,000

February: 10,000

March: 100,000

etc.

If so, then it probably could be done, but it won't be trivial.

Avatar

Community Advisor

So I believe what you are saying is you want a monthly specific target that you compare your actual with (something like metric - target / metric  OR  target - metric / metric but with monthly specific targets)?

 

You can create a series of nested IF statements to check for the month, the set a target using a static value:

 

Jennifer_Dungan_1-1677254708852.png

 

Then you can built this nested setup in conjunction with your calculation. You will notice that I used occurrences here, this is just the most all-inclusive metric to ensure that there is data to match against the month of the year... Since we are overriding the value with a static target anyway, this can be used for any other type of these nested IF value type of logic blocks.

 

You will use your actual metric into the math where you calculate the difference and then do your division to get your % difference.