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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ijimo
Frequent Visitor

Merge tables based upon Start and End dates(table without relation)

I have table Operation (Date , Amount) and table Exchenge_rate (start_date, rate, end_date).

The specific exchange rate has been for several days. In Exchenge_rate table this is one row.

I need merge this table (perhaps there is another way), and get value Currency_Amount = Value/rate.

Perhaps this is a simple task, but I still only starting their way in Power BI.

I will be very grateful for any help

1 REPLY 1
austinsense
Impactful Individual
Impactful Individual

For starters, I would keep these tables separate and write a calculated column once the query is loaded.

 

The calculated column on the Operation table might look like this ...

 

Exchange Rate = CALCULATE( IFERROR(VALUES(Exchange_Rate[Rate]),BLANK()), FILTER(Exchange_Rate, EARLIER(Operation[Date])>=Exchange_Rate[Start_Date]&&EARLIER(Operation[Date])<=Exchange_Rate[End_Date]))
Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors