Hi,
In order to use the same data source for both chart and table, I have used
DS1.moveDimensionToColumns("month");
DS1.moveDimensionToRows("performance");
when chart is displayed and
DS1.moveDimensionToRows("month");
DS1.moveDimensionToColumns("performance");
when table is displayed. This part is fine.
I also need to arrange the order of the measure differently depending on whether or not a chart or table is displayed.
The data source initial view which is the same as the initial chart view, the order is:
Measured >72h
Measured 24h - 72h
Measured < 24 h
Not Measured
whereas in table display,the order should be the opposite:
Not Measured
Measured < 24 h
Measured 24h - 72h
Measured >72h
I have tried without success using
DS1.sortByMember("90L58IGR0WBJY5JZ4Q47RSH8R", false);
Any suggestion how to achieve this?
Thank you.
Best regards,
Zabrina