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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
stribor45
Post Prodigy
Post Prodigy

Virtual Table by UNION of two other tables

I am trying to create a virtual table but I think I am having syntax issues. can someone correct this into a working DAX code please

 

T1 = ALL(tableA[col1],tableA[col2]),

T2 = ALL(tableB[col1],tableB[col2]),

 

return UNION(T1,T2)

1 ACCEPTED SOLUTION
stribor45
Post Prodigy
Post Prodigy

That did not work for me but this did

 

 

 

My Table = 

VAR T1 = SUMMARIZE('TableA','TableA'[Call_ID])
VAR T2 = SUMMARIZE('TableB','TableB'[Call_ID])
RETURN UNION(T1,T2)

 

View solution in original post

2 REPLIES 2
stribor45
Post Prodigy
Post Prodigy

That did not work for me but this did

 

 

 

My Table = 

VAR T1 = SUMMARIZE('TableA','TableA'[Call_ID])
VAR T2 = SUMMARIZE('TableB','TableB'[Call_ID])
RETURN UNION(T1,T2)

 

jdbuchanan71
Super User
Super User

ALL(tableA[col1],tableA[col2])
UNION
ALL(tableB[col1],tableB[col2])

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.