BPC Conversion File - Same External ID for different Dimensions
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
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.
Similar Messages
-
Can i use the same email address for different users?
we are a small department with one email address, can i use the same email address for different users?
No. Each user needs to have his unique ID.
Mylenium -
Same preparedstatement object for different queries.. ?
Actually I m getting same preparedstatement object for many queries in a for loop..In this scenario its not working properly..Suppose like dis..
connection con.setAutoCommit(false);
PreparedStatement prepStmt = con.prepareStatement(
"UPDATE DEPT SET MGRNO=? WHERE DEPTNO=?");
prepStmt.setString(1,mgrnum1);
prepStmt.setString(2,deptnum1);
prepStmt.addBatch();
PreparedStatement prepStmt = con.prepareStatement(
"UPDATE EMP SET EMPNO=? WHERE DEPTNO=?");
prepStmt.setString(1,empno1);
prepStmt.setString(2,deptnum2);
prepStmt.addBatch();
Whether we can take same preparedstatement object for different query..??Its not giving any error but its not updating all the records but only the last one...
Any solution..kriti123 wrote:
Actually I m getting same preparedstatement object for many queries in a for loop..In this scenario its not working properly..Suppose like dis..
Ignore all of the above.
You are using a batch.
There is a specific idiom for that. You create the statement once and then keep calling the appropriate methods on it to load and then execute the batch, and check errors.
When done you close it. If you need commit you are going to need to deal in blocks.
If you have a large volume of data then database import tools are very likely to be substantially faster. -
Can we use same number range for different fields
can we use same number range for different fields. how can we see the number range defined for a particular field
Hai,
Yes you can have same number range for different fields by using the same domain to the data elements that are user to your two fields.
To see the range:
Go to SE11,Type table Name open it-->double click on the DataElement adjasent to the field name ,You will get Domian ,Double click on Domain You will get Domain.There See Value range option .Value range cam also be defined by Value Table which will also at the Doamin level.
<b>Reward points if it helps you.</b>
Regds,
Rama.Pammi -
Different aggregation for different Dimensions
Hello,
is it possible to have different aggregations on different dimensions.
I have following situation:
I have a measure per client and day.
I'm interested in the maximum per month from the daily sums over clients.
In the measure properties I can only choose between Maximum and Sum in general but not per Dimensions.
To clearify what i mean here is some sample data.
* * Client A * Client B *
* 2014-11-28 * 7 * 8 * SUM() = 15
* 2014-11-29 * 6 * 8 * SUM() = 14
* 2014-11-30 * 6 * 10 * SUM() = 16 <-- monthly max
* 2014-12-01 * 7 * 8 * SUM() = 15
* 2014-12-02 * 5 * 12 * SUM() = 17 <-- monthly max
* 2014-12-03 * 6 * 9 * SUM() = 15
This data is stored in my fact table with reference to date and client dimensions.
This example data would have to be reported as:
/* Report on measure
* * Measure *
* 2014-11 * 16 *
* 2014-12 * 16 *
* Report on measure per client
(max per client and month)
* * Client A * Client B *
* 2014-11 * 7 * 8 *
* 2014-12 * 7 * 12 *
Can this be achieved with SSAS? Didn't find any property for that on the measure.
Best Regards,
ThomasHi Thomas,
According to your description, you want to calculate different aggregation for different dimensions, right?
Based on your scenario, I tested it on AdventureWorks cube, the query below is for you reference.
with member [Customer].[Country].[USA & Canada] as
Aggregate( { [Customer].[Country].&[United States],
[Customer].[Country].&[Canada]
member [Measures].[MaxAmount]
as
max([Date].[Calendar].currentmember.children,[Measures].[Internet Sales Amount])
select {[Customer].[Country].&[United States],[Customer].[Country].&[Canada],[Customer].[Country].[USA & Canada]} on 0,
[Date].[Calendar].[Month].members on 1
from
[Adventure Works]
where [Measures].[MaxAmount]
Here is similar thread with yours, please see:
https://social.technet.microsoft.com/Forums/en-US/1bd493ef-f957-4fd5-916b-ee60639106c3/calculated-member-different-aggregations-on-different-dimensions?forum=sqlanalysisservices
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
Use same external drive for itunes in mac and windows?
Hi,
I have a Macbook Air that has bootcamp and I use 99% of my time under Windows 7.
All of my music and movies are on an external hard drive and I have a problem using
it for iTunes under Windows and the Mac at the same time.
Is it possible to have both versions point to the same external drive?
I tried almost everything but it fails as the file paths are stored once and for all in
the iTunes library file.
When booting under OS/X and opening iTunes, it loads the .itl file and shows all music
but of course it doesn't see anything since the path under OS/X has nothing to do with
the one under Windows.
My iTunes lib was created under Windows and all files are stored in a variation of:
J:\Private\My Music\iTunes[Rock | Classical | Soundtracks]
Under OS/X of course the path is totally different:
/Volumes/DRIVE_J/Private/My Music/iTunes/[Rock | Classical | Soundtracks]
Now if I reimport everything in iTunes for OS/X it will change all the paths and then
Windows will not be able to fetch the files.
Isn't there a way to have relative paths so both the OS/X and Windows versions
of iTunes work flawlessly without caring at all about which OS is running?
This is driving me nuts.
I'm not talking about Sharing an iTunes library over a network. I want to share the
same physical folder between Windows and OS/X
Thanks for any help.
SteveAnyone?
-
Hi experts,
I am really newbie for this aspect. really need advice.
we usually using like below in conversion file:
external internal formula
* js:%external%.toString().replace(/\s+/g,"")
in transformation file:
*conversion
ACCOUNT=ConversionFile.xls!ID
is it possible to fetch data from other dimension in ConversionFile.xls ?
cause i have requirement to move data transaction between BPC cube with some logic.
as example,
- source transaction data:
ACCOUNT CP_REL ENTITY INTERCO
no_account cp1 e1 intc1
no_account cp2 e2 intc2
- logic process:
CP_REL ACCOUNT
cp1 a1
cp2 a2
- destination transaction data:
ACCOUNT CP_REL ENTITY INTERCO
a1 cp1 e1 intc1
a2 cp2 e2 intc2
what i want to do is, in account ConversionFile.xls, i want to fetch current data of CP_REL, if(%external%=cp1 then a1; a2)
thank you.Hi Chris,
many thanks for your reply. that is exactly what i want to do.
another question is
is it possible to map 1 to many?
1 row of source data generate many rows of destination.
for example:
- source transaction data:
ACCOUNT CP_REL ENTITY INTERCO
no_account cp1 e1 intc1
no_account cp2 e2 intc2
- logic process:
CP_REL ACCOUNT1 ACCOUNT2
cp1 a1 a2.1
cp2 a2 a2.2
- destination transaction data:
ACCOUNT CP_REL ENTITY INTERCO
a1 cp1 e1 intc1
a2.1 cp1 e1 intc1
a2 cp2 e2 intc2
a2.2 cp2 e2 intc2
Hi Vadim,
any advice is welcoming. thank you.
Thank you. -
BPC: Conversion File Formulas
Hi all,
Would appreciate your help with the following scenario...
I have a conversion file that converts account ID's, however if it has a certain External account number I would like to use a formula to go pick up a property from the Entity Dimension and use that property value as the Internal Account.
I am hoping I can use the Formula column, but currently I have limited expericence with entering formulas on Conversion files.
I am very appreciative of any formula samples.
Many Thanks,
BrianBrian,
Unless another user has the correct script and I have never used it, I don't think the process you have in mind is an available conversion technique. Since the conversion file is basically a 2 column replacement process sheet, you should be able to copy the members into the conversion sheet, execute a property lookup using evpro, and then copy-paste-value to convert the properties to text that would be used in the conversion process. The only downside is that this would need to be performed after any property changes or updates to the dimension file.
In addition, I would suggest logging this as an enhancement request with support; I think that this has been requested in the past, but if it is a very useful tool, then product development should see a case for adding the functioality to BPC
Thanks. -
Same error cluster for different instrument drivers?
Hi All...
mz question is regarding error cluster wiring for different instrument drivers. As u can see from attached file, i have 3 different devices with drivers. At the beginning i initialize and configure each one by wiring adresses and error clusters individually. After that i want use measruement vi's with an order. That s why I would like to use same error cluster for those 3 different measurment drivers as illustrated in the picture. is it possible?
second question is that at the beginning in the initializing process, i do not set any order of those 3 devices. VI would try to initialize all of them at the same time which is not possible due to serial GPIB? Do i need to determine any sequences of initializing of devices?
thanks
Attachments:
vi scheme.JPG 19 KBYour sceme is fine. The error cluster is a generic container to pass any error that can occur from one function to the next. Normally, if a function has it's Error In terminal connected and an error is passed in from a previous function, that function will not do naything except pass the error through so it can be handeled in you code.
Since your running on serial, just "serialize" your initialization functions using the error cluster to set the order. This way only one will be running at a time. It doesn't matter what order.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
Message-Mapping: Use same RFC lookup for different target fields
Hello,
I need to apply an RFC Lookup which delivers a boolean flag back (true or false). This RFC lookup should be used for different target fields.
Is there a way to execute the RFC lookup just once and then store the result in an internediate variable that I can use for all futher checks for different target fields?
If this is not possible and I have to apply the RFC lookup for all necessary target fields is it then executed for each target field ? This is exactly what I want to avoid in order not to slow down performance.
The input parameter (=source field value) would be the same.
Thank you for your advice!Exactly.
Here is a UDF example I have that you could adapt to your needs.
Set
public String setCounter(String a,String b,Container container){
/* Store values in global datacontainer
a: mapping value and return valueparameter
b: name for stored value parameter
GlobalContainer myGlobalContainer;
myGlobalContainer = container.getGlobalContainer();
myGlobalContainer.setParameter(b.toUpperCase(), a);
return a;
Get
public String getCounter(String a,Container container){
//write your code here
GlobalContainer gc = container.getGlobalContainer();
if (gc.getParameter(a) != null) {
return String.valueOf(gc.getParameter(a));
} else {
return "1"; -
The same output message for different partner roles
Hi All,
Is it possible to create automaticaly in PO the same output message type ( for example - 'mail') for different partner roles( for example - 'VN' and 'OA') ?
If it's possible,then how?
Thanks.
LizaHi,
Thank you ,but I have a next problem:
When I tried in transaction mn05 to add second record for the same output type for other partner roles.
I got error message "The condition record entered already exists".
Regards,
L. -
Issues of using same enhancement set for different components
Hi experts,
I have an issue when using the same enhancement set(ZCRM_EHSET) for two different components IUICMD & IUICMRD. Component IUICMRD has two views IUICMRD/MainVS & IUICMRD/MeterReading and these views have been copied to Component IUICMD.
Now, i am getting the following error, when i try to access AccountSearch view of component IUICMD
Context initialization failed in view IUICMRD/MeterReading of UI Component IUICMD
An exception has occurredException Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_IUICMD_BSPWDCOMPONENT_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_IUICMRD_BSPWDCOMPONENT_IMPL
Method: CL_IUICMRD_METERREADING_IMPL=>DO_INIT_CONTEXT
Source Text Row: 10
Let me know how i can solve this. Is there any precautions that i should have taken before using the same enhancement view for two different components.
Thanks in advance.......................
Regards,
PrabaharHi Bharathy,
Thank you for the reply which helped me to come close to the solution.
I hope you reply will solve the second part of my question where i get MOVE_CAST_ERROR.
My first Question is still unanswered and i request you to provide solution if you have any. I worked on CRM 4.0 and CRM 2007 is new to me.
My first question is below.
I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
Is it the std behaviour that views from one component is copied to other when you try to use the same enhancement set? Kindly let me know if you faced similar situation.
Best regards,
Prabahar -
Same batch number for different order materials
Hi, pls advise can we assign same batch no's for different production order finished products?
Yadav,
Yes, it is possible to assign the same batch number to different production orders in the Order Goods Reciept tab. If you are not maintaining any batch in this field then you can manually create a batch in MSC1N and use the same when making GR using MB31 or MIGO.
Regards,
Prasobh -
Different execution plan for same query but for different condition value
Hi All,
I'm facing a strange situation where same query for different condition not working.
1--
Select top 10 * from revenuefact(nolock)
where feecode ='OW4'
2--
Select top 10 * from revenuefact(nolock)
where feecode ='BTE'
1st query is returning result easily but 2nd query is taking too long. Column
feecode has already Non-clustered index and Clustered index is also available for another col RevenueSID.
I was surprised when checked the query execution plan for both the above queries which is quite different (as per attached below). Can anyone suggest me the reason behind it.
And solution for the same. One more thing that data for feecode BTE is inserting through different source instead of others feecode and table contains more than 300 million rows.When I speak with people inside Microsoft who work with the optimizer, the refuse to accept the work "bug" when a query produces the correct result, but with a suboptimal plan. They prefer to use the word "limitation".
The limitation here is that when the optimizer compares two plans, it only looks at the estimated cost. As far as I know, it does not perform any analysis from the perspective "what if the statistics are wrong"? They do provide the hint OPTIMIZE
FOR UNKNOWN, but that does not work then there is a constant as in this case.
The optimizer will surely distinguish between TOP 10 and TOP 10000000. With the latter, you have all reason to expect a Clustered Index Scan no matter which value you search for - unless you pick a value for which the histogram indicates that there are no
rows.
Interesting enough, I was able to reproduce the situation in my Northgale database, which is an inflated version of Northwind, and where statistics should be accurate.
SELECT TOP 10 * FROM Orders WHERE EmployeeID = 8
results in a CI scan, and so does also EmployeeID = 7, and even 5. There are only 2292 rows out of a total of 344305 rows. If I try EmployeeID 808 for which there are 1797, the optimizer goes for the index seek.
Erland Sommarskog, SQL Server MVP, [email protected] -
Using icloud calendar to track my mtgs and meeting space reservations. Once I enter my appt, I can't put the SAME appt in the same spot, for other managers' calendars, or the meeting space, without creating each as a mtg at a differnt time & then correcting that? Because it doesn't seem to let me work in a space that is already "occupied"... Help!
Delete all Locations and use Automatic.
When you enter the password for each sub-node, OS X remmebers it, so if you travel it just connects to the next sub-node.
Locations is used for different networks with totally different setups, not just passwords.
Maybe you are looking for
-
How can i receive the information from a form ?
I created a form in Dreamweaver CS5 with some input fields and with a send button. The question is how can I receive the information that is filled in by the visators. Where can I tell to which email adress the information has to be send. Where can I
-
iMovie '11, what steps am I missing, when I go to SHARE, IDVD is grey and not activated, only ITUNES and MEDIA BROWSER? I want to burn a DVD.
-
How to configure release procedure for rate contracts release
Dear all, How to configure release procedure for rate contract following are the requirements they are two release codes c1 & c2 <=100000,>=100000 if c1 is not there c2 has to be approved Change in the value of the rate contrac
-
I have a problem with my 2009 Macbook Pro 13". It has crashed during a firmware update, and now it won't boot but only beeps "SOS". I went to a couple of Apple Service Providers, but they could not help me restoring the firmware, the only solution se
-
JDeveloper 10g and Table Viewer
For JDeveloper 10g, after creating a connection under the database node, right-clicking on a synonym or table does not provide a Table Viewer option in the popup menu. Additionally, double-clicking the synonym or table does not open the table viewer,