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

LookUpValue with Filter

Hi all,

 

I'm trying to do a lookupvalue with a filter but can't seem to get it working.

 

I want to create a Measure to Lookup the "Group Role" where the "People Leader" is TRUE and return the "Name".

 

This should give me a new column with the following data:

 

ROW 1 Krystle Te Raki

ROW 2 Jason Gould

ROW 3 Krystle Te Raki

ROW 4 Henry Wong

ROW 5 Jason Gould

ROW 6 Krystle Te Raki

ROW 7 Henry Wong

 

mccardj_0-1663471598783.png

 

1 ACCEPTED SOLUTION
Jos_Woolley
Solution Sage
Solution Sage

This measure:

Measure =
LOOKUPVALUE(
    'Table'[Name],
    'Table'[Group Role], MIN( 'Table'[Group Role] ),
    'Table'[People Leader], TRUE
)

Regards

View solution in original post

4 REPLIES 4
Jos_Woolley
Solution Sage
Solution Sage

That must mean that your table can contain duplicate entries. Post some more realistic data, since that which you posted does not contain any duplicates.

Regards

Anonymous
Not applicable

Thanks! I fixed up my data and removed the duplicates and it works! Thanks so much

Anonymous
Not applicable

Hi @Jos_Woolley  - I get this error: 

mccardj_0-1663535578232.png

 

Jos_Woolley
Solution Sage
Solution Sage

This measure:

Measure =
LOOKUPVALUE(
    'Table'[Name],
    'Table'[Group Role], MIN( 'Table'[Group Role] ),
    'Table'[People Leader], TRUE
)

Regards

Helpful resources

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

June 2025 community update carousel

Fabric Community Update - June 2025

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