on 12-25-2009 8:07 AM
Hi all,
I have a requirement in WebI report to show all characteristic values from master data, whether this characteristic value exists in transaction data (InfoProvider) or not.
From the following post: , I found that it's possible to show characteristic value from master data if we don't include key figure in query panel, but in my case I need to include and use the key figure.
This is possible in BEx, by setting the characteristic property (Advanced tab) for "Access Type for Result Values" = "Master Data" in Query Designer. Unfortunately, eventhough I have set this in Query Designer, the WebI report that's based on this query via Universe doesn't apply this setting.
Does anyone know solution for this?
Thank you in advance.
regards,
arie
hi Arie,
was this issue resolved?
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the setting you referring to is a Display setting for BEX Analyzer. if you want to achieve the same you can for example include a simple constant like the value "1" into the query
ingo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ingo,
Thanks for the reply. Sorry, can you elaborate a bit more about using this constant technique? I haven't got clear understanding of how to implement it.
Below is a simple illustration using Student ID, Gender and Count key figure. The query result will still show the count for female, although no such gender in transaction data, but female is in master data gender.
Data in CSV format:
ZSTD_ID, ZGENDER, ZCOUNT
S001, MALE, 1
S002, MALE, 1
Query Result:
ZGENDER, ZCOUNT
Male, 2
Female, NULL
regards,
arie
Hi,
You can achieve this result in following steps:
1. Create two BO queries (data providers).
Query 1 -> Gender Count
Query 2 -> Gender
2. At report level you need to merge the two Gender objects from the quries using merged dimension properties. Once you
merged the two dimension objects one new dimension will be created.
3. Now in the block you can pull the Gender from the merged dimension object or from Query 2.
Regards,
Rohit
Thanks Ingo for the reply. Today I tried some methods:
- Using constant value inside formula defined in Query Designer (characteristic gender doesn't show all values from master data)
- Using constant value inside calculated measure defined in Universe as measure object (characteristic gender can show all values from master data only if we drill down by 1 characteristic only, which in this case is gender, drill down multiple characteristics showed error "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901)")
- Using merged dimension in WebI, combining query contains transaction data and query based on master data InfoObject gender. I can drill down by more than 1 characteristic, ie. Nationality & Gender, but got the following behaviors:
It shows all gender values from master data only if filtered by 1 nationality:
Nationality, Gender, Count
Indian, Female, 3
Indian, Male, NULL
Indian, Not assigned, NULL
If I show all nationalities in transaction data, it reverts to showing only if there's record in transaction data for that gender (but "Not assigned" is still shown here, which is from master data gender, cos in transaction data all records have gender specified):
Nationality, Gender, Count
Indian, Female, 3
Indonesian, Female, 4
Vietnamese, Male, 1
NULL, Not assigned, NULL
While in BEx Analyzer, the same query will show result below (which is what I require):
Nationality, Gender, Count
Indian, Female, 3
Indian, Male, NULL
Indian, Not assigned, NULL
Indonesian, Female, 4
Indonesian, Male, NULL
Indonesian, Not assigned, NULL
Vietnamese, Female, NULL
Vietnamese, Male, 1
Vietnamese, Not assigned, NULL
Is there any other possible way to have output similar like BEx Analyzer above?
Thanks.
regards,
arie
Hi Ingo,
The Nationality and Gender in example above are characteristics in InfoProvider, not display or navigational attribute.
Particularly for characteristic Gender, in its property in Query Designer (Advanced tab) I set for "Access Type for Result Values" = "Master Data", this shows all gender values from master data in BEx Analyzer as shown in example above, but not in WebI report.
Thanks.
Arie,
The only solution we have for that issue is already mentionned above. You've to create two BO queries and to merge dimensions. This is the way we implemented and it works fine. In BO whenever you add a measure in a BO query, transactional data acts as a filter.
Add a 1 will not change anything as you noted previously.
Hope that helps!
Laurent
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.