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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
froxas
Helper II
Helper II

DAX measure filter out table by date and take last record and return value

I need a help to write a DAX measure.

I have one table Contracts with contract_id.

Then I have another table Euribor connected with contract_id.

 

User selects report date and i need to make measure "euribor" which

- filters out euribor table by contract_id,

- filters out euribor table by valid_from > report date and takes

- takes first record and returns euribor value

 

froxas_0-1674577398648.png

It needs to be a calculated measure, nor a calculated column because the result will change of selected report date.

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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