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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Super User
Super User

Hi @topazz11 

 

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

it is Power BI

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.

Top Solution Authors