How to assign an exchange rate

Dear gurus,

I have a problem a bit on exchange rates.

I want to calculate AvePLRates of PLRate / 12, which, after that, some movements should multiply by AvePLRate. So my syntax is as below:

Void calculate

IF HS. Value.Member = '< Parent currency >' or Hs.Value.IsTransCur = TRUE then
IF HS. Period.Member = 'Dec' Then
HS = strAveRate. GetRate ("A #PLRate")
Call WritetoFile ("strAveRate =" & strAveRate)
HS. EXP 'a #AvePLRate is a #PLRate. "
Call WriteToFile ("GetRate AvePLRate =" & HS. GetRate("A#AvePLRAte"))
END IF
END IF

End Sub

No error generated. strAveRate is succedded to recover with the exact figure, but when I want to assign the same character to a different exchange rate, it did not work :( For the second WritetoFile does not have an exact figure.
This syntax must be dynamic, because I have more than 1 combination of exchange rate. That is to say. AED to USD, RMB to USD, IDR to SGD, etc..

Can anyone help with this?

Thank you
Anna

Dear Anna,
The code above, shows a design problem. Calculate (HS). Value.IsTransCur is performed after completed translations. Therefore, even if you can calculate a correct rate, this rate would be not applied in Translate().

What you need is to run the code base using HS level. Exp like this:

HS. Exp ' a = #AvePLRate "& SUM_OF_RATES_UP_TO_CURRENT_PERIOD &" / HS. " Period.Number ".

Of course you must first calculate the SUM_OF_RATES_UP_TO_CURRENT_PERIOD variable, making a loop from 1 to the current period (HS. Period.Number), using HS. GetCell() to get your account (A #PLRate) of rate data.

Kind regards
Kostas

Published by: Kostas n. 5 June 2013 17:13

Tags: Business Intelligence

Similar Questions

  • How to enter exchange rates

    According to the user's Guide, onto Custom1 and Custom2 column in the grids of data enter exchange rates. But Custom1 Custom2 dimension Products is the Customer dimension in the Simple application example. How can I enter rates between the dollar and the EURO?

    There are members of the system set for currency Custom1 and Custom2. Put all the currencies Custom1 on lines, select USD for Custom2, put the period in the columns.

  • How to select a country currency exchange rate side bar

    My gadget of currency exchange rate does not allow me to select UK Sterling U.S. dollar...

    Hello

    Follow these steps and check if that helps:

    Step 1:

    You must select GBP (pound sterling), there is no UK in the currency gadget.

    Step 2:

    If you are not able to change try to uninstall and reinstall gadget sidebar (currency) and check if the problem persists.

    (a) right click on the desktopand then click Gadgets.

    (b) right-click on a gadget and then click Uninstall.

    Note:

    If you uninstalled gadgets that come with Windows, you can restore them to the Gadget Gallery of office:

    Click Start and then click Control Panel. In the search box, type restore Gadgets and then click on restore the desktop gadgets installed with Windows.

  • Power of the exchange rate in numbers

    Hello

    I create a Position size in numbers calculator for managing risk in the trading game. More commercial instruments denominated in foreign currencies and to work on what I am risking in Australian dollars, I need exchange rate feed numbers to calculate. Most of the time it would be the rate of exchange between the Australia and the United States. Otherwise, I would have to manually enter the exchange rate.

    Is it possible to do, if so how? I guess one would use a site like Yahoo Finance!

    Thanks in advance...

    Graeme

    You can get a rate of Exchange directly in a cell numbers, where a spreadsheet formula can then access elsewhere in the sheet.

    Here's a script AppleScript to do this, and uses Ruby to request and return the exchange rate of Yahoo. The hypothesis of the AppleScript is that tell you him what cell you want released in the exchange rate, and you already have the open Numbers worksheet.

    Ruby code was borrowed from Github with the assignment of all destinies.

    The request to Yahoo returns a CSV table as [[l1, d1, t1, S, b, a]] where just the last trade price is captured (e.g. [1]). You can reference these and other symbols here:

    • s = symbol
    • L1 = last trade price *.
    • D1 = date of the last transaction
    • T1 = last trade times
    • b = the bid price
    • a = asking price
    1. Start your Script Editor (Launchpad: others: Script Editor)
    2. Copy and paste the following code in your Script Editor
      1. Click on the hammer to compile
      2. Click on the adjustment arrow to run it
    3. Save a copy of the script as (for example yahoo_exchg.applescript
      1. Script Editor menu: file: Save...
        1. Save as: yahoo_exchg
        2. Location: Documents
        3. File format: text (this will add .applescript to record under the name of file
        4. Hide the Extension: unchecked
        5. Save
    4. Save another copy of the RL script as an application (e.g. yahooX)
      1. Option key + Script Editor: File menu: Save under...
        1. Save as: yahooX
        2. Location: Office
        3. File format: Application (.app to yahooX adds)
        4. Hide the Extension: checked
        5. Save
    5. Double-click the yahoox on your desktop application.

    AppleScript code

    --

    -You can add to the list, and if you don't choose and click on 'OK', then you will

    -be invited to enter the string changes

    property exchg_list: {"AUDUSD', 'USDAUD', 'EURUSD', 'TRADER',"GBPUSD","USDGBP"}

    the value exchg_select to (choose from the list exchg_list ¬ fast

    ("Select your Conversion to Exchange" the default items ' ' with an empty selection allowed without selections multiples allowed)

    If exchg_select is false number error then -128

    If exchg_select is {} then

    display the dialog box "Enter symbols of Exchange as fromto (e.g. AUDUSD)" default answer ""-relief if not in the list

    new_exchg the value of text, return of result

    If new_exchg is not {} and length of new_exchg = 6 then

    the value exchg_select to the new_exchg

    on the other

    Display alert 'Need a pair of Exchange... quit smoking.' give up after 10

    return

    end if

    end if

    the value exchg_value to yahoo_exchange (exchg_select) as number

    say application "Numbers".

    say sheet active of the front document

    say table 1

    Set myRange to range "A2:A2".

    set value of cells of "MaPlage" to exchg_value

    end say

    end say

    end say

    return

    on yahoo_exchange (astring)

    return the shell script "" ruby < < "EOF"-"& astring &".

    #! / usr/bin/ruby

    # coding: utf-8

    # Influenced by https://gist.github.com/captainpete/1639522

    require 'csv '.

    "EXCHG = ARGV.join '"

    # get the exchange rate of Yahoo and return the last trade price

    class YahooExchange

    # set the default

    def self.fetch (code = 'AUDUSA')

    CS4L = %x (curl - q s------http://download.finance.yahoo.com/d/quotes.csv?s=#{code} = X & f = sl1d1t1ba & e =.) csv\ ")"

    . Flatten CSV.parse (cs4l) [1]

    end

    end

    print YahooExchange.fetch (exchg)

    EXPRESSIONS OF FOLKLORE. "

    end yahoo_exchange

  • Calculation script of the OSB for exchange rates - shared members

    Hello together,

    Happy new year!!!

    I need your help with a BSO calculation script in the exchange rate.

    Here you can see how the entity & currency hierarchies are made up:

    Hierarchy of the entity

    Hierarchie1 (element Stored, EUR) - all children are only once in the hierarchy.

    H1Parent1 (stored element, EUR)

    H1P1Child1 (stored element, EUR)

    H1P1Child2 (stored element, EUR)

    H1Parent2 (stored element, SEK)

    H1P2Child1 (stored element, SEK)

    H1P2Child2 (stored element, SEK)

    Hierarchie2 (Stored item, EUR) - the child might be several times in this hierarchy!

    H2Parent1 (stored element, USD)

    H1Parent1 (element Shared, EUR)

    H1Parent2 (element Shared, SEK)

    H2Parent2 (stored element, CAD)

    H1Parent2 (element Shared, SEK)

    H1P1Child1 (element Shared, EUR)

    Hierarchy of currencies

    Local currency

    EUR

    USD

    SEK

    CAD

    Reported (group currency)

    Euro

    Parent currency

    EUR_USD

    EUR_CAD

    EUR_SEK

    First script:

    For the exchange rate of the national currency in euro (1 hierarchy), it was very easy because I could give each level-0-member of an attribute (UDA) for the currency. So it's pretty easy to create a script for all the members-0-level ((DEV) duration: 12 minutes)

    'Euro')

    IF (@ISUDA ("Accounts", "AR"))

    IF (@ISUDA ("Entities", "heart")) 'Euro ' is' EUR '.

    "Else if (@ISUDA ("entities","cAED")) 'Euro' = (@SUMRange ("AED","January": & CurrMonth)) /"AED"-> Average_Rate;

    ENDIF

    ENDIF);

    Second script - Part1:

    But for the second hierarchy (hierarchy 2) I have the problem that there are a lot of shared items and I can't give them an obvious UDA in which I can calculate the currency ((DEV) duration: 12 minutes).

    ("Parent currency"

    IF (@ISUDA ("Accounts", "AR"))

    IF (@ISMBR (@RDescendants("H2Parent1",0))) 'Euro_USD' = (@SUMRange ("Euro", "January": "January")) * "USD"-> "Average_Rate";

    ElseIf (@ISMBR (@RDescendants("H2Parent2",0))) 'Euro_CAD' = (@SUMRange ("Euro", "January": "January")) * "CAD"-> "Average_Rate";

    ENDIF

    ENDIF);

    Second script - Part2:

    This formula works, but it is very slow, because I have several fixes. (Duration (DEV): round about 1 h)

    FIX (@RDescendants("H2Parent1",0))

    ("Parent currency"

    IF (@ISUDA ("Accounts", "AR")) "Euro_USD" = (@SUMRange("Euro","January":"January")) * «USD»-> «Average_Rate»;)

    ElseIf (("Accounts", "CR") @ISUDA) "Euro_USD" = (@SUMRange("euro","January":"January")) * «USD»-> «Closing_Rate»;)

    ENDIF);

    ENDFIX


    You have an idea how I can improve my second calculation script in a dynamic and efficient?


    I hope that I have described my problem very well.


    Thanks a lot for your help


    Ben

    change "Motto of Parent" to "Euro_USD" would not make a difference if the hierarchy of currencies is Sparse

    I'll try to make the dense hierarchy of currencies as long as it does not have the size of your too big block. If make you it dense AND change "motto of Parent' to 'Euro_USD', it must increase the speed a lot.  However to change the size of Sparse to Dense is a very big change for the database.

  • I received an email saying "in the framework of doing business globally, Adobe monitor Exchange rates to our price adjustments upwards or downwards according to the needs. You may know that exchange rates fluctuated significantly during the last f

    I received an email saying "in the framework of doing business globally, Adobe monitor Exchange rates to our price adjustments upwards or downwards according to the needs. You may be aware that exchange rates fluctuated significantly over the past years. Because of recent changes in exchange rates in your area, Adobe raises the price of goods and services as of May 1, 2016. Learn more › As an Adobe Creative cloud for the Subscriber of education, your price will not be touched during your current subscription period. However, at the time of your renewal, which is scheduled for February 4, 2017, it will increase in order to take into account the adjustment of prices, currency exchange rates. The new rate will be $28.99 per month. »

    I want to know is how you can increase payments to 100% and claiming exchange rates as reason. What between AUD and USD exchange rate has changed to 100%?

    Also, I think that the AUD will be at parity with USD in 9 months so that means you will then adjust my payments down?

    Hi Adam,.

    It seems that most of that would be due at the end of the first year of the promotional prices (initiation) for education customers.

    As for the rest, if you read this related Forum thread, it should give you a better idea on how & why happen currency-related price changes.

    Hope that helps.

  • Problem with the currency in the form of exchange rate data

    Hi Experts,

    I have a problem in the form of exchange rate data. I created an application with several currencies (EUR, USD, INR) and I created a data form for the exchange rate. All work well, but all in am going to enter data for a given entity, then it is allowing me to enter only in local currency. I also need to enter data into its reference currency which is not possible for me. I tried the option allow multiple currencies per entity, but it does not work.

    For example: assume that the entity is in North America whose base currency is the USA but can not enter by the selection of currency local option when I select the currency like the US, is to show am only read, not able to get into the currency of the United States. But I need to enter data by selecting from the USA.

    Please help me on this.

    Thank you and best regards,
    Combot

    923621 wrote:
    I use built in currency conversion. The data that I entered the local currency saving in my base only currency, but my requirement is that the user must enter data by selecting its local currency (people of North America must select USD to enter data and Indian must select INR to enter data like that). Is it possible to like this.

    Select USD as the base currency for the North America and INR for the India (which is how it should be).

    So, whenever the user has to do the data through forms of data entry, it would be on the local currency and after the calculation is run it could fill its respective currency.

    Concerning
    -SM

  • The currency exchange rate table

    How do I configure users to be able to only read the exchange rate table in the planning or Smartview? SmartView the intersection is at the highest level for all formats except the year, the period and the scenario. Or only the administrator will be able to see the exchange rate? Thank you for your time and help

    I donno how easy it is, but just a thought, create a form with a model member of all dimensions, except the scenario and the period...
    have a script that will copy the values of the dummy members for the dimension intersections of storage rates and execution level members to save the form.

    Thank you
    RAM Reddy

  • Import/Export security and also to import exchange rate table in the system 11.1.2

    The requirement is to automate access to a new user. The pain is now that I need to go to the SSP, open each group and add the user to all groups. So if I know how to export a single user (this is a domain user is not a native user) and all its access and import back by changing the user name. This export and import I can avoid all the manual steps.

    We are the system 11.1.2. I tried using LCM, but he has the ability to export only native users but not external users. Y at - it no utlity that I can use to export and import in 11.1.2. I know there of one in 11.1.1.3 CSS import/export utliity.


    Question 2.

    We have a planning application of currency that is built with EPMA. Is there a way I can import excel form exchange rates to the schedule?

    Any suggestions are appreciated.

    Yes change the output so, then you can enter.
    Of course, you can do your own input file but just making it easier to understand the format, if you first export.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to assign shared ASO members

    Hi all
    I am not able to understand how to assign shared ASO members. Tried the same model that used in OSI, however, I am not able to get the shared member property.
    There are in our case:

    In the same dimension, we have multiple hierarchies, the level 0 members of one of the highest hierarchy must be shared by other hierarchies in the same dimension.

    Some doubts are:

    1 we need to allow members to duplicate.
    2. is there that a setting needs to be changed "to activate the shared members' ASO.


    Kind regards
    Krishna

    Hello Krishna,

    There are three different types of hierarchies in the model of the ASO.
    (1) stored
    (2) dynamic
    (3) several hierarchies enabled.

    I guess your dimension is stored type.
    Just change your dimension with multiple hierarchies enabled property and follow the below three rules

    (1) not shared instance of the Member must take place in outline before all instances of the shared member.
    (2) the first hierarchy in a dimension where multiple hierarchies are activated cannot contain a shared member.
    (3) size of the stored hierarchy cannot have shared members. Hierarchies stored in a multiple hierarchies dimension can exchanged members.

  • Differences in exchange rates between primary and secondary school in general ledger

    We have a little problem on our hands... we are implementing two great books with display dynamic, primary secondary and Canadian Dollar in USD.

    Exchange rate variances occur if for example, we consider significant operations at different points in time. We have no problem at the primary level. However, CAD to USD exchange rates are updated on a monthly basis and most likely, rates change in the month. Therefore, exchange rate differentials would happen frequently in the secondary accounts.

    We were asked by senior management, how these gaps would be treated by the EBS. I was wondering if you have any ideas that we are looking at events from accounting to ALS.

    Thank you

    Sanjib

    If the need was for the balance of the Canada and US dollar, you can use the option of Reporting currency instead of secondary accountant.

    Kind regards
    Chirag

  • Can not update exchange rate Type in the Planning Application

    Hello

    I have a planning multi-currency application that I have synced from our shared Liabrary. I created arrays of currency in our scenarios (Budget rates & real) and entered the end & avearge rate (also deployed the application). However when I run the script of coversion of default currency I don't see the number of converts, but I get the same numbers in the converted currency (which means that the data is copied by other currencies scripts, but are not converted). The shared library shows the Type of exchange rate for the account dimension members, however in the application, I see the disabled Exchange rate Type (watch 'None') field. According to me, the problem of currency conversion is maybe not definition of the Type of exchange rate.

    Please help and sugget how to activate (select end/medium) type exchange rate... to members of my account.

    Thank you and best regards,
    AK

    Member account must have "Currency" data type

  • Automation of exchange rate

    Hello all-

    I have a multi zone planning your application currency output and want to automate the way in which Exchange rates are updated in the application. I want to do it via HAL routine is it possible to do?

    Another thing that would be part of this Automation would be the updating of the Essbase application. How can I get this piece of automation?

    Please advise!

    Thank you!

    Good reading this post:- Re: planning with excel exchange rates

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • using FDM exchange rate info

    Hello

    We are to pick up the exchange rate of a database using a script and are able to import properly in FDQM.

    However, as you know HFM stores exchange rates in custom 2 1 and customized using the list of members of currency (defined system) and these currencies are not explicitly defined as part of hierarchy C1 and C2. That's why FDQM is failing validation may not map currencies.

    Anyone used FDQM to integrate before Exchange rate information? How we map currency using FDQM?

    Thank you...

    Hello

    I suggest that you create a new location for the opening of exchange rate. There is a property of value data for FDQM locations (metadata-locations-general properties) where you can select [none].

    I hope this helps.

  • How to configure microsoft exchange account

    How to configure Microsoft Exchange account on iPhone.

    I'm getting a problem while creating a Microsoft Exchange account on the iPhone. Can any body tell me How to set up a mail in iPhone because I want to set up an account for Microsoft exchange on iPhone

    Thank you in advance

    Alondra Cooper

    You can read this article to learn how you can put your email on iPhone

Maybe you are looking for

  • Camileo S10 freeze everytime I try to record videos

    I just bought the Camileo S10 and it does everything just for me. Everytime I try to record video, it freezes just straight up. All the buttons are non-functional, and the only way to turn it off, is to remove the battery! I tried it without any SD c

  • How does value selected several boxes in GUI

    Hello I am writing a program that users can put a check mark on several boxes for input voltages (as 0.6V 1 v 2 v 3 v). The selected voltage will be locked in a vi Vset. Anyone have an idea how to make this? Thank you!

  • write on the worksheet with formatting

    Dear LabVIEW Forum, I'm having trouble with something that should be fairly simple however the online help was not able to help me after spending several hours looking. I am trying to configure a LabVIEW program to write the following sample data in

  • New Compellent

    I add a new HDS to my existing VMware environment, connected to an EMC Bay.  Can I zone to the compellent to existing HBA adapters used for EMC?

  • Whenever I try to open a session in my Blackberry app world smart blackBerry phones, it gives me error 80003

    HelloI installed the latest version of the bb application world there for a week, so I can't go in app world, says I need to update my blackberry identity until I can get into the world of the app. When I click Yes to update my bb ID it gives me an e