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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
Solution Sage
Solution Sage

Hi @topazz11 

 

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

it is Power BI

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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