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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Similar Function to Xlookup in DAX

Hi,

I am trying to do a basic lookup in DAX from the Parent SEQ Column to the ASM SEQ and return the ASM SEQ RANK (See picture below). I know that lookups can be handled in other programs easily like PQ but for my purpose it has to be in DAX as I am trying to create a ragged hierarchy which I can refresh in Excel format (I need hide members feature for pivot table). I imagine it is some variation of the lookupvalue function but I cannot get it to work.

 

DaxUser101_0-1632410222132.png

 

Thanks

1 ACCEPTED SOLUTION
jppv20
Solution Sage
Solution Sage

Hi,

 

Try this:

Result = LOOKUPVALUE('Table'[ASM SEQ RANK],'Table'[ASM SEQ],'Table'[PARENT SEQ])
 
Jori

View solution in original post

2 REPLIES 2
jppv20
Solution Sage
Solution Sage

Hi,

 

Try this:

Result = LOOKUPVALUE('Table'[ASM SEQ RANK],'Table'[ASM SEQ],'Table'[PARENT SEQ])
 
Jori
Anonymous
Not applicable

Thanks. I should have been able to figure that out. I am new to DAX and Its hard to learn it when you have been using Power Query forever.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.