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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
chiru5262
Helper III
Helper III

lookup within the range

Hi ,

 

I have field called diameter which I have to compare with a range to bring a value.

 

e.g.

 

Reference Table:

chiru5262_0-1637544073535.png

 

 

I have the reference column in the comparing table except the diameter is in one field

 

e.g. Comparing Table

 

chiru5262_1-1637544089983.png

 

So my issue is I can lookup first 3 columns from each table but the diameter in the reference is within the range 1 to 10 or 1 to 1000 which I'm unable to lookup to bring the  matching 'Material Asset Category' field.

 

Any solution for the easiest way is greatly appreciated.

 

Kind Regards,

Chiru

 

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @chiru5262 ,

 

Seems to not quite understand your needs, can you provide more information or test data, so that I can answer for you as soon as possible.


Best Regards,
Henry

 

AllisonKennedy
Super User
Super User

@chiru5262  I think this blog should help detail what you're trying to do: https://excelwithallison.blogspot.com/2020/06/dax-approximate-lookup.html

 

Make sure your two tables aren't related.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

chiru5262
Helper III
Helper III

@amitchandak @AlexisOlson @Greg_Deckler ,any suggestions please

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.