Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

billion or trillion conversion to crores and lakhs

Reply
Occasional Contributor
Posts: 10

billion or trillion conversion to crores and lakhs

In SAS VA Report Builder for bar diagram, unit of axis are showing in billion or trillion ,I need to show it in 100 crore or 10

lakhs unit.

Regular Contributor
Posts: 196

Re: billion or trillion conversion to crores and lakhs

Hi TTPL,

I Think there is no another option in Reports to covert billion or trillion into crores and lakhs using bar chart (Object).

Regards,

Teja Surapaneni

Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi There,

If a SAS user-defined format has been configured in the associated SAS Application Server for your SAS Visual Analytics environment and also associated with the data item then it is available in SAS Visual Analytics. This is documented in the  SAS(R) Visual Analytics 7.1: User's Guide

Kind Regards,

Michelle

Regular Contributor
Posts: 196

Re: billion or trillion conversion to crores and lakhs

Hi Michelle,

I am also tried user-defined formats to convert millions to lacs but there is no use, The value is not changing millions to lacs (in Reports).

Thanks,

Teja

Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi Teja,

You need to ensure the SAS formats catalog is registered in the SAS Application server and the user-defined format is set in the attributes for the data item's metadata. If the configuration is done as directed by the documentation it should work.

If it doesn't work for you then I suggest connecting to your SAS Application server using Enterprise Guide or some other SAS client and test it separate to the SAS Visual Analytics GUI. Perhaps your user-defined format was created in the SAS work formats catalog rather than a permanent library formats catalog.

Kind Regards,

Michelle

Regular Contributor
Posts: 196

Re: billion or trillion conversion to crores and lakhs

Hi Michelle,

Can you explain little bit...

Thanks,

Teja.

Regular Contributor
Posts: 196

Re: billion or trillion conversion to crores and lakhs

Hi Michelle,

The attached file is Actually what i am tried.

Attachment
Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi Teja,

From your screenshot you are selecting a SAS defined format. What I was suggesting was to create a SAS user-defined format based on the criteria you need to display crores and lakhs. This is achieved by using PROC FORMAT and ensure the format is created in a permanent catalog on the SAS Application Server. You may want to get your SAS Administrator involved to assist you with this.

Art's paper on PROC FORMAT may provide you some guidance http://www2.sas.com/proceedings/sugi29/236-29.pdf as well as the SAS documentation at Base SAS(R) 9.4 Procedures Guide, PROC FORMAT

Kind Regards,

Michelle

Regular Contributor
Posts: 196

Re: billion or trillion conversion to crores and lakhs

Hi Michelle Thanks for your Reply,

It is possible in Reports or not?

if it is possible can you explain with one example,

Thanks,

Teja

Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi Teja,

As I have previously mentioned, it is possible to use a SAS user-defined format in a Visual Analytics Report.

I am not familiar with the type of format you require for crores and lakhs. If you go through the paper I provided above there is PROC FORMAT code with the picture statement which you can use as an example to create the format you require. Then you need to set it up in your SAS Application Server as I mentioned in the above reply.

Once the SAS user-defined format has been created and deployed on the SAS Application Server, then your data item can refer to the format definition and your values will be in crores and lakhs rather than billions or trillions.

Kind Regards,

Michelle

Contributor
Posts: 29

Re: billion or trillion conversion to crores and lakhs

Hi Michelle

Even I am also facing this same issue in VA 6,4.I tried with the user-defined format as you said but I am not able get the solution what I required.

Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi,

Is it that your user-defined format not defined correctly? What is your PROC FORMAT code and what is it that you are hoping to achieve? With a better understanding of what you are using for your user-defined format and what your expected result should look like, the community may be able to assist.

Kind Regards,

Michelle

Super User
Posts: 1,208

Re: billion or trillion conversion to crores and lakhs

Hi

Do you still require assistance with this request? Please mark question as answered correctly or helpful so that others know who may come across it in future.

Thanks,

Michelle

Occasional Contributor
Posts: 5

Re: billion or trillion conversion to crores and lakhs

Hi All,

Did anyone got answer to this thread.... even I am trying to do so but no solution yet. Please reply back soon if you got solution.

Regards

Puneet

Occasional Contributor
Posts: 10

Re: billion or trillion conversion to crores and lakhs

Hi Puneet,

You can do it in SAS VA level.

1. new calculated column>Amounts in Crores=Actual amount/10000000

2.Create a new calculated column>Amounts in Lakhs=Actual amount/100000

Post a Question
Discussion Stats
  • 17 replies
  • 1256 views
  • 1 like
  • 8 in conversation