Forum Discussion

Louiselam's avatar
Louiselam
Frequent Visitor
7 years ago
Solved

Not able to append all queries

Hi,

 

I have appended one table to the other to get the Column " Application"  map in my primary table. The unique key is "Resource Group Calculated" column.

 

However, some of the rows not able to map with the application.

 

 Example:

After appended the application column:

Row 1 - RG 1 - successfully map to the correct application name

Row 2 - RG 1 - "Null"

 

So only 1 row for each unique key are able to map to the application name.

 

Would anyone know why there are data missing?

 

thanks.

  • hi, Louiselam

    "The selection has matched 679987 out of the first 1169420 rows"

     

    This means that there are 1169420 rows in table1 but only 679987 rows in table1 can be matched with table2.

    So please check if all the values in RG have the same value in table, capital and lower-case letter will also affect the result.

    For example:

    I change rg-eas-pd-DEF to rg-eas-pd-DEf

    this will lead to not all the data can map

     

     

    Best Regards,

    Lin

5 Replies

  • v-lili6-msft's avatar
    v-lili6-msft
    Icon for Community Support rankCommunity Support

    hi, Louiselam

    I have tested on my side, but not reproduce the issue.

    Could you please share some screenshots or some sample data and expected output. Do mask sensitive data before uploading

     

    Best Regards,

    Lin

    • Louiselam's avatar
      Louiselam
      Frequent Visitor

      Dear Lin,

       

      I am trying to append table 2 into table 1, with unique key in Column "RG" in both tables.

       

      Example: 

      Table 1

      RGDay MonthCost
      rg-eas-pd-1231115
      rg-eas-pd-ABC1116
      rg-eas-pd-DEF1120
      rg-eas-pd-1232134
      rg-eas-pd-ABC2113
      rg-eas-pd-DEF2115
      rg-eas-pd-1233116
      rg-eas-pd-ABC3120
      rg-eas-pd-DEF3134
      rg-eas-pd-1234113
      rg-eas-pd-ABC4134
      rg-eas-pd-DEF4113

       

      Table 2

      RGApplication
      rg-eas-pd-123123
      rg-eas-pd-ABCABC
      rg-eas-pd-DEFDEF

       

      Current issue

      Some of the rows unable to map with application

      RGDay MonthCostApplication
      rg-eas-pd-1231115123
      rg-eas-pd-ABC1116ABC
      rg-eas-pd-DEF1120DEF
      rg-eas-pd-1232134Null
      rg-eas-pd-ABC2113Null
      rg-eas-pd-DEF2115Null
      rg-eas-pd-1233116Null
      rg-eas-pd-ABC3120Null
      rg-eas-pd-DEF3134Null
      rg-eas-pd-1234113Null
      rg-eas-pd-ABC4134Null
      rg-eas-pd-DEF4113Null


      Thanks