on 05-12-2011 12:25 PM
Hi,
i need to help for fox formulas in BI-IP. i want to calculate net revenue. i have two data cubes.First cube is SALES, second is PARAMETER and i created multi-provider that include these cubes.
NET REVENUE= GROSS REVENUE- DISCOUNTS. this is my formula. after i calculate this , i must change type of currency and This value is calculated on the monthly average exchange rate which is comming from parameter cube.my currencies are turkish lira(TRY), euro(EUR) and dollars(USD).
in this formula, type of currency is 00.for example i want to convert it to 10 for TRY and to 20 for EUR and to 30 for USD.
for example;
DATA CUR TYPE 0CURRENCY.
DATA TCUR TYPE 0CURTYPE.
FOREACH CUR,TCUR.
{Net Revenue,CUR,00}={Gross Revenue,CUR,00}-{Discount,CUR,00}
{Net Revenue,TRY,10}=.......
{Net Revenue,EUR,20}=.....
{Net Revenue,USD,30}=....
i how can i do it ???
i created two planning function . first function is net revenue is true but second function dont produce records and see monthly average exchange rate from parameter cube. how can i do??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you need parameter cube for currency conversion.
Already exchenge rates are avialable in TCURR table. Hence you can use standard IP planning function type Currency Translation, where you can give exchange rate type as M for average rate, and give from currency and to currency.
Regards,
Shyam
Hi,
You create two planning functions. One Planning Function to calculate Net Revenue.
Another Planning Function to do Currency Translation.
Regards,
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
see additions below.
DATA CUR TYPE 0CURRENCY.
DATA TCUR TYPE 0CURTYPE.
FOREACH CUR,TCUR.
{Net Revenue,CUR,00}={Gross Revenue,CUR,00}-{Discount,CUR,00}
if cur = TRY.
{Net Revenue,cur,10}={Net Revenue,CUR,00}.
endif.
if cur = EUR.
{Net Revenue,cur,20}={Net Revenue,CUR,00}.
endif.
....
endfor.
regards
Cornelia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.