ciara
Occasional Contributor

Medical Costs-Cert Question

Hi,

I have trying to complete the Medical costs for 2 days now and I can figure it out. I created the list of roles:

ciara_0-1591723567178.png

Created EMP003 Employees-imported employees by roles data

ciara_1-1591723627802.png

Added Roles to SYS08 then imported the txt:

ciara_2-1591723693664.png

I try to amend the formula to take in EMP003 annd SYS08 Roles

Medical costs - IF Employed? THEN 'EMP003 Employee Drivers By Role'.Medical[LOOKUP: 'SYS08 Employee Details'.Department, LOOKUP: 'SYS08 Employee Details'.Role] ELSE 0

It keeps failing saying format of mapping used for lookup doesnt match any dimension of the source

1 ACCEPTED SOLUTION

接受的解决方案
Kanishq17
Community Boss

@ciara

it is not mapping issue, it is a syntax error in the formula, before EMP003 there are double quotes, it must be single quote ,

it shouls be 'EMP003..' but yours is showing "EMP003..' , correct the syntax, it should work fine

View solution in original post

12 REPLIES12
Kanishq17
Community Boss

@ciara

what is the target module where you are entering this formula,

it seems formula is correct as source contains e1 dept and role and mapping also maps to them, just ensure the dimensions are same

ciara
Occasional Contributor

@Kanishq17

Its the cert Q4 to get the medical Costs. I have tried this for 2 days different ways so I must be missing something

Kanishq17
Community Boss

@ciara

Can you attach a snip of the employee driver by role, sys employee details and the module where you are entering the formula

ciara
Occasional Contributor

The imports is it?
ciara
Occasional Contributor

Of the excel/text like the imports?

Kanishq17
Community Boss

@ciara

Yes, and where in the model are you loading the file

ciara
Occasional Contributor

ciara_0-1591786687764.png

I am loading this into EMP003

ciara_1-1591786830529.png

and the txt file to SYS08

ciara_2-1591787035783.png

imported to As

ciara_3-1591787102503.png

Kanishq17
Community Boss

@ciara

the data is loading correctly I suppose as the mappings look good, can you show the module snip where you are applying lookup to refer value from EMP003 module based on SYS08 mappings, also are values coming for other cost like phone etc?

ciara
Occasional Contributor

ciara_0-1591791971405.pngciara_1-1591792036712.png

It is the same for all costs