Skip to Content
avatar image
Former Member

Show on Click Display and navigational Attribute


I got a Datasource which is binded on a Crosstab. I wrote an alert to show the Dimensions an Measures. But if I add a Display Attribute via ContextMenu from Crosstab

it wont appear in the alert.

var Dim_Array_Rows = DS_1.getDimensions(Axis.ROWS); 
var Dim_Array_Cols = DS_1.getDimensions(Axis.COLUMNS);
var Rows = ""; 
var Cols = ""; 
Dim_Array_Rows.forEach(function(element, index) { 
Rows = Rows + +" ("+element.text+")\n" + "Filter "+DS_1.getFilterText(" ("+DS_1.getFilterExt(")\n"+"Display"+DS_1.getMemberDisplay(";\n\n";

Dim_Array_Cols.forEach(function(element, index) { 
Cols = Cols + +" ("+element.text+")\n" + "Filter "+DS_1.getFilterText(" ("+DS_1.getFilterExt(")\n"+"Display"+DS_1.getMemberDisplay(";\n"+DS_1.getScalingFactor(DS_1.getFilterExt("\n"+ DS_1.getDecimalPlaces(DS_1.getFilterExt("\n\n";

APPLICATION.alert("Dimensions in Row:\n"+Rows+"\n\nDimensions in Cols:\n"+Cols+"\n"); 
1.png (29.5 kB)
2.png (51.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers