FX conversion

Started by Bjorn-e61 · 2 months, 2 weeks ago · 8 replies · 329 views
Bjorn-e61 Participant
2 months, 2 weeks ago

Creating a plan with multiple entities entering their local sales volumes, prices and customer discounts, resulting in total revenue being calculated. What is the best practice (formula? DAX? ...) to have a consolidated view (using infobridge) where we have the data converted from local currency in 1 group currency? 

8 Replies
PrithikaLumel Staff
2 months, 2 weeks ago

Great question - this is a common requirement when consolidating multi-entity plans and we've already published a video demonstrating this end-to-end approach, which closely matches your use case. You may find it helpful: https://community.fabricplan.com/videos/currency-translation-multi-granularity-consolidation-in-microsoft-fabric/

The approach, at a glance:

  1. Local currency planning sheets - Each entity enters its sales volumes, prices, and discounts in its own planning sheet, in local currency.
  2. Exchange rates in a Power Table - Rates are maintained centrally in a Power Table. This allows exchange rates to be updated independently, with any changes immediately available for downstream calculations.
  3. Bring both into Infobridge -The local currency planning sheets and the exchange rate Power Table are both pulled into Infobridge and joined into a single query.
  4. Create conversion measures - In Infobridge, we can create measures with formulas that reference the local currency values and multiply them by the corresponding exchange rate to derive the group currency values.
  5. Fully dynamic consolidated view - The consolidated query can then be used for reporting or further planning. Since the calculations are based on the Infobridge queries, any changes to either the local revenue plan or the exchange rates are automatically reflected in the global currency values without requiring manual updates.

 

This gives you a single consolidated view in group currency that stays live as entities keep planning and as rates get updated.

Director CPM Solutions · NoseDat · 2 months, 1 week ago

@Prithika, could this FX setup also be used for a group-level evaluation / consolidation scenario where you need closing rates for BS and, average FX rates for P&L accounts?

PrithikaLumel Staff
2 months ago

Yes, the same setup should work for this as well. We could maintain separate columns for the different FX rate types (e.g. average and closing rates) and apply the appropriate rate to each line item - average rates for P&L accounts and closing rates for Balance Sheet items.

Director CPM Solutions · NoseDat · 2 months ago

thanks - this brings me to a general question on when to apply Power Tables: Imagine I already have all FX-related information, brought in from the Federal Bank in my lakehouse as I need most rates in the ERP already, including historization. Could I do planning then without a Power Table? The FX info comes into my planning sheet over the semantic model -  and I don´t want anyone to to "visual work" on FX rates

PrithikaLumel Staff
2 months ago

Yes, you can do this without a Power Table. Powertable is more useful when you need users to maintain or adjust the FX rates directly within the plan.

Data Engineer · Oetiker · 1 month, 2 weeks ago

I have a follow up question related to this topic.

The solution suggests having multiple planning sheets per region, each having a different currency. I've tried, instead, to combine this into one single planning sheet. This would make more sense to me as all underlying dimensions (in my use case) are similar and would require less maintenance I suppose.

What I tried:
- By using a super filter on the intelligence sheet, the user can select the relevant currency. After the user selects the currency of his / her choice the Actuals get updated (via a DAX measure in which the value recalculates based on the currency choice in the super filter). That works nice.

- When writing back I only write back values in one single (group) currency. We have that possibility by selecting / deselecting which columns we want to writeback (in the writeback settings). That works nice as well.

- However, for the forecast / input values I want to have the same possibility. I haven't been able to get this to work.
If I add a Forecast measure in a planning sheet (and hence intelligence sheet), I want to have to possibility to recalculate that Forecast measure / value by looking up (haven't been able to get the lookup function to work properly) the currency that the user selected from the super filter and then recalculate it to one group currency before writing it back to the SQL DB.

Any thoughts / suggestions on that?

PrithikaLumel Staff
1 month ago

To make your flow work, we can create a separate calculated measure alongside the DI/Forecast measure that dynamically calculates the value in the currency selected by the user through the Global Parameter.

The flow would be:

1. Set up a Global Parameter for the target currency

The currency list can either be brought directly from the semantic model, if available, using the currency column from the exchange rates table, or a separate currency list can be created.

2. Create an advanced lookup query for the exchange rates

When configuring the lookup query, use the Advanced tab in the Field Assignments panel to add the relevant dimensions that need to be matched, along with the value to be looked up - in this case, the exchange rate required for the currency conversion and relevant period.

If the exchange rates are maintained in a Power Table, they can be brought into the Infobridge query and then used in the lookup. If the exchange rates are already available in the semantic model, they can be added directly to the lookup query.

3. Create a calculated measure for the currency conversion

Create a formula measure that uses the planning currency of the DI/Forecast value as the source currency (this could be a dimension containing the source currency, a measure or column, or even another parameter) and the currency selected in the Global Parameter as the target currency.

The formula can then look up the corresponding exchange rate for the source currency, target currency, and relevant period, and apply that rate to the DI/Forecast value to calculate the amount in the selected target currency in the Global parameter.

This keeps the original DI/Forecast measure unchanged while providing a separate measure for the dynamically converted value.

4. Display the converted value

The resulting measure will dynamically provide the DI/Forecast value in the currency selected through the Global Parameter.

As the user changes either the source/planning currency or the target currency, the calculated measure will automatically recalculate using the corresponding exchange rate.

In short: the DI/Forecast measure remains the original input value, while a separate calculated measure handles the currency conversion dynamically based on the selected source and target currencies.

 

Data Engineer · Oetiker · 1 month ago

Thanks Prithika, I will try it out soon.

Viewing 8 replies - 1 through 8 (of 8 total)

Microsoft, Azure, Copilot, Excel, Fabric IQ, Microsoft Entra, Microsoft Fabric, Microsoft Teams, OneLake, Outlook, Power Automate, Power BI and SharePoint are trademarks of the Microsoft group of companies. IBCS is a registered trademark of IBCS Association. All other trademarks are the property of their respective owners.

This community is operated independently by Lumel. Nothing on this site constitutes a representation or warranty by Microsoft.