Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
This measure:
Measure =
LOOKUPVALUE(
'Table'[Name],
'Table'[Group Role], MIN( 'Table'[Group Role] ),
'Table'[People Leader], TRUE
)
Regards
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
Thanks! I fixed up my data and removed the duplicates and it works! Thanks so much
This measure:
Measure =
LOOKUPVALUE(
'Table'[Name],
'Table'[Group Role], MIN( 'Table'[Group Role] ),
'Table'[People Leader], TRUE
)
Regards
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |