Forum Discussion

vasathi's avatar
vasathi
Icon for Helper II rankHelper II
4 years ago
Solved

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

 



Download Samples 

 




5 Replies

  • SpartaBI's avatar
    SpartaBI
    Icon for Community Champion rankCommunity 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.


    In case it answered your question, please accept the solution to help other members find it. Appreciate Your Kudos.


    SpartaBI Logo

    Visit SpartaBI website   Visit SpartaBI Linkdin   Visit SpartaBI Facebook

    Showcase Report – Contoso By SpartaBI

    • vasathi's avatar
      vasathi
      Icon for Helper II rankHelper II

      Dear 

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


      Could you help me ....



      • SpartaBI's avatar
        SpartaBI
        Icon for Community Champion rankCommunity Champion

        vasathi please try:

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