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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
btfergie
Helper I
Helper I

DAX Lookup for equal or greater values

Is there a way do get DAX functionality similar to Excel Lookup wehre you dont need an exact match but rather less than or greater approximate match?

3 REPLIES 3
btfergie
Helper I
Helper I

 

A little more information...

I am trying to figure out which PO date items would have been used in disposition based on first in first out.  For example the 1504 items on 5/14/2020 would have come form the 3/30/2020 PO for the first 1000 and 504 for the 4/3/2020 PO. 

I was going to try and lookup the appoximate the running total of dispositions on the running total of PO items.  If I

My running total of disposition isnt quite working however.

 

Capture.PNG

Hi @btfergie ,

 

I am trying to figure out which PO date items would have been used in disposition based on first in first out. 

 

From your description, you may need to get value 1000 matched to row of date 3/30/2020 and value 504 matched to row of date 4/3/2020, right?  If so, you may clarify the logical about the Lookup and the result values.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@btfergie , what is the context for that , this type statement can give min or max across table

Try as new column

City Name = maxx(FILTER(geography,geography[City Id]=Sales[City Id]),geography[City]) // new column in sales

 

within same table

last date = maxx(filter(Table, [Employee] =earlier([Employee]) && [Modified date] <earlier([Modified date])),[Modified date])
last status = maxx(filter(Table, [Employee] =earlier([Employee]) && [Modified date] =earlier([last date])),[Field 1])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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