i've got the data has different currency
need to calculate the amout of money that has been received for each order in aud
how could i do that?
You need a second table that contains currency, date and exchange rate. Then you can join on currency and date to retrieve the rate for the calculation.
You need a second table that contains currency, date and exchange rate. Then you can join on currency and date to retrieve the rate for the calculation.
you mean this data right?
I don't see different currencies in your post - they are all NZD.
In case you have realy different currencies, you have to look for currency rates per date -
some external data or web tool.
You should have dataset for currency conversion .
This should contain currency conversion rate for all currency to AUD. This dataset should have rate on every day.
Currency Conversion
DATE CURRENCY RATE
Then you should join your Transaction table to Currency Conversion based on Date and Currency find the value in AUD.
this one right?
using left join?
and then using rate*the amount
Left join, with your original dataset on the left. If your exchange rate table does not cover all combinations of currency&date, you have to deal with that. Best by expanding the currency table.
Can you be more illustrative about two sample t-test?
Which are the two groups on you want to run t-test?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.