Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi everyone,
I have three different reports that I would like to merge into one report. Every report extracts data from one single company in Microsoft Dynamics 365 Business Central, the merged report will extract data from three companies.
1st report = Swedish entity, LCY = SEK
2nd report = Danish entity, LCY = DKK
3rd report = Australian entity, LCY = AUD
The reports show both values in currency and in LCY, using this formula to get the latest exchange rate (this is from the Swedish report):
Exchange Rate =
VAR recentDate =
CALCULATE( MAX( 'ExchangeRates'[Starting_Date] ), 'ExchangeRates'[Currency_Code] = EARLIER( 'ILC_Invoicing_Lines'[Currency_Code] ))
RETURN
IF( 'ILC_Invoicing_Lines'[Currency_Code] = "SEK", 1 ,
CALCULATE( MAX( 'ExchangeRates'[Exchange_Rate_Amount] ), 'ExchangeRates'[Currency_Code] = EARLIER( 'ILC_Invoicing_Lines'[Currency_Code] ),
'ExchangeRates'[Starting_Date] = recentDate ))
Example data:
| Amount (currency) | Currency code | Company | |
| SE-001 | 100 | SEK | SE |
| SE-002 | 150 | USD | SE |
| DK-001 | 200 | DKK | DK |
| DK-002 | 500 | SEK | DK |
| AU-001 | 100 | AUD | AU |
| AU-002 | 200 | EUR | AU |
The exchange rate table will be based on SEK.
What I would to achieve:
Also, we would like to differ between the latest exchange rate and a selected budget exchange rate:
Many thanks!
Don't you rather want to do that on transaction level?
I don't really follow - how would you do that and why?
Thanks
L
In our industry customers can conduct one transaction in SEK and the next one in USD. It's their choice, and we record the base currency of the transaction rather than assuming that the customer always transacts in SEK (for example)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |