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
Parihar1980
Helper II
Helper II

Return Column from another table in DAX

I have 2 table 

table 1

id name 

1   A

2   B

3   C

 

table 2

EMpid   date

1           11-02-2017 

2            11-02-2014

3            11-02-2013

 

 

I want to explore Date column in table 1 using join or any mathod so that I get Date column as output 

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

Hi @Parihar1980,

 

New a calculated column in Table1:

Date =
LOOKUPVALUE ( table2[date], table2[EMpid], table1[id] )

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Parihar1980,

 

New a calculated column in Table1:

Date =
LOOKUPVALUE ( table2[date], table2[EMpid], table1[id] )

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@Parihar1980,

You can use RELATED function to get your date column from table 2 if you have relationship between these tables. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.