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
VJ
Frequent Visitor

Help with DAX to do a lookup based on the measure value

Hi,

 

I am new to DAX and I am facing  issues writing DAX to do a lookup on a table based on the measure value  and I am not sure if its even possible in power BI.  

 

My Scenario is I am using an import model in power BI and my source is SQL server i am able to build the measures successfully but when i am trying to compare the  measure value  to reference table and build a measure out of it I am facing the issue i am not able to write DAX to do that. 

 

Example of what i am trying to accomplish if i have a Average household income of 3.73 my calculation based on the reference table should be like this.

 

3.73 = 20160+(0.73*4140) 

 

20160 = householdincome based on lookup for householdsize  of 3 

4140 = step increase basically step increase is difference of amount  (please look at the screen shot below)

 

Below are some screen shots attached for referece.

 

your help is greatly appreciated thank you.

measure.PNG

 

lookup table.PNG

 

 

 

 

 

 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

 @VJ

 

You can lookup value based on the result of measure. 

 

 

In your scenario, if you want to lookup 3 based on 3.73, you need to ROUNDDOWN() the result from measure. 

 

Column = LOOKUPVALUE(Table1[result],Table1[Value],ROUNDOWN([Measure],0))

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

 @VJ

 

You can lookup value based on the result of measure. 

 

 

In your scenario, if you want to lookup 3 based on 3.73, you need to ROUNDDOWN() the result from measure. 

 

Column = LOOKUPVALUE(Table1[result],Table1[Value],ROUNDOWN([Measure],0))

Regards,

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