KajoData / Career & business
From accounting and controlling to data analysis: a first project
I show how to use finance knowledge in a small analytical project and prevent a join from doubling a monthly plan.

If you work in accounting or controlling and want to move towards data analysis, I would begin with a problem you already understand. Explaining why actual costs differ from a plan is a good example. Knowledge of documents, reporting periods and adjustments provides a useful starting point. The additional challenge is showing that you can build a repeatable path from the source to a conclusion and recognise what the figures cannot establish.
I do not assume that everybody working in finance already has every skill a data analyst needs. Roles and responsibilities vary. I suggest checking those skills through a small project: prepare two tables, reconcile totals, compare plan with actuals and recommend what to investigate next. The example below is synthetic. It is a learning exercise, rather than an instruction for posting transactions or accounting for a particular company’s documents.
Begin with the reader’s decision
In this fictional project, a manager wants to know which cost categories require explanation before the next forecast. They need amounts and an indication of whether the comparison is complete. They do not initially need a comprehensive financial reporting system. I choose one month, one fictional unit and two categories. This makes it possible to trace every record and notice when a technically valid calculation has been given an invalid interpretation.
I agree on what would count as a useful result. Here, that means comparing amounts in the same currency at the same level of detail, listing unexplained differences and preparing a question for the source owner. A decision to change the budget is a separate step. Exceeding a plan does not itself establish whether spending was unnecessary, poorly planned, shifted between periods or associated with a larger scope of work. The analysis should preserve those possibilities.
Translate domain knowledge into definitions
Before choosing a tool, I describe what an amount represents, which period it belongs to and what one row means. A row in the actuals source might represent a document line. A row in the plan might represent a monthly category total for a unit. Those levels are different. Joining them without recognising the difference can repeat the plan for every document line. Understanding the source helps identify this risk before it reaches a chart.
I also define signs and the treatment of adjustments. I do not remove a negative amount because it looks inconvenient in a visual. I first ask whether it represents an adjustment, a reversal or an import error. In this exercise, positive amounts increase cost and negative amounts reduce it. That convention is stated explicitly. A real project must agree on the meaning of its particular source rather than borrowing a sign convention from a tutorial without checking it.
Prepare two separate tables
The plan contains month, unit, category and planned amount. Actuals contain a line identifier, reporting month, unit, category and actual amount. Summary totals do not appear as additional source records. Separate fields for unit and category make the comparison easier to inspect. A combined label such as “November administration Alpha” may be readable, but it obscures the individual parts of the key and complicates checking which part caused a mismatch.
Within the plan, month, unit and category should form one unique combination. If there are two versions, I establish whether they represent successive approvals or an accidental duplicate. I do not automatically add them together. In actuals, similar amounts can be separate legitimate lines. Removing duplicates based only on category and amount could understate the result. A record key and a resemblance between values answer different questions. The preparation step needs to know which one matters.
Work through a small synthetic comparison
The following invented amounts describe one unit and one completed month. They share the same currency and comparison basis. I define variance as actual minus plan. A positive number therefore means a cost higher than planned. This is the convention of this report, rather than a universal judgement about whether the organisation is performing well or whether the spending was justified.
| Category | Plan | Actual | Actual minus plan |
|---|---|---|---|
| Tools | 100 | 120 | 20 |
| Services | 200 | 180 | -20 |
| Total | 300 | 300 | 0 |
The total variance is zero even though both categories differ from plan. Tools differ by 20 against a plan of 100, giving 20%. Services differ by -20 against 200, giving -10%. I do not average those percentages to describe the unit. For the overall result, I compare the totals: actuals of 300 and a plan of 300 give a variance of 0%. Each reporting level needs its own appropriate denominator. A percentage cannot safely be moved between levels without checking that definition.
If a new category has a zero plan, percentage variance against that plan has no defined value here. I show the amount and a label such as “no percentage basis” instead of entering zero percent. A missing plan may need investigation. Zero percent would suggest no variance and conceal that question. Missing information, a measured zero and an undefined ratio carry different meanings. The reader should be able to distinguish them from the description rather than guess from a blank chart.
Reconcile the source with the result
Before explaining causes, I record the number of actuals lines and their total amount. After each important preparation step, I compare those figures again. Any change needs an identifiable operation and a reason. A documented exclusion can be legitimate. Accidentally dropping a category cannot be explained as an analytical choice after the fact. Somebody should be able to follow the difference between those situations without asking the original author to reconstruct the work from memory.
I trace one line into a category total and then into the overall result. I also inspect an adjustment to check the sign. If the source has 120 for tools and the report has 240, I look for multiplication before changing the aggregation. Selecting an average instead of a sum might hide the symptom while creating a new error. Reconciliation should explain why the result is correct, rather than merely produce a plausible-looking number that survives a quick glance.
Recognise how a join can multiply the plan
Imagine joining a tools plan of 100 to two actual lines of 70 and 50. After expanding matching rows, the plan may appear beside both lines. Adding that plan column now produces 200 even though the approved plan remains 100. Actuals correctly add to 120. The resulting report can look convincing while comparing incompatible aggregations. The mistake concerns the meaning of the records even if the merge completes successfully and no warning appears on screen.
For this project, I first aggregate actuals to month, unit and category, then compare with the plan at that same level. I keep the detail separately so the amounts can still be explained. Microsoft’s Power Query merge documentation describes matching tables through selected columns and choosing a join type. I also inspect missing matches. A category present only in actuals should remain visible as an exception instead of disappearing silently from the comparison.

Use Power Query for a repeatable preparation task
When a similarly structured file arrives every month, I consider Power Query for importing and preparing it. Microsoft describes Power Query as a data preparation and transformation tool. My first scope would be modest: select the required columns, set their types, standardise agreed categories and produce the comparison. The steps should be understandable to the person inheriting the workbook. A longer list of transformations is not automatically evidence of a better process.
Refreshing repeats the saved steps, but the new input still needs inspection. A renamed column, a new category or a changed date representation may alter the result or interrupt preparation. I describe the expected input structure and review exceptions after refreshing. In the training project, I deliberately add an unknown category. I want to know where it becomes visible before it reaches the report as an empty label or disappears through a filter that nobody remembers setting.
Add SQL and a model when the task needs them
SQL becomes useful when the source lives in a database and I need to select or aggregate records. A first project can focus on filtering, grouping and joins. It does not need an elaborate architecture. I should nevertheless be able to explain why the result contains a particular number of rows. The checks used in the spreadsheet travel into the query and report. A different tool does not remove the need to reconcile amounts or establish the source’s level of detail.
In Power BI, I distinguish event tables from the dimensions describing them. Microsoft’s star-schema guidance associates dimensions with filtering and grouping, and facts with summarisation. That principle and a consistent fact-table grain are enough for an initial model. Adding more tables does not by itself improve the project. Quality becomes visible when a unit filter behaves as described and amounts retain their meaning throughout the report’s different views.
Separate an observation from a cost explanation
I can state that tools exceeded the plan by 20 in the synthetic example. I cannot yet state that somebody bought unnecessary licences. I need information about scope, dates, users and changes in the underlying arrangement. Perhaps the plan omitted an approved change or some source records have a different reporting interpretation. Here, those are hypotheses to investigate. The tutorial does not decide how a real document should be recognised in an organisation’s accounts.
A useful question to the source owner is part of the result: “Which lines create the difference of 20, and did the service scope change?” That is more actionable at this stage than a general instruction to cut costs. The first question can be examined against source records and agreed definitions. The second jumps straight to a management decision. An analyst can prepare that decision by showing alternatives, limitations and the missing information needed before recommending a particular course.
Build a portfolio around a synthetic case
For a public project, I create fictional lines, units and amounts. I do not copy a company report merely because its logo has been removed. Cost structures, supplier names and specific figures can still reveal organisational information. The value of the exercise lies in its reasoning, so an actual company export is unnecessary. A small table with a deliberate error often demonstrates more than a large file that cannot be explained or shared responsibly.
The project description includes the question, row definition, variance convention and reconciliation trail. I add one discovered issue, such as a duplicated plan after a join, and explain the correction. I do not claim savings or business impact that the exercise did not measure. I can accurately say that it prepares a comparison for a further discussion. That is a concrete result, with clear limits, and gives another person something specific to assess when looking at my work.
Assess skills through a completed task
When the project is finished, I ask whether I can trace every amount, explain a missing plan, detect a new category and reproduce the result after replacing the file. An uncertain answer identifies a useful learning task. Years spent in finance and courses watched do not answer these questions on their own. A completed exercise provides more direct evidence of the next skill to develop and of the knowledge that already transfers into analytical work.
I use that evidence when discussing a change of role. I can show a recognised grain problem, an improved preparation process and a readable explanation of a variance. If SQL is missing, I choose a filtering and grouping exercise. If communication is the obstacle, I ask somebody to read the result without assistance. The learning plan follows an observed difficulty. I do not need to reinvent my entire professional identity every time another reporting tool becomes popular.
Agree on when the report is ready
Readiness includes an agreed data cutoff. If actuals for one month are complete while another month is still being populated, the comparison needs to say so. A file’s refresh date does not establish that its source is complete. I preserve both pieces of information when they matter. Otherwise, an apparent cost reduction may simply reflect missing documents, while the reader interprets it as an operational success. The arithmetic can be correct and the conclusion still be premature.
I also inspect filters. Selecting a category should change plan and actuals consistently with the agreed definition. If one figure responds while the other remains the unit total, the comparison loses its meaning. In this small project, selecting Tools should show 100 and 120. I then return to the full view. This straightforward reading checks that the report preserves definitions across several states, rather than only looking correct in its opening arrangement.
A short handover note identifies the input version, the owner of category mappings, the refresh steps and the unresolved exceptions. I include the date on which the comparison was accepted for use. If the source changes, the next author has a clear starting point. A workbook should not depend on somebody remembering which of several similar exports was used. This documentation is small enough to maintain and directly supports repeating the analytical task.
Keep plan versions and time perspectives separate
I label the comparison version separately. An initial annual plan, a later forecast and actuals can represent three distinct datasets. Mixing two plan versions may produce a plausible total while answering a question nobody agreed on. For the first project, I select one version and display its name beside the result. Comparing several versions is a later extension with explicit labels. This helps readers distinguish a current forecast from the original commitment.
I also separate costs for a month from payments made in a month. Those categories can have different scopes and meanings. If a source describes payments, I do not label its chart as cost without confirming the definition. Finance knowledge can help recognise the issue, but the rule still needs to be documented consistently in the table, title and explanation. A definition mismatch can matter much more than a chart’s colour.
For a learning case, I can add a payment described as relating to another period and identify the question its presence raises. I do not need to invent accounting treatment for it. Recognising the need for clarification, naming the missing information and identifying who can confirm it are useful analytical skills. The comparison should preserve that limitation until the source’s meaning is established.
Explain one discrepancy before expanding the project
Start with a tools plan of 100 and actual lines of 70 and 50. Prepare the comparison at category level. Add a second category with a plan of 200 and actuals of 180. Explain why the overall variance is zero even though both categories differ from plan. Then add a category without a plan and decide how to display it. A larger dataset is unnecessary for practising these essential choices about what the result means.
Finally, write a short note for a manager: what is visible, what remains unknown and what you would ask next. Have another person identify the amounts and percentage denominator. If they want to inspect the source, the route should be clear. Continue with the Power Query guide and the SQL knowledge base. Choose the next tool in response to a concrete difficulty revealed by the project.
Key takeaways
Is accounting experience enough to become an analyst?
It helps with sources and definitions, but preparation and communication skills still need to be demonstrated through a concrete task.
How is variance defined in this example?
Actual minus plan. A positive amount is a cost above plan; the percentage uses plan as its denominator when plan is nonzero.
Why can a join double the plan?
A monthly plan may repeat for every detailed actual line. Align the tables at a comparable level before summarising the comparison.
AI was used in an automated way while working on this article. If you want to learn how to do it too, check out this project.
