datawrangler
Technical User
I need to create a calculated column or a measure that sums all Local Currency based on each company. All of our local currencies are in different fields in my data source, for instance:
"Company" "USD" "GBP" "JPY"
US $100 0 0
UK $190 £100 0
JP $100 0 ¥10,800
So you see, the problem is, our USD field not only includes sales of US in USD, it also contains our other companies sales in their local currencies converted at a static exchange rate. Whacky, I know.
Reason? I need to calculate a variance of total actual sales in local currency to forecast in local currency. My forecast table does have the information the way I need it.
So i I think I need a calculated column to say this:
where the company is like US Bring in "Dollars"
and where the company is like uk, bring in "GBP"
and where the company is like jp, bring in "JPY".
Thus creating one column of all sales in local currencies and eliminating the other company's sales at converstion rate from our 'Dollars" field. Am I just confused? ha.. thanks. I'm not a programmer so SQL statements are tough for me. thanks!
"Company" "USD" "GBP" "JPY"
US $100 0 0
UK $190 £100 0
JP $100 0 ¥10,800
So you see, the problem is, our USD field not only includes sales of US in USD, it also contains our other companies sales in their local currencies converted at a static exchange rate. Whacky, I know.
Reason? I need to calculate a variance of total actual sales in local currency to forecast in local currency. My forecast table does have the information the way I need it.
So i I think I need a calculated column to say this:
where the company is like US Bring in "Dollars"
and where the company is like uk, bring in "GBP"
and where the company is like jp, bring in "JPY".
Thus creating one column of all sales in local currencies and eliminating the other company's sales at converstion rate from our 'Dollars" field. Am I just confused? ha.. thanks. I'm not a programmer so SQL statements are tough for me. thanks!