Apptio for All

Β View Only

 How to make formula stay the same across Fiscal Years.

Jump to  Best Answer
  • ApptioforAll
Matthew Sparks's profile image
Matthew Sparks posted Tue October 26, 2021 10:46 AM
Currently, I am having to manually add a formula for the Fiscal Year to display in a report due to the original report not having the Fiscal Year in it. Is there a way to make the formula "Fiscal Year = 2021" stay 2021 for that FY 21 and corresponding periods and then I can change to FY 22 based off the current FY? We haven't closed our FY 21 yet but if I go into the formula and change the formula to result in FY 22 for Period 1 of 22, it will also change all of the labels for FY21 to FY22. Is there something like in excel where putting the $ in the formula will make the formula always call that specific cell or number?
#ApptioforAll
Jenny Franklin's profile image
Jenny Franklin  Best Answer

Hi @Matthew Sparks, can you maybe add HTML to your report to show the Fiscal Year instead?

I had a header in a report where I needed the Fiscal Year to be dynamic and not static.  While in 2021, I want it to say 2021, if I switch over to 2022, I wanted it to then say 2022.  To do that, you can add HTML to your report and include what they call 'context-dependent text'.

Here's the HTML for a client report that shows "Service Name - 2021 Summary"...  That bit in yellow is what you want to automagically show the Fiscal Year..

<div class="apps-text"><span style="font-size:32px;color:#72bf44"><%=All Business Services.Service Header%> - <%=CurrentDate("Y")%> Summary </font><span style="float:right"></b>

Maybe could use that as another option perhaps?  If not, I know some date-logic-savvy TBMAs will hop on and save the day! πŸ€©πŸ±β€πŸ‘€
#ApptioforAll
Jaitabh Jewel Sharma's profile image
Jaitabh Jewel Sharma
@Matthew Sparks,
Please provide some more context (and screenshot) of what's currently showing on your report and what behaviour would you like to generate formulaically.

In most cases, you should be able to use the CurrentDate function. It works pretty much everywhere in Apptio  - Datasets Tables, Calculated metrics, Formula columns of report tables as well as Dynamic Text (as the example provided by @Jenny Franklin).

perhaps you may code the year to achieve the desired outcome. 
=CurrentDate("dd-MMM")&"-2021"
#ApptioforAll