Hi, I have two transaction lists:
TBL_employees - a transaction list that includes information relating to each employee at the end of each month
TBL_accounting - a transaction list that includes all the journal entries from our accounting software
In the TBL_accounting we have a dimension called EMPLOYEE_ID, this dimension contains the ID of an employee for all journal entries that relate to a specific employee (ex. salaries), and a dimension MONTH that contains the month of the journal entry.
In the TBL_employees we have the same two dimensions - EMPLOYEE_id and MONTH as well as a dimension called EMPLOYEE_category which specifies if the employee is a manager or an individual contributor.
What I want to do is add the dimension EMPLOYEE_category into TBL_accounting using the EMPLOYEE_id and MONTH dimensions as filters but I can’t find a formula that works.
The challenge is that the EMPLOYEE_category can vary for the same EMPLOYEE_id depending on the month (ex. an employee being promoted), so I’m not sure if I should use a FILTER or a BY, and how to make it work? I’ve tried the following:
TBL_employees.EMPLOYEE_category
_FILTER: TBL_employees.EMPLOYEE_id = TBL_accounting.EMPLOYEE_id]
OFILTER: TBL_employees.MONTH = TBL_accounting.MONTH]
but I get the following error message: Error: Dimension error: the FILTER modifier cannot filter over a Dimension which is already not there. Missing Dimension: EMPLOYEES_application::TBL_employees,TBL_accounting)
Any help would be much appreciated!