Skip to Content
0
Jun 09, 2020 at 11:56 AM

Change measure in a Tree Map using Analytical Designer in SAP ANALYTICS CLOUD

292 Views

Hello All,

I am working on an Analytical Application using Analytical Designer in SAP Analytics Cloud. I am using a tree map and here, the measure is added to the Size. I need to change the measure dynamically but it throws an error "Unable to add measure".

This is the code, I have been using.

Chart_heat_map.removeMeasure(V_MEASURE, Feed.Size);

V_MEASURE = D_DropDown1.getSelectedKey();

Chart_heat_map.addMeasure(V_MEASURE, Feed.Size);

This is not working, I have also tried using Feed.ValueAxis but no positive results.

Can anyone please help me with this issue ?

Thanks and regards,

Megh