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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MiguelSaldana77
Resolver I
Resolver I

Calculations at the same table

Hi everybody
Do anybody know what I need to do calculations at the same table like this?

Calculation.jpg

4 REPLIES 4
d_gosbell
Super User
Super User

If header and concept are separate columns in your data model this should work without having to do anything special. You would just put the Header and Concept on the rows of a matrix visual then right-click on a header item and choose "expand entire level".

2019-07 hierarchy subtotals.png

 

To get the subtotals at the bottom you just have to go into the Formatting settings for the matrix and change the subtotal position setting to Bottom

2019-07 row subtotal position.png

Thanks @d_gosbell  but the real problem is to make the last calculation (see image Calculation2.jpg)

Sorry I did not realise there was any difference between the different dashes in that line. You could implement something like unary operators to solve this (see https://www.sqlbi.com/blog/alberto/2011/03/01/powerpivot-parent-child-and-unary-operators/)

TomMartens
Super User
Super User

Hey,

 

I'm pretty sure that this site https://www.thebiccountant.com/ will provide you the solution you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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