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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RMV
Helper V
Helper V

adding (only the not-yet-existed) values from other table

Hi,

 

I have a table, called Table 1, that listed a number of location. for example,

Table 1

Location Name

-----------------

Location A

Location B

Location C

 

Then there's another table, called Table B, that has another locations, for example

Table 2

Location Name

-----------------

Location A

Location C

Location D

Location E

 

I would like to add the location names that are available in Table 2, but not available in Table 1 using dax, to be added in Table 1, without creating a new table to merge both table. Since, I already have a complete measurements I need in Table 1, and just realized that there's some other locations are not included.

Thus, the result I expect in Table 1 is

Location Name

-----------------

Location A

Location B

Location C

Location D

Location E

 

How can I do this in dax?

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @RMV 


I know you asked for DAX solution but, you can use Append Queries ( on table 1 ) in Query Editor and use Group by after to get unique Location Names.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @RMV 


I know you asked for DAX solution but, you can use Append Queries ( on table 1 ) in Query Editor and use Group by after to get unique Location Names.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

Hi @Mariusz ,

 

Thanks for the suggestion.

yea, I would like to use dax, since there are numbers of tables in the file, and I'm afraid adding a query affected the refresh performance.

Well, I think I need to give it a try.

 

Thanks a lot, again.

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.