I have two record for one person in the data base with different description. But i want to display this information in Single Row in the Report in WEBI like EMP NO Desription1 Description2 like that. I am using XIR3.1
Is there a way to identify or seperate the two records from each other? if yes then perhaps this may help:
Data provider 1:
Select EMPID, Description
From Table
WHERE “Some filter condition to idetify one set of descriptions”
Data Provider 2:
Select EMPID, Description
From Table
WHERE “Some filter condition to idetify other set of descriptions”
in WebI report:
Merge the two data providers based on ONLY EMPID
create detail variable for each Description field as:
Description 1 = [data Provider 1].[Description]
Description 2 = [data Provider 2].[Description] * Associate the Detail variables to the EMPID dimension
when you select variable type as Detail, then it will give you an additional field below to select associated dimension…there you can associate it to EmpID
yes i have tried that, but it is giving multivalue error, and one more question, in the merge dimension i need to remove other mergedimension fileds except the EMPId? is this correct?
1)#MultiValue Error
Typically WebI exects 1-1 Relationship between the Dim and its associated Detail. (i.e. for any given value of the Dim it expects to have 0 or 1 matching value in the Detail) However, in some cases like this one, if there are more than one values in the Detail for each value of the Dim, then you need to check the “Avoid Duplicate Row Aggregation” option in the table properties to show all the values of the Detail.
2)
Yes. In this particular case, we need to make sure only EmpID is the common dimension.
Although I am not sure, other than the EmpID and the Description, what other fields you fetch in your Data Provider. Most probably, you will have to merge only on EmpID and convert all other fields as the Details of the EmpID for this particular case.
Do let me know if you have any additional fields that may be confusing you to decide whether they need to be Merged or Detailed.
I have removed all fields in the merge dimension except the Emm No, and created remaining objects as a detail object. Now i am getting the result as expected.
I’ve an interesting issue around Irfan’s post of aggregating text in single line.
I’ve a comment table where user’s comments are stored, and Irfan’s post helped me to aggregated multiple comments in to single line in the report level.
But since the underlying table is having multiple rows for the key-value pair i end up duplicating my fact table measures.
Is there any workaround to aggregate the comments and display it as single line against my fact table measure.
would like to know too, why you just don´t use Mohammed´s hint. Use crosstab or horizontal tab or something like that. IN case you just have an “displaying” issue, this should fix it within no time.
Hi bodiscussion
I know this is an old post, but wanted to know if you were able to get a solution to the #MULTIVALUE error.
I have encountered a similar situation:
Customer No → Preference1 → Pref2 → Name → adrs
XX45 → XYZ → ABC → cathy → NY
XX67 → BCZ → ABC → mary → NY
XX87 → XYZ → → erin → TX
XX97 → → ABC → karen → FL
The database has one column for Preferences.
I have created three queries and merged on Customer # but get multivalue error when i pull in Preferences. The main Qry fetches customer details like name and addresses etc.
I was hoping if any of you gurus have a solution to this.
Thank you in advance.
Leo