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
jcountryman
Helper I
Helper I

Inconsistent Results When Joining Tables After Adding Keys

I'm finding these two Table.NestedJoin expressions to be unequal, and I don't understand what would be causing it? The first runs much faster than the second, but that does me no good if it isn't the same result as the second…

 

Table.NestedJoin(
    Table.ReplaceKeys(
        LEFT_TABLE,
        {[
            Columns = {"UID"},
            Primary = true
        ]}
    ), 
    {"UID"}, 
    Table.ReplaceKeys(
        RIGHT_TABLE,
        {[
            Columns = {"UID"},
            Primary = true
        ]}
    ), 
    {"UID"},
    "SUB_TABLE",
    JoinKind.LeftOuter
)=Table.NestedJoin(
    LEFT_TABLE,
    {"UID"},
    RIGHT_TABLE,
    {"UID"},
    "SUB_TABLE",
    JoinKind.LeftOuter
)

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @jcountryman ,

 

Based on my test, above two methods to merge tables returns the same result.

1.png2.png

 

Please provide sample data so that I can reproduce.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @jcountryman ,

 

Based on my test, above two methods to merge tables returns the same result.

1.png2.png

 

Please provide sample data so that I can reproduce.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for responding. Unfortunately, I can't share this exact data set I'm experiencing trouble with, but that's all the confirmation I need— 100% sure there's something odd with one or both of my tables, not the operations.

 

Thanks 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.