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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Wadi-Luca
Frequent Visitor

lookupvalue error

Hello all,

I am having alot of trouble with the lookupvalue function in power bi. I am trying to get a specific result column into a different data page, but the error about 'multiple values selected when singular value needed' continues to show up. There is a relationship already exsisting between the two data sheets. What is the problem here?

 

Additionally, I have tried this dax formula:

CALCULATE (FIRSTNONBLANK ( tblListFacilityType[credit_conv_factor], 1 ),
FILTER ( ALL(tblListFacilityType) , tblListFacilityType[facility_type_sys_id] = tblIFRSTempCDT[client_facility_type_sys_id] ))
 
However, I do not understand it, as i am new to power bi and got this equation from another forum. Could someone please help me in regards to the lookupvalue error, and maybe explaining this function for me ?
 
1 ACCEPTED SOLUTION
Fowmy
Super User
Super User


@Wadi-Luca 

You can use the RELATED function as a new column if you are on many side 

new column = RELATED ( tblListFacilityType[credit_conv_factor] )


if have multiple records and you are on the one side of the table:

new column = MAXX ( RELATEDTABLE ( tblListFacilityType ), tblListFacilityType[credit_conv_factor] )



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User


@Wadi-Luca 

You can use the RELATED function as a new column if you are on many side 

new column = RELATED ( tblListFacilityType[credit_conv_factor] )


if have multiple records and you are on the one side of the table:

new column = MAXX ( RELATEDTABLE ( tblListFacilityType ), tblListFacilityType[credit_conv_factor] )



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors