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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
topazz11
Helper III
Helper III

Power Query Look Up Value From Another Table

Power Query Look Up Value From Another Table Based On date and other condition.

How do I pick up the value in Type column based on date and item as below?

Thanks in advance.

 

del.PNG

1 ACCEPTED SOLUTION
BeaBF
Super User
Super User

@topazz11 Hi! 

You cna find the solution in the pbix attached.

Let me know.

 

BBF


💡 Did I answer your question? Mark my post as a solution!

👍 Kudos are appreciated

🔥 Proud to be a Super User!

Community News image 1920X1080.png

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

This calculated column formula work

=CALCULATE(MAX(Table3[Туре]),FILTER(Table3,Table3[ltem]=EARLIER(Table2[Item])&&Table3[Start]<=EARLIER(Table2[Date])&&Table3[End]>=EARLIER(Table2[Date])))

Hope this helps.

Ashish_Mathur_0-1770164285392.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
BeaBF
Super User
Super User

@topazz11 Hi! 

You cna find the solution in the pbix attached.

Let me know.

 

BBF


💡 Did I answer your question? Mark my post as a solution!

👍 Kudos are appreciated

🔥 Proud to be a Super User!

Community News image 1920X1080.png

@topazz11 Have you seen the solution in the pbix?

 

BBF


💡 Did I answer your question? Mark my post as a solution!

👍 Kudos are appreciated

🔥 Proud to be a Super User!

Community News image 1920X1080.png
krishnakanth240
Resident Rockstar
Resident Rockstar

Hi @topazz11 

 

Do you want to implement above logic on Power BI or Excel. Can you confirm 

it is Power BI

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.