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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
shouck11165
New Member

Power BI Reference Table Return Value

Hello,

 

I have a measure (Cost Relativity) that changes as end users change slicers. The example Cost Relativity Value is: .95097350

 

I need to use this measure value as a lookup to another table where the measure is between the APO_COST_RELATIVITY_LOW and APO_COST_RELATIVITY_HIGH columns and then returns three columns (TARGET_TREND_INFLATOR, SHARED_SAVINGS_CORRIDOR AND SHARED_DEFICIT_CORRIDER) into their own measures for use in calculations later. 

 

shouck11165_0-1711300926318.png

 

This is the row that should that should be returned from the lookkup sample above:

shouck11165_1-1711301145257.png

 

Any tips would be great. I've read you can used measures for lookups so I'm about out of ideas.

 

Thanks

 

Steve

 

1 ACCEPTED SOLUTION
shouck11165
New Member

I ended up putting all scenarios into measures and included them in "if" statements for the calculation measures.

View solution in original post

3 REPLIES 3
shouck11165
New Member

I ended up putting all scenarios into measures and included them in "if" statements for the calculation measures.

Ashish_Mathur
Super User
Super User

Hi,

While a measure can be used in a calculated column formula, it will be static i.e. it will recalculate only when the Refresh button is pressed.  So effectively, a measure should not be written in a calculated column formula.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
shouck11165
New Member

I meant to say "Can't" use measures in lookups.

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.