Filter Dimension based on Another Dimension
Posted: Thu Apr 02, 2015 6:43 am
Hi there,
I have the following dimensions:
Positions dimension
Total Position
--010-123 Engineering
--ENG001 Engineer
--ENG070 Manager
--020-124 Information Technology
--IT001 Analyst
--IT070 Manager
Departments dimension
Total Company
--010 General Office
--010-124 Information Technology
--020 R&D
--020-123 Engineering
I have an attribute created in both Positions and Departments dimensions which contains the department code only like 010-0123 and 020-124. I managed to filter Positions dimension based on Departments dimension as follows,
({FILTER( {TM1SubsetAll( [m_Positions] )}, [m_Positions].[Department] = [h_Departments].[Department Code])})
However, I don't get the "Total Position" in the Positions dimension this way as it does not tied to department code.
How do I filter and get the "Total Position" at the same time?
Thanks in advance.
I have the following dimensions:
Positions dimension
Total Position
--010-123 Engineering
--ENG001 Engineer
--ENG070 Manager
--020-124 Information Technology
--IT001 Analyst
--IT070 Manager
Departments dimension
Total Company
--010 General Office
--010-124 Information Technology
--020 R&D
--020-123 Engineering
I have an attribute created in both Positions and Departments dimensions which contains the department code only like 010-0123 and 020-124. I managed to filter Positions dimension based on Departments dimension as follows,
({FILTER( {TM1SubsetAll( [m_Positions] )}, [m_Positions].[Department] = [h_Departments].[Department Code])})
However, I don't get the "Total Position" in the Positions dimension this way as it does not tied to department code.
How do I filter and get the "Total Position" at the same time?
Thanks in advance.