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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors