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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors