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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
lcasey
Post Prodigy
Post Prodigy

Lookup Values and Measures

Hello,

 

Is it possible to use lookupvalue in a measure and not a calculated column?

 

 

Measure = LOOKUPVALUE('Table'[Balance],'Table'[CUSTNMBR],

 

I cant use a measure as the table I am trying to use as a lookup is aggregating the customer number.

 

 

 

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@lcasey

 

What you apply as the first argument in LOOKUPVALUE() function must be a column. Measure is not a column of values. It need to be sliced and evaluated with current context to get result which can't be used in LOOKUPVALUE() function.

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Employee
Employee

@lcasey

 

What you apply as the first argument in LOOKUPVALUE() function must be a column. Measure is not a column of values. It need to be sliced and evaluated with current context to get result which can't be used in LOOKUPVALUE() function.

 

Regards,

lcasey
Post Prodigy
Post Prodigy

01.png

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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