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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors