cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
madmanmark198
Frequent Visitor

DAX to pull in data from another table

I have a 2 tables of data containing event dates but I need to combine them together into a single column.   What I would like to do is create a column of data combining both dates into this column.

 

So effectivly if Event Date in Table 1 = Blank then use Event Date in Table 2.

 

There would never be dates in both columns so they would never overlap.

 

I was thinking this would be best done in PowerQuery but I could be wrong.  If someone could please advise that would be great.  Happy to provide screenshots of the tables in question etc...

1 ACCEPTED SOLUTION
PabloDeheza
Super User
Super User

Hi there!

I would suggest doing this in Power Query as it is more powerful for modeling. This can be achieved by selecting the two columns you need to merge, right clicking on one of them and selecting "Merge Columns"

PabloDeheza_0-1660653481458.png

Let me know if that helps!

View solution in original post

1 REPLY 1
PabloDeheza
Super User
Super User

Hi there!

I would suggest doing this in Power Query as it is more powerful for modeling. This can be achieved by selecting the two columns you need to merge, right clicking on one of them and selecting "Merge Columns"

PabloDeheza_0-1660653481458.png

Let me know if that helps!

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.

Top Solution Authors
Top Kudoed Authors