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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

subtracts two subtotals from each other (account results) Sales minus costs.

Find a solution to add new line to array that subtracts two subtotals from each other (account results) Sales minus costs.

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You could open query editor, then unpivot all month columns and pivot the first column("AAA").

1-1.PNG1-2.PNG1-3.PNG

Column and row conversion will be easier for you to get another two subtotals, and you could get the original table with inverse conversion.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Something like below :

 
 
  JanFebrMarchAprilMay June
Sales 101520202530
Direct costs 71116151720
        
Gross profit 3445810
        
Sales cost 111111
Marketing 111111
Rent 111111
        
Nett profit 011257
        
Taks 00,50,50,50,51
        
Profit 00,50,51,54,56

Hi @Anonymous ,

 

You could open query editor, then unpivot all month columns and pivot the first column("AAA").

1-1.PNG1-2.PNG1-3.PNG

Column and row conversion will be easier for you to get another two subtotals, and you could get the original table with inverse conversion.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
amitchandak
Super User
Super User

@Anonymous , Can please provide how exactly you want. I doubt that is possible. 

 

But refer this link this might help for that

https://community.powerbi.com/t5/Desktop/Traditional-Financial-Statements/td-p/7223

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.