Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3167

$ sign formatting

$
0
0

Hi experts,

 

I am trying to reproduce a report through HANA and having trouble getting my Amount Field Formatted Correctly.

 

I am working with a field "CHARGES" and would like it to display as $500.00.  The data is consumed through AOLAP without any semantic layer in between.

 

The only currency we use are dollar amounts - no conversion takes place.

 

What I have tried:

  1. If I change the Semantic Type of the field to 'Amount with Currency Code' and then specify USD/$ as the Currency, the output displays as    500.00 USD or 500.00 $ ($ after the amount)
  2. I have tried to create a new Calculated Column that concatenates $ + "CHARGES":
      1. I cannot specify the new Calculated Column as a Measure because it contains a $ sign
      2. If I specify the Calculated Column as an Attribute then I am unable to aggregate
  3. I have considered creating new separate columns i.e. CURR column that would repeat '$' for each record however I would need to do that for several additional fields as well and it would not look nice.

 

AOLAP also does not have features to perform this formatting.

 

Does HANA have a way to format an Amount Field as $500.00?


Viewing all articles
Browse latest Browse all 3167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>