Data entity
ExchangeRateEntity
Holds exchange rates between two currencies for a given exchange rate type. Each record is identified by the rate type name, the from currency, the to currency and the start date. It also has an end date and a conversion factor. It is classed as reference data.
- Entity name
ExchangeRateEntity- Public entity name
ExchangeRate- OData collection
ExchangeRates- Category
Reference- Module
System administration- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
RateTypeName, FromCurrency, ToCurrency, StartDate- Staging table
ExchangeRateEntityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExchangeRates- Dataverse virtual table
mserp_exchangerateentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
ExchangeRate· rootExchangeRateCurrencyPair· InnerJoin toExchangeRateExchangeRateType· InnerJoin toExchangeRateCurrencyPair
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ExchangeRateForStorageThe exchange rate value for the currency pair. | RealCurrencyExchangeRate | No | Yes | ExchangeRate.ExchangeRate | |
ExchangeRateCurrencyPairPoints to the currency pair that the rate applies to. | Int64ExchangeRateCurrencyPairRecId | No | No (private) | ExchangeRateCurrencyPair.RecId | ExchangeRate.ExchangeRateCurrencyPair |
StartDateFirst date on which the rate is valid. | DateValidFromDate | No | Yes | ExchangeRate.ValidFrom | |
EndDateLast date on which the rate is valid. | DateValidToDate | No | Yes | ExchangeRate.ValidTo | |
ConversionFactorFactor used to show the rate: 1, 10, 100, 1000 or 10000. | Enum
| Yes | Yes | ExchangeRateCurrencyPair.ExchangeRateDisplayFactor | |
ExchangeRateTypePoints to the exchange rate type of the pair. | Int64ExchangeRateTypeRecId | No | No (private) | ExchangeRateType.RecId | ExchangeRateCurrencyPair.ExchangeRateType |
FromCurrencyCurrency to convert from. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPair.FromCurrencyCode |
ToCurrencyCurrency to convert to. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPair.ToCurrencyCode |
RateTypeDescriptionLonger text that describes the exchange rate type. | String (60)Description | No | Yes | ExchangeRateType.Description | |
RateTypeNameName of the exchange rate type. It is the key of the table. | String (20)ExchangeRateTypeName | Yes | Yes | ExchangeRateType.Name | |
RateThe exchange rate value between the from currency and the to currency. | RealCurrencyExchangeRate | Yes | Yes | computed |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ExchangeRateCurrencyPair→ExchangeRateCurrencyPair.RecId(key of ExchangeRateCurrencyPair)Many ExchangeRate records → zero or one ExchangeRateCurrencyPair record
ExchangeRateCurrencyPair details: see ExchangeRateCurrencyPairEntity, ExchangeRateNonISOEntity, ExchangeRateCDSEntity
ExchangeRateType→ExchangeRateType.RecId(key of ExchangeRateType)Many ExchangeRateCurrencyPair records → exactly one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
FromCurrency→Currency.CurrencyCode(key of Currency)Many ExchangeRateCurrencyPair records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ToCurrency→Currency.CurrencyCode(key of Currency)Many ExchangeRateCurrencyPair records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
Need help with ExchangeRateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.