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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RossBateman96
Frequent Visitor

Reporting with exchange rate adjustments

Hello

I have created a report with GBP and EUR balances. I need to convert all those balances either by a closing rate or an average rate. For example, for June's reporting I need a measure to calculate the average 2024 rate (1.155) and another one to calculate the closing rate (1.18). This is from a table filled with dates and exchanged rates. This can then be applied to the amounts based on another field (Income statement or Balance Sheet).

 

Please can suggestions be shared for the formula required?

 

Thanks in advance

1 ACCEPTED SOLUTION
v-xingshen-msft
Community Support
Community Support

Hi @RossBateman96 ,
I tried to write some example data based on your question, hopefully it will help you, my first step was to use June as an example and calculate the average rate for June to emulate your average rate for the whole year 2024.

 

AverageRate2024 = CALCULATE(
    AVERAGE('Table'[Rate]),'Table'[Date]>=DATE(2024,6,1)&&'Table'[Date]<=DATE(2024,6,30)
)

 

 

 

 

vxingshenmsft_0-1725500255738.png
In the second step, since you are not sure if your settlement date is the end of each month, in the second function I use a dynamic date to ensure that you can select that date as the exchange rate for your own settlement date.

 

ClosingRateJune2024 = 
VAR A=SELECTEDVALUE('Table'[Date])
RETURN
 CALCULATE(
     MAX('Table'[Rate]),
     'Table'[Date]=A
)

 

vxingshenmsft_1-1725500445315.png

The third step is to make a judgement call to see which exchange rate to use for different types.

vxingshenmsft_0-1725501852431.png

 

vxingshenmsft_2-1725500506380.png
I hope my thoughts have addressed your concerns, and I would be honoured if I could help you out!

Hope it helps!

 

Best regards,
Community Support Team_ Tom Shen

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

1 REPLY 1
v-xingshen-msft
Community Support
Community Support

Hi @RossBateman96 ,
I tried to write some example data based on your question, hopefully it will help you, my first step was to use June as an example and calculate the average rate for June to emulate your average rate for the whole year 2024.

 

AverageRate2024 = CALCULATE(
    AVERAGE('Table'[Rate]),'Table'[Date]>=DATE(2024,6,1)&&'Table'[Date]<=DATE(2024,6,30)
)

 

 

 

 

vxingshenmsft_0-1725500255738.png
In the second step, since you are not sure if your settlement date is the end of each month, in the second function I use a dynamic date to ensure that you can select that date as the exchange rate for your own settlement date.

 

ClosingRateJune2024 = 
VAR A=SELECTEDVALUE('Table'[Date])
RETURN
 CALCULATE(
     MAX('Table'[Rate]),
     'Table'[Date]=A
)

 

vxingshenmsft_1-1725500445315.png

The third step is to make a judgement call to see which exchange rate to use for different types.

vxingshenmsft_0-1725501852431.png

 

vxingshenmsft_2-1725500506380.png
I hope my thoughts have addressed your concerns, and I would be honoured if I could help you out!

Hope it helps!

 

Best regards,
Community Support Team_ Tom Shen

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.