on 04-24-2015 11:12 AM
Hello Experts,
I hope you can help me.
We are running BPC NW V10.0 SP13
I have a Conversion File for External to Internal Mapping on the DATASRC Dimension.
See Image 01
I would now like to use the same 'External ID' to identify the mapping rules for two Dimensions, DATASRC and CATEGORY Member ID
See Image 02
The rules that determine how the External ID is mapped are subjective rather than derived from patterns present in ID. This means I cannot use any conditional logic to determine the mapping rules. For example, I cannot assume that all IDs that start with 99Z19 will need to be mapped the same way.
So the CATGORY Member ID needs to be hard-coded somehow.
Although it is simple enough to copy the entire worksheet and hold the mapping for each Dimension as separate w/sheets, this duplicates the amount of ongoing maintenance and turns 80 rules into 160 (a number which will rise!)
Is there a way of using javascript in the Formula column to identify the Internal Member ID for the CATEGORY Dimension.
If so, how would the Transformation File reference this?
Any help would be much appreciated
Thank You for all your suggestions.
The same External Member ID drives different rules for two different Dimensions.
And because the External Member ID is a complicated string of text, maintaining it in two separate worksheets duplicates the amount of ongoing maintenance, introduces risk and turns 80 rules into 160 (a number that will definitely rise)... but if it can't be done this way, then its simple enough to have separate w/sheets.
Thanks Again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy
Unfortunately changing the Format from Text to General did not solve the problem.
Any other ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
I am sorry, as I mentioned in my original post, the rules that determine how the External ID is mapped are subjective rather than derived from patterns present in the External ID.
For example, I cannot assume all IDs that start 99Z19 will be mapped to the same DATASRC and CATEGORY...
The DATASRC and CATEGORY that an External ID gets mapped to is based on a personal view rather than codified logic....
Is this the logic you were referring to?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy
I now understand your explanation, I have created a 'Master' mapping sheet and updated the Trans/Con files as suggested.
As you can see from the screenshot, if I drag down the VLOOKUP formula it does not drag the 'LOOKUP VALUE' down, it references the first cell everytime. I've tried to use standard Excel formulas in Conversion Files before and they never behave the way you would expect. Do I need to change a setting or write the look up differently?
If I can get round this issue, then this is a great solution to the problem I am trying to solve.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have seen complex conditional mappings in transformation files but not in conversion files. In conversion files the best way is to use javascript expressions.
Regards,
Leila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Vadim, I was having problems uploading the actual files.
So I have had to screenshot instead...............
Transformation File
Conversion File
As you can see, the Trans file assumes the CATEGORY is fixed to one Member.
But I want to use the External ID in the the DATASRC Conversion w/sheet and specify different CATEGORY Member IDs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jo,
I've already given you the solution, in your transformation file change the line
CATEGORY=*COL(13)
add line in the conversion section:
CATEGORY=MKT_C001.XLS!CATEGORY
in the conversion file add new sheet called CATEGORY
do your mapping for the category there.
If you want to only maintain in one place then all you need to do is create a master mapping sheet with datasrc and category mapping, in your category sheet and datasrc sheet you just do a lookup to the master sheet in the 2nd column, and in the first column you do a = to the master sheet so you don't have to retype all the members in the first column.
Andy
Hi Andy
This is the type of solution I am looking for, but I am not sure I understand your explanation fully.
Having two w/sheets but how do they both contain the External ID but maintained only in one?
Could you provide an example to help me understand this better?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jo,
You need to have a separate conversion sheet/file for each dimension, what you can do for category is that use the mapping for datesrc in your category line as well, just change the internal mapping column with category members.
CATEGORY=<datasrc_infoobject>
DATESRC=<datasrc_infoobject>
something like that.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jo,
"Is there a way of using javascript in the Formula column to identify the Internal Member ID for the CATEGORY Dimension." - in Formula column???? Not here!
You have to create separate conversion files for each dimension required and you can use javascript...
But can you explain the logic to be implemented in javascript??
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.