Skip to main content

What are Metric accounts and when to use them?

 I am often asked: "What are Metric accounts in Adaptive and what is their use case?"


Before we jump into the weeds, you can create "global" metric accounts, called standard metric accounts and within cube sheets. 

To create a standard metric account, go to:  Menu > Modeling > Metric Accounts



Adaptive will come with a couple of pre-built Metric accounts, such as Gross Margin %


What are Metric Accounts?

A metric account in Adaptive is a calculated account, meaning it carries a formula
It does not carry any data entry
It can not be a rollup account, meaning it can not have any "children accounts" rolling up to a parent.

Metric accounts are typically used to calculate ratios, this is why they can only be either a number or a percent! But... there is more subtility in them!




Metric accounts are different from the other calculated accounts (custom, modeled, cube etc.) in the sense that their formula is also computed at the level and dimension rollups


Example on how it really works

Let's take Gross Profit and Gross Margin as examples.

  • Gross Profit $
    • is a currency value. 
    • the rollup (fiscal year) is a sum of the children (quarters)
    • This will be a standard custom account.
  • Gross Margin %
    • is percentage value.
    • the rollup (fiscal year) is NOT a sum of the children (quarters). 
      • the division has to happen at the fiscal year rollup: total Gross Profit for the year divided by the total Revenue for the year. 
    • This will be a metric account!

Gross Profit  = Revenue  -  Cost of Goods Sold

Gross Margin = Gross Profit / Revenue


  Q1 Q2 Q3 Q4 Fiscal Year
Revenue $ 1,000 $ 3,000 $ 2,000 $ 4,000 $ 10,000
COGS $ 500 $ 2,500 $ 1,500 $ 2,000 $ 6,500
Gross Profit $ 500 $ 500 $ 500 $ 2,000 $ 3,500
Gross Margin 50 % 17 % 25 % 50 %35 %


In this example, we clearly see that the Gross Profit $ at the end of the Fiscal Year is the sum of the quarters (= children): 500 + 500 + 500 + 2000 = $ 3,500. This can be achieved via a formula in a standard account.

But Gross Margin, at the end of the year does not equal the sum of each quarter (50% + 17% + 25% + 50% = 142%). The rollups of Revenue and Gross Profit must be used: 3500 / 10000 = 0.35. 
The math needs to happen again at the fiscal year rollup. And this can be done via metric accounts!

Test it yourself: Try writing that formula in a standard custom account (non metric) and then in a metric account. Compare the 2! You will see that for the standard custom account, Gross Margin at the end of the Fiscal Year will be the sum of the quarters! Not good!
divf(ACCT.GrossProfit, ACCT.Revenue)
 
In Workday Adaptive, metric accounts do the calculation at the dimension rollups and time rollups!

Another intricacy of metric accounts is that the calculation does happen at ALL the intersections of data (levels + dimensions + time), whether there is data or not... So it can be heavy on the computation. Use them sparingly... Metric accounts are typically only used for ratios calculations. Don't use a metric account, when in reality it should be a standard one!

❗Limitations

Time Modifiers can not be used in metric accounts.
For example, you can't write something like this:  ACCT.m_GrossMargin[time = this - 1]
More info about Time Modifier in Metric account in this link.

So if you need to write a Year Over Year increase or decrease of your Gross Margin, it is a 2 step setup in Adaptive. Another article will come on that topic.


๐Ÿ’กBest Practice

When you write a metric account, it is a good practice to add a prefix, such as "m_" in the code.
This way, when you reference it in other formulas... you immediately know that it is a metric account!







 

Comments

Popular posts from this blog

Adaptive's API

To integrate data in Workday Adaptive Planning, customers typically use the integration module to connect with ERPs, SFTPs, AWS S3, Snowflake, SalesForce, Excel, and Google Sheets, etc.  You can also use third party platforms such as Tray.ai , Boomi , Matilion etc. which leverage Adaptive's APIs in a user friendly setup.  And lastly, you can write your very own scripts (C#, Python, Powershell...) to make these API calls.  Most  common Adaptive's API use cases Import Data from ERPs Actual summaries and transaction details (by supplier, employee...) Assets, amortization, depreciation Payroll details and taxes Import Sales data from CRMs or datalakes Pipeline, churn, opportunities and customers  Billings, bookings, revenue, ARR Import Headcount data from an HRIS Current headcount and terminations Hired, not started Wages and compensation plans Benefits and other demographics Import Other data: Exchange Rates Weather Meta data: currencies, attributes, dimensions suc...

One (perfect) Headcount Planning Process in Workday Adaptive for FP&A

FP&A: The Perfect Headcount Planning Process in Workday Adaptive for non Platform customers: Streamlining integration, reconciliation and budgeting This article is for companies that are not on the Workday Platform  (HCM, FINS, Adaptive) and are missing out on the integrated cycle of hiring, planning, reconciliation, and system-wide alignment that Workday offers. I sometimes hear complaints (luckily not too much) about Workday HCM, Adaptive or FINS... but the truth is, no other tool on the market currently offers a complete solution that spans the entire hiring process—from budgeting and requesting to hiring, reconciling, and publishing plans across systems. Workday is the only one with this capability right now!  I’m not paid by Workday to write this… But after working with several HRIS, ATS, and ERP systems, I can confidently say that Workday stands out for its customizable workflows, overall ease of use, and seamless communication across all three systems -- assuming yo...