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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
cmsam
New Member

How to add a calculated rows to Power BU Matrix for presenting a P&L statement?

How to add a calculated rows to Power BU Matrix for presenting a P&L statement?

Data source:

Q2.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Matrix

Q1.JPG

3 REPLIES 3
danextian
Super User
Super User

Hi @cmsam ,

You  will need to create a dimensions table containing the rows you need and use a measure to return the desired value  based on the current row value from that column. I have attached a sample pbix to help you get started with.

danextian_0-1716438357081.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Hi @cmsam ,

Thank you for @danextian and @amitchandak answer,

Have your question been solved, if so please mark the correct answer as a reply!

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@cmsam , Refer if blog and videos can help

 

Power BI How to get the P&L formatting right: https://youtu.be/C9K8uVfthUU
Power BI How to get two columns format Profit and Loss Statement(P&L) right: https://youtu.be/WLg85yiMgHI
https://medium.com/microsoft-power-bi/power-bi-formatted-p-l-with-custom-sub-totals-and-blank-rows-e...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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