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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Finding the Max Lookup Between Tables

Morning all!

 

I am pulling in the latest price for a particular contact. the contact had three months of activity. 

 

May 

June 

July

 

Pricing in July Changed from $2.00 to $3.00 so in May and June the pricing is the same. However when I try to pull in pricing based on table 1, since there is no June date it is left blank in table 2.   

 

Question, how do I pull in the last max date (which is May pricing) for June.

 

Table 1
DateContract #Price
5/1/2020P-2030 $ (2.00)
7/1/2020P-2030 $ (3.00)

 

Table 2
DateContract #Seller NamePrice
5/1/2020P-2030ABC Corp $    (2.00)
6/1/2020P-2030ABC Corp 
7/1/2020P-2030ABC Corp $    (3.00)
1 REPLY 1
lbendlin
Super User
Super User

Use LASTNONBLANKVALUE() to get the May data for June.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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