Hierarchical Summary
Hi Guys,
I need help in calculating totals for the hierarchy node and its direct children..
I have hierarchy structure like..
Manager
Sub manager 1
John
Mike
Jim
Sub manager 2
Tom
Jugad
Steve
And values are like
Designation Sal Parent
Manager 5000 NULL
Submanager1 3000 Manager
Submanager2 3500 Manager
John 1500 Submanager1
Mike 1700 Submanager1
Jim 1500 Submanager1
Tom 1800 Submanager2
Jugad 1500 Submanager2
Steve 1200 Submanager2
I want to sum the totals across hierarchy in such a way that
i get only the sum of parent and its direct children like...
Designation Sum
Manager 11500 --> (5000+3000+3500)
Submanager1 7700 --> (3000+1500+1700+1500)
John 1500
Mike 1700
Jim 1500
Submanager2 8000 --> (3500+1800+1500+1200)
Tom 1800
Jugad 1500
Steve 1200
Can you guys please reply.....
Its literally killing me...
Thanks
Hi Guys,
I need help in calculating totals for the hierarchy node and its direct children..
I have hierarchy structure like..
Manager
Sub manager 1
John
Mike
Jim
Sub manager 2
Tom
Jugad
Steve
And values are like
Designation Sal Parent
Manager 5000 NULL
Submanager1 3000 Manager
Submanager2 3500 Manager
John 1500 Submanager1
Mike 1700 Submanager1
Jim 1500 Submanager1
Tom 1800 Submanager2
Jugad 1500 Submanager2
Steve 1200 Submanager2
I want to sum the totals across hierarchy in such a way that
i get only the sum of parent and its direct children like...
Designation Sum
Manager 11500 --> (5000+3000+3500)
Submanager1 7700 --> (3000+1500+1700+1500)
John 1500
Mike 1700
Jim 1500
Submanager2 8000 --> (3500+1800+1500+1200)
Tom 1800
Jugad 1500
Steve 1200
Can you guys please reply.....
Its literally killing me...
Thanks