cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding round-off value in bex query

Former Member
0 Kudos

Hi Experts,

I have to round-off value like

1012.12  = 1012

1012.525 = 1013

which function should i used?

CEIL and FLOOR are not working.

Please help.

Thanks & Regards

Devesh Varshney

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Problem is solved now. Value has been round-off

mohd_abdullah
Contributor
0 Kudos

Hi,

Can you please share the solution ?

Regard.

Former Member
0 Kudos

same..  number with decimal place = 0   and scaling factor = 1.

It is working fine

Former Member
0 Kudos

Hello Devesh,

In BEx Properties you can select. NO of decimal place to 0, which will do the job for you.

Or else change the value in Cube itself. and publish it in report.

regards,

AR

mr_v
Active Contributor
0 Kudos

With number of decimal places '0', values should get (1012.525 to 1013) round-off. Issue would be, when you select particular (ex 1013) value from export to excel, the formula bar still shows 1012.525. I tried the combination of number of decimal places '0' and TRUNC. Result is, it tuncates numbers after decimal places, but it does not round-off the value i.e. 1012.525 remains 1012. 

bhaskar_v3
Explorer
0 Kudos

Hi Devesh,

If you want to riund off in the BEX then change the scaling factor to 100. So the data will be round with 2 decimal place in the report out.

Regards,

Bhaskar V

mohd_abdullah
Contributor
0 Kudos

Hi,

Try chainging the number of decimal places to 0 .

Regards.

Former Member
0 Kudos

Not working

former_member194898
Active Contributor
0 Kudos

Hi,

It should look like this;

Regards, Leszek

Former Member
0 Kudos

This is not working

former_member194898
Active Contributor
0 Kudos

In that case ...

Can you tell us something more about construction of KF ? There must be sth non standard with it. What data type is it ?

Regards, Leszek