<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS VA : Local to USD currency conversion in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389404#M7951</link>
    <description>&lt;P&gt;Your exchange rates will need to be in the same table as the currency data for you to do the currency conversion calculations and to display your analysis in a single report object. It would help if you explained what type of report(s) you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could have a separate dropdown list for the chosen currency, then have an interraction that filters your other report object by the currency. This would require you to have each currency on a separate row in your source data.&lt;/P&gt;</description>
    <pubDate>Sun, 20 Aug 2017 20:21:46 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-08-20T20:21:46Z</dc:date>
    <item>
      <title>SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389313#M7945</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi VA Developer,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have data from multiple countries (~10) from in a singe table . Now I have challenge with Local to USD currency conversion. I need to have data in both currency as report viewer can be local or global (USD) . I need to have a drop down with Local and USD currency.&lt;/P&gt;&lt;P&gt;Can anyone please help me with optimized solution .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;BR /&gt;Ruchir&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 12:40:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389313#M7945</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2017-08-19T12:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389359#M7947</link>
      <description>&lt;P&gt;Have you already sourced the currency exchange rates and they are in your data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 23:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389359#M7947</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-19T23:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389389#M7949</link>
      <description>&lt;P&gt;No, I have not. I am planning to create to table with exchange rates and later have a join with master Data.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 11:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389389#M7949</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2017-08-20T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389404#M7951</link>
      <description>&lt;P&gt;Your exchange rates will need to be in the same table as the currency data for you to do the currency conversion calculations and to display your analysis in a single report object. It would help if you explained what type of report(s) you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could have a separate dropdown list for the chosen currency, then have an interraction that filters your other report object by the currency. This would require you to have each currency on a separate row in your source data.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2017 20:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389404#M7951</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-20T20:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389409#M7952</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;I want to have SAS Va report . I have sas va report viewer as local as well as global . So if local viewer want to see the report they can see it as per their local currency but global report viewer will see report in global currency (consider them as higher managment sits in US)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have created a single table with help of join with fx rates table &amp;nbsp;which have amount columns (14) as well country and fx rate of it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;So I want to know how I can apply this in VA with drop down or something.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;kindly consider read data is huge.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pfa as sample table structure.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_20170821-021628-01.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14563i5BF4F629CE18E28C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20170821-021628-01.png" alt="Screenshot_20170821-021628-01.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Aug 2017 20:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389409#M7952</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2017-08-20T20:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389441#M7953</link>
      <description>Created Sample data with following code :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data Master_ds;&lt;BR /&gt;infile datalines delimiter=',';&lt;BR /&gt;length Country $ 13;&lt;BR /&gt;Input Country $ Acc_blnc_amt Loan_blnc_amt Credit_blnc_amt Mrtg_blnc_amt;&lt;BR /&gt;datalines;&lt;BR /&gt;Singapore,8326,2108,2345,4815&lt;BR /&gt;HongKong,7100,3428,2902,6203&lt;BR /&gt;United States ,3841,5429,2221,6053&lt;BR /&gt;Malaysia,8207,5120,3309,2772&lt;BR /&gt;Singapore,7033,5897,4622,3293&lt;BR /&gt;HongKong,4292,5269,5003,7165&lt;BR /&gt;United States ,3110,6166,7239,2450&lt;BR /&gt;Malaysia,6494,2328,2391,8260&lt;BR /&gt;Singapore,1612,5631,6002,8903&lt;BR /&gt;HongKong,7659,8425,6857,5967&lt;BR /&gt;United States ,6420,1260,6175,2518&lt;BR /&gt;Malaysia,1135,7452,3288,2068&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;Data Fx_Cnvsn;&lt;BR /&gt;infile datalines delimiter=',';&lt;BR /&gt;length Country $ 13;&lt;BR /&gt;Input Country $ Fx_rate_USD;&lt;BR /&gt;datalines;&lt;BR /&gt;Singapore,1.3&lt;BR /&gt;HongKong,7.8&lt;BR /&gt;United States,1&lt;BR /&gt;Malaysia,4.2&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc SQL NOPRINT;&lt;BR /&gt;Select DISTINCT name&lt;BR /&gt;INTO:amt_colms&lt;BR /&gt;SEPARATED BY "}"&lt;BR /&gt;from Sashelp.Vcolumn&lt;BR /&gt;Where&lt;BR /&gt;libname='WORK'&lt;BR /&gt;AND&lt;BR /&gt;memname='MASTER_DS'&lt;BR /&gt;AND&lt;BR /&gt;upcase(name) like '%AMT';&lt;BR /&gt;Quit;&lt;BR /&gt;&lt;BR /&gt;%Put &amp;amp;amt_colms;&lt;BR /&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;Create Table Temp AS&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM Master_ds,Fx_Cnvsn&lt;BR /&gt;WHERE Master_ds.Country = Fx_Cnvsn.Country;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%Macro Currency_Conv;&lt;BR /&gt;Data Final_DS;&lt;BR /&gt;Set Temp;&lt;BR /&gt;%Let iter = 1;&lt;BR /&gt;%Do %While(%scan(&amp;amp;amt_colms., &amp;amp;iter., %str(})) ne %str());&lt;BR /&gt;%let curr_loop_amt = %scan(&amp;amp;amt_colms., &amp;amp;iter., %str(}));&lt;BR /&gt;&amp;amp;curr_loop_amt._USD = &amp;amp;curr_loop_amt. * Fx_rate_USD;&lt;BR /&gt;%Let iter = %eval(&amp;amp;iter. + 1);&lt;BR /&gt;%End;&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;%Mend;&lt;BR /&gt;&lt;BR /&gt;%Currency_Conv;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2017 02:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389441#M7953</guid>
      <dc:creator>ruchir_m</dc:creator>
      <dc:date>2017-08-21T02:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA : Local to USD currency conversion</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389468#M7956</link>
      <description>&lt;P&gt;I think row-level security might be useful here. With RLS, a user who works in a particular country would only be able to see his/her own country's &amp;nbsp;currency data, while head office would be enabled to see all currencies. I'm not an expert on this topic so I'm hoping someone with experience in RLS can help out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This link should point you in the right direction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-7-3-Row-Level-Security/m-p/287461#M4900&amp;nbsp;" target="_blank"&gt;https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-7-3-Row-Level-Security/m-p/287461#M4900&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 07:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Local-to-USD-currency-conversion/m-p/389468#M7956</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-08-21T07:32:32Z</dc:date>
    </item>
  </channel>
</rss>

