Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
mgiusto
Helper I
Helper I

Complicated Financial Reporting in Power BI

I have a user request where we have a Matrix of financial data, where we group items by Gross  Revenue items and Expense items, there is  a need to total the Gross Revenue items together and then deduct one of the Expense groupings from this Gross Revenue which would give us Net Revenue and display this below the Expenses row in the Matrix.

Since this is on-the fly calculations I am completely unsure how to even make this happen or if it's possible at all.  I've attached a screenshot of the Matrix where I manually typed in the Net Revenue row to show what we are looking for. 

 

mgiusto_1-1750458665127.png

What we want is a new Net Revenue row (in Blue) which is the Gross Revenue total (in Green) minus the Expenses 1 total (in Red).
Notice that the matrix will then have to continue with additional Expense lines (Expenses 1 and Expenses 2) and at the end of these, we will want another calculated row, similar to Net Revenue. It would be Net Revenue minus Expenses 2 and Expenses 3, This would be Net Profit.

Is this even possible?  Thank you for any feedback.

1 ACCEPTED SOLUTION
SamsonTruong
Impactful Individual
Impactful Individual

Hi @mgiusto ,

Yes, this is definitely possible in Power BI, though it requires a more customized setup.

One approach is to create a separate measure for each line item in your financial statement, including calculated rows like Net Revenue and Net Profit. Then, instead of placing fields in the rows of your Matrix visual, you'll:

  • Leave the Rows section of the matrix blank
  • Add all of your custom measures to the Values section
  • Keep your existing fields (e.g., Month) in the Columns section
  • Navigate to the matrix visual settings and toggle the option "Switch value to rows"
    SamsonTruong_2-1750460857157.png

This will display each of your measures as a row in the matrix, which matches the layout you're looking to achieve and includes custom calculations that do not exist in the underlying data.

 

If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.

Thanks,

Samson

 

Connect with me on LinkedIn

Check out my Blog

Going to the European Microsoft Fabric Community Conference? Check out my Session

View solution in original post

4 REPLIES 4
mgiusto
Helper I
Helper I

Samson, 

 

You my friend are amazing!  You nailed it exactly!

mgiusto_0-1750474124333.png

The only issue is I lose the hierarchy ablility to expand or collapse out the rows like I was able to before in this matrix. I also have no way of formatting the total rows like Gross Revenue and Net Revenue to make them stand out.  Unless you know how to do what I am looking for. Let me know.

 

But really happy I can show something close to what we are looking for. Thank you so much!

 

Michael

Hi @mgiusto ,

Unfortunately, with this method, you do lose the ability to expand or collapse rows. However, you are still able to apply some formatting to make the total rows standout. You can apply formatting in the visualizations pane in the "Specific column" section. While the formatting options are more limited in this layout, what I've done in the past is change the font color for key rows to make them more visually distinct.

SamsonTruong_0-1750720760020.png

 

SamsonTruong
Impactful Individual
Impactful Individual

Hi @mgiusto ,

Yes, this is definitely possible in Power BI, though it requires a more customized setup.

One approach is to create a separate measure for each line item in your financial statement, including calculated rows like Net Revenue and Net Profit. Then, instead of placing fields in the rows of your Matrix visual, you'll:

  • Leave the Rows section of the matrix blank
  • Add all of your custom measures to the Values section
  • Keep your existing fields (e.g., Month) in the Columns section
  • Navigate to the matrix visual settings and toggle the option "Switch value to rows"
    SamsonTruong_2-1750460857157.png

This will display each of your measures as a row in the matrix, which matches the layout you're looking to achieve and includes custom calculations that do not exist in the underlying data.

 

If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.

Thanks,

Samson

 

Connect with me on LinkedIn

Check out my Blog

Going to the European Microsoft Fabric Community Conference? Check out my Session

Samson,

Would this mean just having Gross Revenue, Net Revenue & Net Profit as my measures and I would lose the ability to have a matrix with the hierarchy shown in my screenshot?

 

We would like to maintain that hierarchy, but if it's not possible maybe what I can do is create what you are talking about as another visual below my matrix just showing these new calculated measures with the values that do not exist in the data???

Is this how I should go about it or is there a way to do what you are saying within the matrix?

 

Michael

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.