Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have a hierarchy table set up like this:
Related to an employee table by the 'ORG' column
I've tried using the SELECTEDCOLUMN, SELECTEDMEASURE, ALLSELECTED, and VALUES functions.
The "best" result I got was with the SELECTEDVALUE function, using the ORG column from my hierarchy table as an argument. However, it only returns a value when the last node is selected because SELECTEDVALUE only returns a value when only one value is selected. I wonder if there is any logic I could use to make this function or another one to return the ORG of the previous nodes when selected.
I need this to count the number of employees that are related only to the selected node and not all emplyoees from sub-categories like its shown here:
When UFA from L2 hierarchy is selected it should count 3 employees not 15.
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
8 | |
7 |