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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Profit & Loss DAX Help

Hi,

 

Below shows the Power BI Report I am working on.

PL_Help_2019-08-06_1644.png

I need to add some rows based calculations to the Profit & Loss - Last Month shown but keep the matrix layout.

Below shows the final result I am after. Any help writing the dax for this would be appreaciated.

PL_Help_2019-08-06_1649.png

Cheers

John

1 REPLY 1
dax
Community Support
Community Support

Hi ozbroomy,

It seems that you want to refer to previous calculated result and you want to add custom subtotal in Matrix, right?

As I know, there is no custom subtotal setting for Matrix, you might need to create a column to define  a group like below, then it will show like a subtotal

189.PNG

By the way, if possible, could you please inform me more detailed information (such as your sample data and your expecting output)? Then I will help you more correctly.

Best Regards,
Zoe Zhi

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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