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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tryingnewtools
Regular Visitor

Closest future date in another table

Hi,

 

I am am trying to get the closest future date from one table, based on the dates in another table.

 

I have 2 tables:

 

Prices: which has a continuous list of dates

Price Date.GIF

 

 

Fundamentals: which has a list of dates by quarter

Fundamental date.GIF

 

 

What calculation can I do to return the closest future quarter, based on the date in the price table (i.e., the row with "2/1/2000" in the price table, should return (3/31/2000) from the fundamental table

 

Thank you

1 ACCEPTED SOLUTION
tryingnewtools
Regular Visitor

Got it to work by creating a unique quarter identifier for each table.

 

Then used LOOKUPVALUE('Fundamental'[Quarter], 'Fundamental'[Quarter Identifer], 'Prices'[Quarter Identifier])

 

Probably not the greatest solution...but works...

View solution in original post

1 REPLY 1
tryingnewtools
Regular Visitor

Got it to work by creating a unique quarter identifier for each table.

 

Then used LOOKUPVALUE('Fundamental'[Quarter], 'Fundamental'[Quarter Identifer], 'Prices'[Quarter Identifier])

 

Probably not the greatest solution...but works...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Kudoed Authors