The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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