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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
vasathi
Helper II
Helper II

Hierarchy level total

Team

i have problem in allocations in Hierarchy reports in Matrix.

Lets say i have 3 level (Age Summary / Age Group / Category) in my report

The 3 Node calclation is Closing balance * Average% 
i need a calculations
        in 2nd Node is sum of 3 node
        in 1st Node is sum of 2 Node

i don't know clue how to proceed for this calculation

vasathi_0-1655879073626.png

 

vasathi_1-1655879519682.png

Download Samples 

 




2 ACCEPTED SOLUTIONS
SpartaBI
Community Champion
Community Champion

@vasathi Something like this:
MEASURE =
SUMX (VALUES('TableName'[Node 3]),  [Closing balance * Average% (Measure)])
It will show in node 3 your measure and will sum up the values for node 2 and aso for node 1.


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

View solution in original post

SpartaBI
Community Champion
Community Champion

@vasathi please try:

SUMX ( 
	VALUES ( 'TableName'[Node 2] ), 
	CALCULATE(
		SUMX
			VALUES ( 'TableName'[Node 3] )
			[Closing balance * Average% (Measure)] 
	)
)

View solution in original post

5 REPLIES 5
SpartaBI
Community Champion
Community Champion

@vasathi Something like this:
MEASURE =
SUMX (VALUES('TableName'[Node 3]),  [Closing balance * Average% (Measure)])
It will show in node 3 your measure and will sum up the values for node 2 and aso for node 1.


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

Dear 

as per the calculation the 2nd level total showing correctly  and 1 level not summingup correctly

vasathi_0-1655983609841.png


Could you help me ....



SpartaBI
Community Champion
Community Champion

@vasathi please try:

SUMX ( 
	VALUES ( 'TableName'[Node 2] ), 
	CALCULATE(
		SUMX
			VALUES ( 'TableName'[Node 3] )
			[Closing balance * Average% (Measure)] 
	)
)

You are a great and helped me lot.

thanks again

SpartaBI
Community Champion
Community Champion

@vasathi my pleasure my friend.
Will really appreciate your Kudos on my messages 🙂
P.S.
Check out my showcase report - got some high level stuff there.
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over ther if you liked it 🙂

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors