Get Free Trial

Measure values on row

Resolved
Jimmy asked on May 10, 2021

Hi,
Is there a way to get the Measure to be shown in rows instead of columns?
 
/Jimmy

Attachments:
Capture2.PNG

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 10, 2021

Hello,
 
Measures’ position can be changed by moving the “[Measures]” field. For example, the following configuration can be used to display measures in rows:

"slice": {
"rows": [{
"uniqueName": "Country"
},
{
"uniqueName": "[Measures]"
}],
"columns": [{
"uniqueName": "Date.Month"
}],
"measures": [{
"uniqueName": "Price",
"aggregation": "sum"
},
{
"uniqueName": "Quantity",
"aggregation": "sum"
}]
}

 
Please see the JSFiddle we prepared for the demonstration: https://jsfiddle.net/flexmonster/kwnyud3m/.
 
You can also control measures’ position by dragging the “Values” field in the Field List.
 
Please let us know if it works for you.
Looking forward to hearing your feedback.
 
Regards,
Illia

Public
Jimmy May 10, 2021

Hi Illia,
Tanks that worked.
/Jimmy

Please login or Register to Submit Answer