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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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