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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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