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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
deniseb
Regular Visitor

VLOOKUP in Power BI

Hello, Maybe someone can help me with my problem.

I have two tables (values, key). In the table values there are several columns with different values. The table key shows which column must be used for the row. The remaining values are irrelevant (see picture). This value should be in a separate field. In Excel we have a VLOOKUP formula for this. It's a little complicated to explain, but I hope you understand it anyway.

 

Thank you for your help

key.pngtable valuetable value

 

1 REPLY 1
ryan_mayu
Super User
Super User

@deniseb 

maybe you can try to use unpivot 

Unpivot columns - Power Query | Microsoft Docs

then use lookupvalue

LOOKUPVALUE function (DAX) - DAX | Microsoft Docs

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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