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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.