a month ago
I am really stuck and i didn't find anything helpful,
I want to show measure and dimension on click event through button through scripting in sac story.
my model name is "account" my measure name is "net_sales" my dimension type is account. appearantly there is no error in it. but i am not getting anything when click on button
// Chart_1.getDataSource().setDimensionFilter("Account", ["Revenue"]);
// Chart_1.getDataSource().setMemberDisplayMode(Feed.CategoryAxis,"net_sales");
Chart_1.addDimension("account",Feed.CategoryAxis2);
// Chart_1.addDimension("account",Feed.CategoryAxis2);
console.log(['dimension',Chart_1.addDimension("Revenue",Feed.CategoryAxis2)]);
Chart_1.addMeasure("[account].[parentId].&[A100000]",Feed.ValueAxis);
console.log(['measure',Chart_1.addMeasure("[account].[parentId].&[A200100]",Feed.ValueAxis)]);
// Chart_1.addMeasure("[account].[parentId].&[A200100]",Feed.ValueAxis);
Request clarification before answering.
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.