cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
madmanmark198
Regular 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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Kudoed Authors