2024: Week 16 - Budget vs Actuals

Challenge by: Michał Mioduchowski

We're continuing with DS43's challenges so over to Michał to explain the next challenge. 

_____________________________________

For this week, Superbytes has requested us to look at their budget sheet for 2022. The company believes that their rough budget estimates were very close to the final budget allocations for that year. Examining historical budget data allows the company to identify trends in spending patterns over time. This can provide valuable insights into how expenses have evolved and help predict future expenditure trends. CEO Phil Down would like us to find the exact areas of mismatch between predicted and actual spending.

Inputs

There are 2 inputs for this challenge:
  • Forecasted Spending
 
  • Actual Spending

Requirements

  • Input the Excel file
  • Match Sheet 1 and Sheet 2 in formatting. Both should include:
    • Category field [String]
    • Budget/Actual field [Number (Decimal)]
  • Join both sheets based on Category field to create a single table with 3 columns:
    • Category [String]
    • Budget [Number]
    • Actual [Number]
  • Rename the fields to:
    • Category
    • Forecasted Spending
    • Actual Spending
  • Create a new calculated column with the differences between forecasted and actual values.
    • Values in the new column should be rounded to whole numbers [ROUND(...)]
  • Output the data

Output


  • 4 fields
    • Category
    • Forecasted Spending 
    • Actual Spending
    • Difference
  • 9 rows
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja@JennyMartinDS14 & @TomProwse1

You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help! 

Popular posts from this blog

2024: Week 1 - Prep Air's Flow Card

2023: Week 1 The Data Source Bank

How to...Handle Free Text