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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
AndreasM
Frequent Visitor

Dynamic Element in DAX formula within Table View, to update with the report filter

Hi,

 

I have only started learning and trying to make PowerBi reports for the last three weeks, so I am a beginner with it.

 

I have the below question please:

 

As a company policy we are using the FX for the month the transactions relate to for Profit & Loss transactions. For the Balance Sheet transactions we are using the latest month FX Rates. I have managed to connect the FX rates and write a DAX formula to lookup the FX based on an FX look up code I have (see snips of both below). What I am trying to overcome now is the below:

 

Let’s say we are in Period 7 but somebody runs the balance sheet up to period 5 within the report using a filter, I want this FX code to be adjusted with the filter to use the FX rates from Month 5. I have tried to create a measure and add that in the DAX formula (to replace the “month(Today())” part) but it’s not working. Do you have any other suggestions please?

 

FX Code Snip:

 

AndreasM_0-1720514496736.png

 

FX Code Column:

AndreasM_1-1720514496738.png

 

I upload the FX rates using Excel as then I can use another tool to produce the FX rates (I looked at an API but its too expensive to get approval for the time being). So I create the Lookup FX Code in Excel for the lookup table.

 
 

Thank you in advance, any enlightening you can provide it would be really appreciated 🙂 

2 REPLIES 2
some_bih
Super User
Super User

Hi @AndreasM check link with example 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hi @some_bih, thank you for the reply.

I have tried to follow the guide but I have been unable to make it work. thank you for the suggestion though 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.