• Skip to content [Accesskey '1']
  • Skip to navigation [Accesskey '2']
CIMA - Chartered Institute of Management Accountants Chartered Institute of Management Accountants
  • Select your location
    • Africa
    • Australia
    • Bangladesh
    • Benelux
    • Brazil
    • Canada
    • Central Eastern Europe
    • China
    • France
    • Germany
    • Gibraltar
    • Greece
    • Hong Kong SAR
    • India
    • Indonesia
    • Iran
    • Ireland
    • Israel
    • Italy
    • Kenya
    • Malaysia
    • Malta
    • Middle East
    • Myanmar
    • Nepal
    • New Zealand
    • Nigeria
    • Pakistan
    • Philippines
    • Poland
    • Russia and CIS
    • Singapore
    • Spain
    • Sri Lanka
    • Switzerland
    • Thailand
    • Turkey
    • United Kingdom
    • USA
    • Vietnam
  • Jobs
  • FM Magazine
  • CIMAsphere community
  • CGMA
MY CIMA

Login to MY CIMA

Login to MY CIMA

Login below to access our online services for members, students and business partners.

Forgotten your contact ID or password?
Don't have an account?
  • Home
  • Study with us
    • Why choose CIMA?
    • How to start CIMA
    • CIMA course providers
    • Exemptions
    • CIMA Certificate in Business Accounting
    • CIMA Professional Qualification
    • Islamic finance qualifications
  • Students
    • Exam preparation
    • Certificate exam information
    • Professional exam information
    • Practical experience requirements
    • Fees
    • Professional development
    • Exam award listings
    • Student e-magazine
  • Members
    • Becoming a member
    • Getting the CGMA designation
    • Fees and payment
    • CIMA professional development
    • Members' handbook
    • Find a CIMA accountant
    • New members
    • Monitoring of members working as practising accountants
    • Member FAQs
  • CIMA in business
    • CIMA value in the private sector
    • CIMA value in the public sector
    • CIMA value in growing businesses
    • CIMA Training and Development Accreditation
    • CGMA
  • Events and CPD courses
    • CIMA Global Business Challenge
    • Mastercourses
    • Members in practice events
    • Local events
    • CIMA conferences and academies
    • Bitesize briefings
    • CPD technical updates
    • Student courses
    • CIMA on demand
    • Accredited CPD products
  • Innovation
  • Professionalism
    • Professionalism and employability
    • Ethics
    • Conduct
    • Members' handbook
  • About us
    • Why CIMA?
    • Our mission, behaviours and strategy
    • Celebrating 90 years
    • CIMA case studies and profiles
    • Governance, charter and byelaws
    • Press office
    • Advertise with us
    • Partners
    • Jobs at CIMA
    • What is management accounting?
    • 2012 annual review
  1. Home
  2. Innovation
  3. E-magazines
  4. Insight
  5. Insight 2012
  6. Insight July 2012
  7. Balance sheet prepayments and deferred revenue in PowerPivot

Balance sheet prepayments and deferred revenue in PowerPivot

July 2012

David Churchward FCMA, CGMA, systems and development director at telecommunications company Azzurri Communications, continues our series exploring the potential of Excel add on program PowerPivot.

It’s a concept engrained in management accountants everywhere from an early stage - matching costs and revenues. But it is essential to apply those costs and revenues to the correct accounting period. I’ve seen many extravagant spreadsheets that do this very well and now we have the concept of being able to do this in PowerPivot.

The benefits of doing this are obvious once PowerPivot is engrained in the way you do things. You can create a measure once and then simply maintain a list of valid transactions that require prepaying or deferring and PowerPivot will do the rest. Taken to the fullest extent, your model becomes self-reconciling.

 

The Dataset
The dataset that I’m using looks like this:

The Prepayments table contains a list of transactions that require prepayment / deferral. The critical elements are the nominal accounts and the start and end dates. Nominal accounts determine which P&L accounts and balance sheet accounts are affected by the prepayment transaction. The start and end dates tell us the timeframe to which the transaction relates.



Start and end dates tables are sequential lists of dates covering the timeframe of any likely prepayment. Details on how to create these tables can be found at this link.

Days or Months?
It’s not unusual to see prepayments run on a monthly basis. For example, an invoice covering a full year would see 1/12th allocated to each month in that year. However, whilst this isn’t necessarily materially wrong, it isn’t entirely accurate either. What happens when an invoice charge period starts and ends in the middle of a month?

Calculating prepayments on the basis of days is more accurate, but ultimately, PowerPivot can handle both approaches (and a combination of the two if appropriate). In this post, I’ll explain how to calculate the Days approach but you can get a full overview of both approaches by following this link.

Days Prepayment

I’ll jump straight into the DAX expression and then explain what it’s doing:



This looks complicated, but the underlying equation can be summarised as follows:

Deferral Value = Invoice Value * (Number of future days / Total days on Invoice)
For example, if you have an invoice for £30 relating to the period 20th June 2012 to 19 July 2012 and you’re working on the June month end, your equation would be:

