Skip to Content

Technical Names of Measures / Dimensions in a Universe

Nov 01, 2016 at 01:58 PM


avatar image
Former Member


The source is a universe

I am implementing a dashboard in design studio. I need to dynamically set the measures used a chart via a script. CHART.setDataSelection


XYZ and ABC are the measures. Is there a way I can find this information in the Universe in a single view? At the moment I have to manually select the measure in the chart data selection and then press ok to view the script generated to understand the technical name.

I have the same problem when finding out the technical names of the dimensions - I have to edit initial view and I can see the technical names of the dimensions.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Nov 03, 2016 at 04:53 PM

Hi leo,

This code will help you to dynamically make data selection.

you can specify if condition as needed to create required measure list.

var measures = DS_1.getMembers(DS_1.getMeasuresDimension(), 100);

var measures_needed = "";

measures.forEach(function(element, index) {



measures_needed = measures_needed + element.internalKey + ";" ;



var measure_array = measures_needed.split(";");

CHART_1.setDataSelection({"(MEASURES_DIMENSION)" : measure_array});



10 |10000 characters needed characters left characters exceeded