How To Create Profit And Loss (P&L) Statements In Power BI (2024)

In this tutorial, I’ll be teaching the Profit and Loss, or P&L statement, in Power BI. You may watch the full video of this tutorial at the bottom of this blog.

I’ll show you how to create a table or matrix of financial information. This technique is perfect for financial reporting, especially for those who are in the finance field such as accountancy firms.

How To Create Profit And Loss (P&L) Statements In Power BI (1)

I recommend doing this in Power BI since it can produce financial reports like P&L statements and balance sheets in a very compelling way.

Table of Contents

Dynamic Filtering In Reports

Within this matrix, you can see a comparison between Actuals versus Last Year.

How To Create Profit And Loss (P&L) Statements In Power BI (2)

But you can also change it to Actuals versus Budget because Power BI allows you to dynamically change what you’re showing inside a table.

How To Create Profit And Loss (P&L) Statements In Power BI (3)
How To Create Profit And Loss (P&L) Statements In Power BI (4)

This is just a measure, but it’s being determined in a dynamic way.

You can also jump between time frames.

How To Create Profit And Loss (P&L) Statements In Power BI (5)
How To Create Profit And Loss (P&L) Statements In Power BI (6)

This would be difficult to do in Microsoft Excel. Financial reports and analysis are best done inside Power BI because you can utilize the dynamic filtering inside your model.

How To Create Profit And Loss (P&L) Statements In Power BI (7)

You can select different areas of your report which filters the other visuals in your report page or in your Power BI model.

How To Create Profit And Loss (P&L) Statements In Power BI (8)

Setting Up The Matrix

In making the table to showcase financial information, there are a few things that don’t automatically get created. You need to make some adjustments and changes to the formats.

But once you understand how it’s done, you’ll quickly see that you’re able to do reporting effectively for any financial report such as balance sheets, cash flow statements, or profit and loss statements in Power BI.

For the example, I’m going to create a new page and matrix.

How To Create Profit And Loss (P&L) Statements In Power BI (9)

Now, I’m going to find all the filters. By looking at the model, you’ll see that there’s a Date filter and Financial Categories at the top.

How To Create Profit And Loss (P&L) Statements In Power BI (10)

There’s also the Financial Data table where all the information and results are stored.

How To Create Profit And Loss (P&L) Statements In Power BI (11)

The contents of the Financial Data table show a result for each entity for every single month.

How To Create Profit And Loss (P&L) Statements In Power BI (12)

Building The Matrix

Now, let’s build the matrix.

The first thing you need to do is fill in or select the dimensions you want inside the matrix.

Let’s start by grabbing the Sub Category, which is the breakdown of revenue and expenses, from the Rows field. Then, I’m going to grab the Category and Financial Statement List.

How To Create Profit And Loss (P&L) Statements In Power BI (13)

This breaks things down line by line.

I’ve already created my Key Measures. I’m going to put Actuals and Budgets into the Values field.

How To Create Profit And Loss (P&L) Statements In Power BI (14)

You can see that it’s possible to stick the Measures one by one next to each other.

The last thing I’m going to do is put the Financial Quarters, which is located in the Dates field, into the Columns.

How To Create Profit And Loss (P&L) Statements In Power BI (15)

Now, you can see that the breakdown created doesn’t show all the information in one matrix or table. Currently, there’s only Revenue and Expenses.

How To Create Profit And Loss (P&L) Statements In Power BI (16)

You can go to the next level in the hierarchy by selecting the double arrow down.

How To Create Profit And Loss (P&L) Statements In Power BI (17)
How To Create Profit And Loss (P&L) Statements In Power BI (18)

Selecting it again will take you to another level in the hierarchy.

How To Create Profit And Loss (P&L) Statements In Power BI (19)

This selection in the levels of hierarchy is simply allowing you to jump between the three different dimensions you have inside the Rows field.

How To Create Profit And Loss (P&L) Statements In Power BI (20)

However, this isn’t good enough. Everything should be stacked together.

Go back to the first part of the hierarchy using the drill button or the up arrow.

How To Create Profit And Loss (P&L) Statements In Power BI (21)

Then, you’ll see this combined double arrow down.

How To Create Profit And Loss (P&L) Statements In Power BI (22)

This allows you to expand all down one level in the hierarchy. Selecting this twice makes the matrix go through all the dimensions one by one and indents them.

How To Create Profit And Loss (P&L) Statements In Power BI (23)

You can see that the matrix now has a very common look in financial statements and reporting.

Adjusting The Profit And Loss Statement

Let’s do another example. If you can recall, the first Profit and Loss statement has the Sub Category, Category, and Financial Statement Breakdown side by side and not just indented.

How To Create Profit And Loss (P&L) Statements In Power BI (24)

Here’s how to make the adjustment.

Select the matrix. Head over to the Format section and go to Row headers.

How To Create Profit And Loss (P&L) Statements In Power BI (25)

Turn off the Stepped layout option.

How To Create Profit And Loss (P&L) Statements In Power BI (26)

Turing this off will break up the dimensions and put them side by side. It will also change the headers of the different dimensions.

How To Create Profit And Loss (P&L) Statements In Power BI (27)

This puts things in a very chronological way. This looks the same as the Microsoft Excel pivot table, however, Power BI has an additional functionality.

***** Related Links *****
Financial Reporting In Power BI – Member-Only Training Event
Expanding On Financial Reporting Templates, Next Enterprise DNA Member-Only Event
New Financial Reporting With Power BI Official Course Launch

Conclusion

There are many applications for this technique. You can use this across any type of information that you want to put into a matrix or table.

Its filtering ability also allows you to focus on certain areas in the matrix. The selections you’ve made are also going to flow down to other visualizations thereby creating a well-integrated report.

Cheers,

Sam

[youtube https://www.youtube.com/watch?v=-jpYwz8-oYc?rel=0&w=784&h=441]

How To Create Profit And Loss (P&L) Statements In Power BI (2024)
Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6296

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.