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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
anorville
Helper I
Helper I

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.