Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
danielboi
Helper I
Helper I

Calculating FX / currency Variation in Sales Report

Hello community,

 

I want to calulate sales price variations, which is a comparison of budget price, budget volume and actual price, actual volume.

 

It starts with eliminating currency effects. that means "Actual Sales in EUR x (1- Budget FX Rate / Actual FX Rate). There is one FX rate for the planning for every month, i.e. whole year 2022. In actual we have different rates per month.

 

My data model has following tables:

 

1. FACT Budget Data

Attributes: Material number, customer code, date (month),

Values: budget volume, budget sales

2. FACT Actual Data

Attributes: Material number, customer code, date (month)

Values: actual volume, actual sales

3. FACT FX Rates

Attributes: date (month), Version (Budget or actual), Currency (EUR, USD, JPY), 

Values: FX Rate

4. Dimension Material

Attributes: Product description as well the invoicing currency

5. Dimension Date Table

 

I guess it is not ideal to have the invoicing currency in the Dimension Material. but my data source did not deliver for the budget data the currency for the planning. It is however working as a material number is invoiced only in one currency.

 

Fact Budget Data and Fact Actual Data are connected to the dimension Material and Date tables

Fact FX Rates is connected to Dimension Date Table

 

The formula I am looking for will get the actual sales of a material number in a specific month, then pull the applicable currency and makes a division with budget FX rate and actual FX rate

 

Thanks for any hints upfront!

1 ACCEPTED SOLUTION
danielboi
Helper I
Helper I

OK, managed to solve it on my own. 

 

Since I am doing the model also in Excel I am cannot use bi-directional filtering. Of course I tried using crossfilter, it did not work. Over night I got the epiphany how to properly use crossfilter. Issue is solved!

View solution in original post

1 REPLY 1
danielboi
Helper I
Helper I

OK, managed to solve it on my own. 

 

Since I am doing the model also in Excel I am cannot use bi-directional filtering. Of course I tried using crossfilter, it did not work. Over night I got the epiphany how to properly use crossfilter. Issue is solved!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.