I have a hierarchy that looks like this :
Level 0 (member A)
Level 1 (members B and C)
I need to calculate the evolution of the production of this year compared to last year. I need to have this percentage for 'Level 1' of my hierarchy. And no matter the selection in my hierarchy, it always has to return the same percentage of 'Level 1'.
There is a filter for that hierarchy, so if I select a child/subchild of member B then it has to show the total percentage of all the childs of B and if I select a child/subchild of C, it has to show the total percentage of all the childs of C.
How can I do this with DAX?
Can you share a sample please? The function ALL may be needed in the DAX. But we can't write down more details if we don't have the data and its structure.