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
tjlundquist1
Helper I
Helper I

LOOKUPVALUE - A table of multiple values was supplied..

I use the LOOKUP formula in conjunction with the PATH formula to create a Hierarchy for my RLS. Almost two years solid with no issues, but today - I ran accross this error and am having trouble correcting it the right way. 

tjlundquist1_1-1623943712229.png

Currently using:

Org Level 1 = LOOKUPVALUE('Active Directory'[Employee Email],'Active Directory'[Employee Name],PATHITEM('Active Directory'[Hierarchy],4,TEXT))

 

I attempted a fix in which I learned the potential issue. In the power query, I filtered out NULLS in the name column. This corrected the error, but completely threw off my Org Level columns. For ex. in the first row I would expect that Org Level 2 would be Kara, however after I filtered out the NULLS it was not Kara it was just blank. Kara was in Org Level 4, which doesn't make any sense.

 

So the issue potentially has something to do with NULLS in [Employee Name] data? 

 

Any ideas?

Trevor

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@tjlundquist1 , Try a new column like

 

Org Level 1 =
var _1 = PATHITEM('Active Directory'[Hierarchy],4,TEXT)
return
maxx(filter('Active Directory' ,'Active Directory'[Employee Name] =_1), 'Active Directory'[Employee Email])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@tjlundquist1 , Try a new column like

 

Org Level 1 =
var _1 = PATHITEM('Active Directory'[Hierarchy],4,TEXT)
return
maxx(filter('Active Directory' ,'Active Directory'[Employee Name] =_1), 'Active Directory'[Employee Email])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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