Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Solved! Go to Solution.
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!
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!