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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

P&L Custom Total Calculation/ Formating

Would like to ask for advise on the P&L - Budget vs Actual I need for our dashboard.

 

I need to show the bottom totals as "Total Cost of Goods Sold" (Income - Cost of Good Sold) and the total % of plan is (amount/budget amount).

 

Capture.JPG

is there anyway i can customize the bottom total? or can you suggest an alternative to get the calculations i need?

 

also, is it possible to show in 1 table the same information with the current month and year to date side-by-side?

 

thanks in advance.

 
6 REPLIES 6
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You may try to use ISINSCOPE Function to create a measure, see this blog for details:

https://xxlbi.com/blog/new-dax-function-isinscope/

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
FrankAT
Community Champion
Community Champion

Hi @Anonymous ,

take a look at Matt Allington's blog post at https://exceleratorbi.com.au/build-a-pl-with-power-bi/

Regards FrankAT

Anonymous
Not applicable

@FrankAT  - Thank you for the link! i was able to do the Plan and Actual Column. the Variance column and % Variance is still giving me a hard time. not sure if it is because it is from 2 different tables.

nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

You can change the row subtotal position as the bottom.



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂


Regards,
Nandu Krishna

@Anonymous 

 

Refer to this https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual#subtotals-and-grand-totals-with-matrix-visuals

 



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂


Regards,
Nandu Krishna

Anonymous
Not applicable

@nandukrishnavs  - would like to ask if you can show me? thank you

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.