on 03-23-2015 7:46 AM
Hi,
I have create Information Models like Analytical and Calculation Views with a calculated column with data type as Decimal as length as 15 and scale as 3 and viewed the data by clicking on Data Preview of that particular View. In Data Preview no decimals are appearing .
Can anyone suggest me how to view the decimal places in Data Preview in SAP HANA Studio in Development or Modeling Prospective.
Regards,
Ramana.
Hi Lars,
When i displayed without Round() function it's not showing the decimals but when i used Round() it's showing in the output.
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to calculated col
-> double click cal column
-> go to Symantec tab - give Symantec type ( Amount with Curr code )
-> provide Currency type
-> pls Check Enable for Decimal shift
-> upon conversion failure - you can set any as per req
this will work for your decimal shift.
Regards,
Kamruz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope - this is not the correct solution to the requirement.
The OP question was about _display_ format - not actual data.
With the ROUND() function you cut away precision and any data processing afterwards can only use the precision level provided by the result of the ROUND() function.
Display format and data precision are two separate concepts that mustn't be mixed up.
I tried to explain this in more detail and provide more pointers for follow up in this post: .
- Lars
SAP HANA doesn't force a format on the data.
What you see on your screen completely depends on the UI you're using and on the language settings you have in place.
In SAP HANA Studio you can switch between the JAVA style of formatting and a kind of "pass-through" output without specific format method call.
Check
Preferences -> SAP HANA -> Runtime -> Result -> [ ] Format values
Make sure to close and reopen the data preview after changing the setting.
- Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
Thanks for your reply.
I have already done the settings you have mentioned above. I attached the screenshot of the setting below.
So we can't see the decimals in SAP HANA Studio Data Preview but it can be viewed on Front End tools like SAP BO. Is this correct or any further settings needs to be done to view decimal places in Data Preview.
Regards,
Ramana.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.