2021: Week 48 Departmental December - Finance

 Created by: Carl Allchin

This December we wanted to challenge you to take on some tricky challenges that each week will focus on a different department in your organisation. We're starting with Finance.

Finance uses a lot of data to understand the cash flow and liquidity of your organisation. They also typically have some really useful data locked away in files with an annoying format. One of our clients actually had to solve this structure of data last week so I thought it would make a great Preppin' challenge. 

Input


One Excel file with one worksheet.

Requirements

** for those using Tableau Prep, avoid typing in field names and see how few you can do. Naming calculations is ok** 
  • Input the data
  • Extract each data table within the Excel workbook
  • Extract the branch name from the table structure
  • Create a row per measure and year
  • Remove the word 'Year' from the year values
  • Create a True Value (i.e. the correct number of zeros for the measure)
  • Remove the suffix of the measure (i.e. the (k) or (m) if the measure name has the units)
  • Remove unneeded columns
  • Output the data

Output


4 data fields:
  • Branch
  • Clean Measure Names
  • Recorded Year
  • True Values
20 rows (21 rows including headers)

You can download the full output here

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

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text