cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with setting decimal places for a measure in Design studio

Former Member
0 Kudos

Hi Team,

We are facing issues while setting the decimal places for a measure in Design studio initial view. I set the decimal places to 0 in the initial view and On startup the data displays correctly without any decimals. Although, when the user selects any other dimension data, the decimal place setting of the measure is lost and i start seeing decimal places. Please let me know if i am missing something.

We are using a universe as our data source and using prompts (using setVariableValueExt) to retrieve the data both on startup and user selection.

Design studio version: 1.6 SP3 P1

Data source: Universe

Data retrieval/filtering method: prompts using setVariableValueExt

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member276213
Active Participant
0 Kudos

As Tammy Mentioned it will be corrected in Support pack 4.

But as a work around you can try the below logic in the start up script, incase if this decimal changes by selecting a drop down or a radio button then you need to add the below piece of logic on drop downs and radio button on select script.

eg: DS_1.setDecimalPlaces("keyfigure technical name", 0);

BR,

Lakshmikanth Adharapurapu

Former Member
0 Kudos

Hi Lakshmikanth,

Yes i tried the workaround although it worked only when i added a reloadData() call along with the setVariableValueExt. I am not sure if i am missing anything but i feel the reloadData() would impact the performance.

Thanks,

Waled

TammyPowlas
Active Contributor
0 Kudos

Hi Saleh - sounds like per this note this is a known issue; please apply SP4 - see https://launchpad.support.sap.com/#/notes/2367815/E

Former Member
0 Kudos

Hi Tammy,

Thanks for the information. Does the fix also rectify the sorting of data as we are seeing that even the data sort is being reset when we use the setVariableValueExt function

TammyPowlas
Active Contributor
0 Kudos

That part I do not know; it is worth trying with the latest SP4 / patch