Data entity
ExchangeRateCDSEntity
Holds exchange rates for a pair of currencies and an exchange rate type, with start and end dates. It is meant for Dataverse integration. The key is the rate type, the from and to currencies and the start date.
- Entity name
ExchangeRateCDSEntity- Public entity name
ExchangeRateCDSEntity- OData collection
ExchangeRatesCDSEntity- Category
Document- Module
Currency- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
ExchangeRateTypeName, FromCurrencyCode, ToCurrencyCode, ValidFrom- Staging table
ExchangeRateCDSStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExchangeRatesCDSEntity- Dataverse virtual table
mserp_exchangeratecdsentity. 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· OuterJoin toExchangeRate· read-onlyExchangeRateType· InnerJoin toExchangeRateCurrencyPair· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ExchangeRateForStorageThe exchange rate value for the currency pair. | RealCurrencyExchangeRate | No | No (private) | ExchangeRate.ExchangeRate | |
ExchangeRateCurrencyPairIdPoints to the currency pair that the rate applies to. | Int64ExchangeRateCurrencyPairRecId | No | No (private) | ExchangeRateCurrencyPair.RecId | ExchangeRate.ExchangeRateCurrencyPair |
ValidFromFirst date on which the rate is valid. | DateValidFromDate | No | Yes | ExchangeRate.ValidFrom | |
ValidToLast date on which the rate is valid. | DateValidToDate | No | Yes | ExchangeRate.ValidTo | |
ExchangeRateTypeIdPoints to the exchange rate type of the pair. | Int64ExchangeRateTypeRecId | Yes | No (private) | ExchangeRateType.RecId | ExchangeRateCurrencyPair.ExchangeRateType |
FromCurrencyCodeCurrency to convert from. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPair.FromCurrencyCode |
ToCurrencyCodeCurrency to convert to. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPair.ToCurrencyCode |
ExchangeRateTypeNameName 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 two currencies. | 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.
ExchangeRateCurrencyPairId→ExchangeRateCurrencyPair.RecId(key of ExchangeRateCurrencyPair)Many ExchangeRate records → zero or one ExchangeRateCurrencyPair record
ExchangeRateCurrencyPair details: see ExchangeRateCurrencyPairEntity, ExchangeRateEntity, ExchangeRateNonISOEntity
ExchangeRateTypeId→ExchangeRateType.RecId(key of ExchangeRateType)Many ExchangeRateCurrencyPair records → exactly one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
FromCurrencyCode→Currency.CurrencyCode(key of Currency)Many ExchangeRateCurrencyPair records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ToCurrencyCode→Currency.CurrencyCode(key of Currency)Many ExchangeRateCurrencyPair records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
Need help with ExchangeRateCDSEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.