• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to auto convert to amount with the Exchange rate based on the Year selected in the Slicer

kelvin-lkh

New Member
Dear all experts,

First of all, I would like to share with you that I have posted this qns on other forum and I do understand that Chandoo forum does not allow the multiple posting qns. However, I couldn't get the solution after a while it has been posted on other forum. Hence, I would like to seek help if anyone here know the answer to my qns. Please pardon me if my case is still considered violating the rule of this forum.

The challenge I encounter as below

I create two tables below. The Col Amount in the Data table is in original currency and split by year. I am not able to create a relationship between two tables due to there is no singapore with unique value.

The thing I want to achieve is I would be able to make the amount in the matrix table covert based on the respective rate of the year I have selected in the slicer. For instance, when I select year 2021, the amount of every year (2020, 2021, 2022) will be auto converted based on the 2021 rate of the respective currency.

Can you please advise how I can do that? By using a Dax formula or I need to modify the table and create a column in the Data table to convert based on the year I select?


Table - Data
kelvinlkh_0-1674812551617.png


Table - Currency
kelvinlkh_1-1674812580786.png


Model : unable to create relationship between 2 tables due to there is no any column with unique data
kelvinlkh_2-1674812626691.png



Matrix Table in Original Currency. Ideally the data in Matrix table should auto convert to the USD based on the rate of the year.
kelvinlkh_3-1674813135393.png
 

Attachments

  • Sample.xlsx
    16.2 KB · Views: 0
Back
Top