SSAS - Convert mesaures to any Currency rate in time

Hi All,
I have 2 fact tables FactData and FactFXRates. The Exchange rate table has daily exchange rates in it. I'm trying to convert the measures in FactData  all to the same exchange rate.  There is not a time relationship between these.
(For our statistical modelling everything needs to be in the same rate).
I've have tried to do this by having 2 time dimensions: DimTime (for FactData) and DimCurrencyTime (for FactFXRates).  The idea is to use the DimCurrencyTime to select only one set of currencies from the Fact Exchange rate table.  How this does
not work properly all the time.
Any ideas where I'm going wrong?
Many Thanks

Are you using Tabular or Multidimensional?
For Multidimensional, we have an entire chapter about Currency conversions in our book:
http://www.sqlbi.com/books/expert-cube-development-with-ssas-multidimensional-models
For Tabular, there are many blogs around and I'll write a pattern in
www.daxpatterns.com later this year, but it's not ready now.
From what you write, it's hard to provide an answer.
Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

Similar Messages

  • Currency rate on time

    Hi,
    My company works with several currencies. Our financial staff is very concerned about the exchange rate so I proposed to update often those rates, I though calculation would be made with the historical exchange rate although, when I run my report (real time) I get just two values for a currency with several exchange rates on the historical … I wonder then, how does this works and whether is there any relation between the rate for a particular date and the calculation… any idea ?
    Cheers

    Hi Venky,
    Sure I've checked this and at the same time I'm making tests in order to understand the behavior. I have created five 1 Euro opportunities and passing my profile to US dollars so I can see the evolution but calculation is strange, I do not get to understand how does it works ... any suggestion?
    Cheers

  • FM to convert amount  from one currency to another currency?

    HI Experts
    is thier any Fucnction module to convert amount  from one currency to another currency?
    please help me.
    Thanks

    Hi,
    data: lv_foramt TYPE vbap-netpr VALUE 40,
          lv_forcurr TYPE string VALUE 'USD',
          lv_loccurr TYPE string VALUE 'INR',
          lv_locamt TYPE vbap-netpr.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
           EXPORTING
            CLIENT                  = SY-MANDT
             DATE                    = sy-datum
             FOREIGN_AMOUNT          = lv_foramt
             FOREIGN_CURRENCY        = lv_forcurr
             LOCAL_CURRENCY          = lv_loccurr
            RATE                    = 0
           TYPE_OF_RATE            = 'M'
            READ_TCURR              = 'X'
          IMPORTING
    *        EXCHANGE_RATE           =
    *        FOREIGN_FACTOR          =
            LOCAL_AMOUNT            = lv_locamt
    *        LOCAL_FACTOR            =
    *        EXCHANGE_RATEX          =
    *        FIXED_RATE              =
    *        DERIVED_RATE_TYPE       =
          EXCEPTIONS
            NO_RATE_FOUND           = 1
            OVERFLOW                = 2
            NO_FACTORS_FOUND        = 3
            NO_SPREAD_FOUND         = 4
            DERIVED_2_TIMES         = 5
            OTHERS                  = 6
         IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
         write:/ lv_locamt.
    P.S. Please test your FM in SE37. When I tested, it worked only between USD and INR.

  • How to  analysed the currency rate in sap system

    Dear Expert,
    Please give me a  important point
    1. when raised PO  in USD
    2. AFTER TWO MOTHS GRN CAME .AT THE TIME OF GRN ,USER CHANGE THE PO CURRENCY RATE(ACCORDING TO BILL OF ENTRY DATE )
    3.MY POINT OF VIEW USER TOLD IN SYSTEM WHEN I UPDATED THE CURRENCY AND SYSTEM HOW TO PICK OF VALUE.
    EXAMPLE:
    LET US TAKE AN PO
    DATE-01.012.2011 ,QTY 10, CURRENCY RATE -48 USD AND UPDATED IN OB08 AND SAVE THE po.
    2nd case-
    GRN CAME 2.02.2012 .THAT TIME CURRENCY RATE IS 50 USD. IN THIS TIME USER WHER HE WILL CHANGE CURRENCY RATE .IN SAME MANNER ANOTHER GRN CAME 03.02.2012 AND CURRENCY RATE IS 46 USD .HOW TO SYSTEN KNOW THE RATE IS CHANGING AND PICK THE RATE IN GRN
    3RD- HOW THE SYSTEM ANALYSE FOREX GAIN /LOSS.WHICH VALUE IS TAKEN THE SYSTEM TO FINF FC VALUATION
    DEAR EXPERT PLEASE GIVE DETAILS AS SOON AS POSSIBLE .

    Hi,
    Kindly do not make  changes  in any table. It will make make  inconsistency  in your system.
    We  cannot  make  any changes in currency once document  has been posted.  Try to  pass adjustment entry  in the  system to rectify this error.
    Thanks

  • Daily Currency Rate upload

    Hi
    We are working on 11.5.10.2.
    How can I upload daily currency rate upload to my oracle application from bank or any other system ?
    Will it be loaded in oracle GL and then drill down for use in AP and AR ?
    We are planning to use multi currency payments, I mean raise an invoice in a foreign currency and pay in foreign currency?so what are the prerequisite set up required for achieving this?
    Thanks

    GL_DAILY_RATES_INTERFACE is the interface you use to create, update, and delete daily conversion rates. Customers should use this table to load rates into the GL_DAILY_RATES table.
    To use this table to insert/update rates into GL_DAILY_RATES, insert rows into it with a FROM_CURRENCY, a TO_CURRENCY, a FROM_CONVERSION_DATE, a TO_CONVERSION_DATE, a USER_CONVERSION_TYPE, a CONVERSION_RATE, a MODE of 'I', and, optionally, an INVERSE_CONVERSION_RATE. Oracle General Ledger will automatically create rows in GL_DAILY_RATES for each date between the FROM_CONVERSION_DATE and the TO_CONVERSION_DATE, using the specified FROM_CURRENCY, TO_CURRENCY, USER_CONVERSION_TYPE, and CONVERSION_RATE.
    INSERT INTO GL_DAILY_RATES_INTERFACE
         from_currency,
         to_currency,
         from_conversion_date,
         to_conversion_date,
         user_conversion_type,
         conversion_rate,
         mode_flag
    VALUES
         SGD,
         'USD',
         '01-FEB-2008',
         '28-FEB-2008',
         'Spot',
         1.33,
         'I'
    COMMIT
    Hope this is what you required.

  • How to transfer currency rates to R/3 after dynamic modelling in BPS

    Hi all,
    I need your advice.
    I have, for example, a several sales plans, which were composed by using BPS. Each of sales plans depends on currency rates. After comparision these plans, I selected and approved one of them. After plan approval I transfer planned data to R/3.
    This is an issue to transfer currency rates, which corresponded to selected plan as well.
    Is there standart method to transfer currency rates for selected plan to R/3 (to "Currency Exchange Rates", tr-n OB08)?
    Your advice will be appreciated!

    Hi Dmitry,
    R/3 is the place basically meant for maintaining currency translation rates. If they have been maintained in BW/BPS directly, I don't think there is any facility to take them back to R/3 other than manually entering.

  • Program position with any currency for availability check - PS/IM

    Hi,
    I have the following scenario:
    1. Controlling area currency is USD. Local currency is BRL. We do purchase req.(CJ20n) for materials and services in USD, BRL and EUR. The P.O. is done in a second moment through MM.
    2. Investment program uses USD for checking availability control. The currency for any program position is also USD.
    3. System performs the availability control using exchange rate cat. "M" in OB08. We buy within one of those 3 currencies (USD, BRL and EUR), it translates to USD, and then we see how much was committed in USD.
    Because of these differences between dates in exchange rates, the client wants the system to perform availability check with any currency.
    For exemple: if we have USD 1000 in program position on 04.15.09 at rate of BRL 2,40 we would have BRL 2400 to purchase. If the P.O. is posted in a different date with a different exchange rate we would have more (or less) value to purchase depending on the rate, say 06.15.09 rate is 3,0 we would have BRL 3000 in local currency.
    The client doesn't want this to happen. they want to commit only the first value.
    They want that in IM program position would have for branch XYZ 3 different limits, one for each currency say 1000 USD, 2000 BRL and 1000 EUR. When P.R. is done it would check what currency is buying, perform availabilty check and then commit only the value requested and avoid increase or decrease values in local currency.
    As long as I know IM standard doesn't work this way. Some thoughts and ideas would be a great help.
    Best Regards,
    Ubiratan Chaves.

    Hi Ubiratan,
    I understand that you are doing availability control on USD (controlling area currency), although the statement in your point 2. should be corrected - the availability control is not tied to the IM program but to the budget profile used in the project...
    Availability control per transaction currency is not possible...you can have availability in controlling area currency, as you have...or in object currency (which for a project in your case would have to be local currency)...you can try this, but it only works if your project hierarchy is using the same currency (I just faced a similar issue and had to also use USD because the proejct had multicurrency WBS in it...)
    Bottom line...maybe you can try "adjust" the budget to the currency fluctuations with transaction IMCRC3...the idea would be to use a specific exchange rate type that has the current exchange rate and run this transaction to "trim" the budget to the real exchange rate...
    hope it helps,
    Luis

  • Retrieving currency rates?

    Hey,
    Just wondering how you'd go about getting the latest currency rates and displaying them in a Java applet? The displaying bit shouldn't be a problem, it's how to get the rates I don't know how to do. Is there any website out there I can download the currencies from or any classes already made to do what I'm looking for?
    Thanks,
    Brian

    http://www.google.com/search?q=exchange+rates+web+service

  • Currency rate in CRM

    Hi
    Does SAP CRM has capability to have a fixed currency rate while converting a quotation to an order??
    Also can we have a Recalculated currency rate on real order in ERP.
    Thanks
    Aakshi Suri

    Hi ,
    We can maintian fixed currency  conversion rules in CRM . Please find the link where the customization can be maitntianed in CRM : SAP Customizing Implementation Guide ->SAP NetWeaver->Currencies-> Enter Exchange Rates
    Hope this clarifies your issue.
    Regards,
    Deepa

  • Fixing transactions posted with the wrong currency rate.

    Looking for the best solution to fix transactions that have been posted with the wrong currency rate. Transactions with System Currency (SC) and Local Curency (LC) have been posted with the wrong exchange rate.  I am looking for best practice to corect each transactions.  I have noticed and tested the "Conversion Difference" feature in SBO.  This feature does help me change the exchange rate between SC and LC but for an the account balance on a certain date.  I am looking to change all transactions from Jan01 to Jan 31 for all GL accounts.  Is there a feature to do this??  You help is greatly appreciated,

    I don't think there are any options to FIX this problem by out of the box function.  Because all financial transactions have been entered to the system already, you have to reverse all of them and repost those transactions with the right exchange rate. No shortcut available.
    Thanks,
    Gordon

  • BEx Currency Translation for planned Currency rate

    Dear Experts,
    The requirement of my query is to convert the key figures to Group Currency (EUR) at a fixed exchange rate defined by the user in the beginning of a planning cycle.
    In the IMG I have created an Exchange Rate type for manual input and defined the exchange rate for a fix date for the currencies I want to convert.
    When creating Currency conversion type (tcode RSCUR) in the tab “Exchange Rate” I’ve chosen my Exchange Rate type and the option Dynamic Exchange Rate Determination. In the “Currency” tab I’ve chosen a variable of manual input for the currency and the option Target Currency Selection with translation. In the “Time Ref.”  I opted for a fixed time reference.
    On the query definition I choose Currency conversion type and the variable I created for it. 
    Can anyone tell me how can we allow the user to commute between the two currencies in the query for the same translation?
    Another question/problem is that we are using the table TCURR for keeping the exchange rates for the planning process. Does anyone has a different solution to keep this currency rates?
    Many Thanks and Best Regards,

    Hi
    So these planning functions work in the same way as the BEx Currency translation? it makes the currency conversion to present the data in the new currency. If I save the data I will keep the data in the new currency, am I right?
    **Yes.**
    If I am using the same Key figure for source and target key figure can I still use the standard IP function?
    **Yes.**
    And if I wanted to convert back to the original currency I had to create a new planning function and a new currency translation type to do the opposite?
    **You can try Repost Function.**
    Regards
    Srinivas

  • How to modify the currency rate in a document already posted?

    Hi All,
    an user has posted a document filling in the wrong currency rate.
    Now, the document is old and it isn't possible to reverse it.
    What could I do?
    Could I modify the data in tables?
    Which ones?
    Thanks a lot

    Hi,
    Kindly do not make  changes  in any table. It will make make  inconsistency  in your system.
    We  cannot  make  any changes in currency once document  has been posted.  Try to  pass adjustment entry  in the  system to rectify this error.
    Thanks

  • Currency rate vs custom 3 and custom 4

    Hi all
    I have used all currencies in custom 1 and required currency in custom 2 for entering currency rates. Now for custom 3 and custom 4, Do these have to be [None] only( and that too as base members? ??
    A wild example i came up with
    Assume I have two times in custom 3..one is 11:00 AM and other is 11:00 PM and custom 4 are the dates..i.e 1st 2nd 3rd and so on till 31st.
    I need currency rates at these two times daily and I have these in custom 3 and 4 dimensions say. So how do i go about entering currency rates?
    Question 2)
    If I need to enter data at custom dimension level, does the member necessarily have to be under [None] ? If not then how do i go about? Since when I take the member out of [None] and keep it at a sibling level of [None] , I cannot enter data at that member but If I keep the same as a child of [None], It will allow me to enter data. So how do i go about this?
    Question 3)
    This is basically a combination of Q1 and Q2..If I have a member under [None] in custom 3 dimension, I cannot use custom 3 as [None] while entering Currency rates since [None] becomes a parent. If I keep the member as a sibling of [None] in custom 3 dimension, then I cannot enter data at that member, but I can enter currency rate at [None].
    Please help me resolve these 3 problems.
    Thanks!

    i think you are trying to do things not supported by HFM.
    you are correct, when entering currency rate data in HFM, both custom3 and custom4 must be set to [None] member.
    these are the types of custom rate that are used by the "Translation" feature in HFM and Sub Translate()
    i do not know how you could have different currency rates in the same rate accounts for different times of day. I do not think HFM is normally used in this way. You would probably need to use Multiple different rate accounts for the different times of day, and then write complicated rules in the Sub Translate() to use the different rate accounts depending on the target cell POV.
    I suggest you reach out to someone who has experience in designing HFM applications to see if there is any way to achieve your goals using HFM.

  • Result ananlysis currency rate ?

    Dear experts,
    We run result analysis on the WBS , the local currency is not same with controlling area currency. we find the result analysis test run give us the result based on controlling area currency ( EUR ) , and when we post it , the result is based on our local currency ( CNY ) , but we don't find any clue which currency rate it picked up ?
    BR Shubin

    Hello,
    When you run RA ( KKA2), system post RA in both currencies. Controlling area currency and objct Currency

  • How to enter Currency Rates

    According to User's Guide, place Custom1 on row and Custom2 on column in data grids to enter currency rates. But Custom1 is Products dimension and Custom2 is Customer dimension in Simple Demo application. How can I enter rate between US$ and EURO?

    As Kelly says you have to select the system defined members of Custom1 and Custom2. You can locate those members from the POV selector for each of the two custom dimensions, by choosing the Currencies member list in the combo box right over the dimension hierarchy. Also be careful to choose the right account (corresponding to the average or period end rate) as well as the right Entity. By entity = [None] the rate works for any entity using that currency. However, if you choose an entity other than [None], the rate will work for only that entity overriding any value set for the same currency in the [None] entity. (You may apply historical rates per entity this way).

Maybe you are looking for