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
bereteli
Frequent Visitor

First value for lookupvalue

Hi everybody. Help me plz. I have table with product range.  My goal is find first result from lookupvalue, but from the other colums for built PATH().

My example. 

 

Сomponent parts ProductCode ProductChildID
Zubr after testZubrC-0000222

=LOOKUPVALUE([Code Product];[Product];[Component part]) 

it's will = > C-0000328

Zubr completingZubr after testC-0000328need  = > C-0000692
Power supplyZubr completingC-0000692-
Power supplyZubr completingC-0000693 

 

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hi @bereteli 

 

You should probably refer to the firstnonblank function, please kindly check below thread:

https://community.powerbi.com/t5/Desktop/Lookupvalue-only-first-result/m-p/244009 

 https://community.powerbi.com/t5/Desktop/LOOKUPVALUE-return-first-of-multiple-matches/m-p/727121 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

1 REPLY 1
v-diye-msft
Community Support
Community Support

Hi @bereteli 

 

You should probably refer to the firstnonblank function, please kindly check below thread:

https://community.powerbi.com/t5/Desktop/Lookupvalue-only-first-result/m-p/244009 

 https://community.powerbi.com/t5/Desktop/LOOKUPVALUE-return-first-of-multiple-matches/m-p/727121 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
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.