= 30 * (19 / 30)

which evaluates to £19.

But first we evaluate when to evaluate!

The first part of our DAX expression is as follows:



There’s two things happening here:

  1. IF(COUNTROWS(VALUES(Months[MonthEndDate))=1 is used to ensure that our measure only evaluates when we have one MonthEndDate on our report. PowerPivot is an aggregation model so it will inherently try to run each measure at every possible aggregation level. Obviously, we want our model to run a separate evaluation for each MonthEndDate so it’s important that we only have one.
  2. The second “IF” statement is used to evaluate which transactions should be included in the calculation. This is based on the following criteria:

    a. LASTDATE(VALUES(Prepayments[Prepay_Start]))<LASTDATE(VALUES(Months[MonthEndDate])) determines that the start date of the prepayment transaction is less than the date being evaluated on our report

    b. LASTDATE(VALUES(Prepayments[Prepay_End]))>LASTDATE(VALUES(Months[MonthEndDate])) determines that the end date of the prepayment transaction is after the date being evaluated.

The Prepayment calculation
Once we’ve determined when our calculation needs to run, we then tell PowerPivot what we want it to do. Let’s refer back to the basic formula that we want to execute:

Deferral Value = Invoice Value * (Number of future days / Total days on Invoice)

Translating this into PowerPivot as follows:

- Invoice Value =

This simply takes the PandL_Value from our Prepayment table to use as the value in our equation.

- Number of future days



This counts the number of rows in our Days table that fit between the MonthEndDate being evaluated and the Prepay_End date on the transaction.

- Total days on Invoice



This counts the number of rows in our Days table that fit between the Prepay_Start date on the transaction being evaluated and the Prepay_End date on the transaction.

SUMX finishes it off!
I’m sure you’ve noticed that our deferral value is wrapped in a SUMX function. This is because we need the deferral value equation to run for each transaction independently. SUMX is an iterative function so it runs the equation for each record in the prescribed table and then sums the results.


For more detail see Prepayments & Deferred Revenue

Links
CIMA professional development

  1. Insight July 2012

Find us on

Facebook logoLinked In logoTwitter logoYouTube logo

In this issue:

Features

  • David Spier: Facing the challenges
  • The invisible elephant: a leadership model for the future
  • Best of the boards
  • Measure the true value of talent

Jobs and careers

  • Job hunting during a slowdown
  • Mining the jobs market for international experience
  • Working as a financial analyst in media

Training and development

  • Spreadsheet skills: being direct about INDIRECT
  • Balance sheet prepayments and deferred revenue in PowerPivot
  • Email management: set rules for yourself and others
  • Know your anti-money laundering responsibilities

News for employers

  • Saving energy part 2: prioritising actions
  • Partnering for energy efficiency
  • Strategic financial management - bonuses
  • Financial model simplicity
  • Welcome new development partners

News and events

  • CIMA elects new president
  • Corporate integrity pledge by CIMA SE Asia
  • Empowering business leaders in Sri Lanka
  • Performing to potential: Pakistan as a nation
  • CIMA responds to civil service reforms
  • CIMA on demand – online learning when and where you need it
  • Autumn CPD Academy – book now
  • New bitesize briefings
  • More news and events in your region
  • Benefits for UK and Ireland members
  • Chat live with a CIMA adviser
  • Join us on Facebook
  • In this issue

Explore cimaglobal.com

Why you should choose CIMA

Contact us

Email: cima.contact@cimaglobal.com

Or find your local CIMA office
Global Business Challenge Find out more

Study with us

  • Why choose CIMA?
  • How to start CIMA
  • CIMA course providers
  • Exemptions
  • CIMA Certificate in Business Accounting
  • CIMA Professional Qualification
  • Islamic finance qualifications

Students

  • Exam preparation
  • Certificate exam information
  • Professional exam information
  • Practical experience requirements
  • Fees
  • Professional development
  • Exam award listings
  • Student e-magazine

Members

  • Becoming a member
  • Getting the CGMA designation
  • Fees and payment
  • CIMA professional development
  • Members' handbook
  • Find a CIMA accountant
  • New members
  • Monitoring of members working as practising accountants
  • Member FAQs

CIMA in business

  • CIMA value in the private sector
  • CIMA value in the public sector
  • CIMA value in growing businesses
  • CIMA Training and Development Accreditation
  • CGMA

About us

  • Why CIMA?
  • Our mission, behaviours and strategy
  • Celebrating 90 years
  • CIMA case studies and profiles
  • Governance, charter and byelaws
  • Press office
  • Advertise with us
  • Partners
  • Jobs at CIMA
  • What is management accounting?
  • 2012 annual review

© CIMA

  • FAQs
  • Contact Us
  • Terms & conditions
  • Privacy policy
  • Cookie policy
  • Sitemap
  • Accessibility
  • Back to top [Accesskey '5']