Relate 3 tables with exchange rate table

djemy1975

Board Regular
Joined
Jan 18, 2016
Messages
51
Hi colleagues,

Is there any way to relate 3 tables with values to an exchange table which has one fixed currency exchange rate all over the year.

In fact I have 3 tables with main currency "DZD"
Table1:"Booking"
Table2:"Engaged"
Table3:"To-be-engaged" ------These 3 tables are related to main table :"tbl_Projects" with Column-"Jobcost" and with another table "date Table" to be able to filter with month and year as slicers .This part is working perfectly.
exchange table.png

What I want is to transform these data into another currency "CHF" which has a fixed rate in a table called "exchange table". The problem is when I want to filter with month and year slicer the matrix remains unchanged.
Shall I link "Date table" with "exchange table" or what?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I have found the solution for this problem after more than an hour trying.It was very easy.
I have changed my formula for "PO" , "PR" and "spending KCHF" by multiplying each value ("PO","PR", "Spending")in the 3 tables by rate in "exchange table", according to date in "Date table".

PO KCHF = Calculate([PO]*sum(ExchangeTable[ExchangeRate]);USERELATIONSHIP(Engaged1[Date GL];'Date'[Date]))
PR KCHF = CALCULATE([PR]*sum(ExchangeTable[ExchangeRate]);USERELATIONSHIP(To_be_enaged[Date GL];'Date'[Date]))
Spending KCHF = calculate([Spending KDZD]*sum(ExchangeTable[ExchangeRate]);USERELATIONSHIP(Booking2[Date GL];'Date'[Date]))

These are the screenshots after modification:

KDZD.png
KCHF.png
 
Upvote 0
Solution

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top