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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
dhanureddy9
New Member

how to get lookup value from another table

HI 

How can i use lookup value to get targets from another table?

dhanureddy9_0-1662012559917.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dhanureddy9 ,

You can create a calculated column as below in the table "Tab_calls":

Column = 
VAR _target =
    CALCULATE ( MIN ( 'Tab_Targets'[TARGET] ), 'Tab_Targets'[METRIC] = "AHT" )
RETURN
    'Tab_calls'[CALLS] * _target

yingyinr_0-1662373994420.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @dhanureddy9 ,

You can create a calculated column as below in the table "Tab_calls":

Column = 
VAR _target =
    CALCULATE ( MIN ( 'Tab_Targets'[TARGET] ), 'Tab_Targets'[METRIC] = "AHT" )
RETURN
    'Tab_calls'[CALLS] * _target

yingyinr_0-1662373994420.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Anonymous
Not applicable

Hi,

without more information of the data I think you should look into using the LOOKUPVALUE function to create a new column  with the targets in it. That is assuming that there is a relationship between the tables? From there on, it is a matter of creater either a measure or another column with multiplication.
https://docs.microsoft.com/sv-se/dax/lookupvalue-function-dax

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors