on 09-19-2016 1:55 PM
Hi All,
I have a crosstab with the dimension Business number from the customer. The reporting user can use several filter to find a list of special customer.
Then the reporting user can click a button to export all Business number in a URL string for a the CRM-System.
When i use the getMember function i get all business number from datasource. Also if i have set in init view the dimension to "only values with posted data"
How i can get only the Business number how are in the crosstab? I need a solution without SDK's.
THANKS FOR HELP !
BR
Gabriel
Hi Gabriel,
Can I ask if you have any key figures with exception aggregation in your Bex query?
I've seen the same issue with one of my Dashboards where the Bex KF has exception aggregation.
In another dashboard where the Bex doesn't have any KFs with exception aggregation, the "Only values with posted data" setting in the DataSource initial view works as expected when you call getMembers.
Cheers,
Carlton.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gabriel,
In your case you are applying filters at Design studio level. Eventhough you are filtering to only 2 members, the getselectedmembers will return all the 1150 members(the members received at design studio level for that Dimension) .
To achieve your scenario have a characteristic restriction set at Bex level (Since you mentioned it is a BW Datasource) based on a variable to restrict the data to Design Studio . In that case you will have only two members.
Let me know if you are able to proceed with this Info.
Will add a demo later if needed:)
Regards
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gabriel,
What version of Design Studio are you using and what type of data source?
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gabriel,
In that case, since you are using BW, I would have expected getMembers() to work as you have described, due to the cascading filters effect. Two further questions:
1) Is the issue something that has occurred after upgrading Design Studio from a previous version in which the application worked as expected or is this a new application?
2) In order to help determine what the cause of the issue might be, can you provide the script code that applies the various filters as well as the subsequent getMembers() operation?
Regards,
Mustafa.
Hi Mustafa,
1. It is a new application.
2. When i start the app i have in the crosstab 1150 customers, then i filter only two customers and then i click the button with this script:
var partner = DS_1.getMembers("RAPARTNR1", 99999);
partner.forEach(function(element, index)
{
var aktpar = element.internalKey;
if (aktpar != "")
{
APPLICATION.alert(aktpar);
XDATA = XDATA + aktpar;
}
});
I get always 1150 customers in the global variable XDATA.
BR
Gabriel
Hi Gabriel,
Thanks for the update. Your scenario is quite clear now. In this situation, I would expect getMembers() to return the filtered data due to cascading of the filters as mentioned before. I am attending SAP TechEd this week but will see if I can replicate your issue to provide further feedback.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
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.