Forum Discussion

AllanBerces's avatar
AllanBerces
Icon for Post Prodigy rankPost Prodigy
1 year ago
Solved

PQ _Lookupvalue

Hi good morning,

Can anyone help me on my PQ, aside from Merge Queries how can I lookupvalue on my table.  i want to bring the value of table02 to table01.

Thank you

  • Anonymous's avatar
    Anonymous
    1 year ago

    I agree, using merge queries is the easiest and fastest way to do it. If the value does not match, you can check whether it is due to the following reasons:

    • Some values in "activity" column may have invisible leading or ending space strings, resulting in no match on them;
    • Some "activity" values do not exist in one of the tables;
    • There might be spelling mistakes or typo.

     

    There are several methods to find out or resolve above questions:

     

     

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    I agree, using merge queries is the easiest and fastest way to do it. If the value does not match, you can check whether it is due to the following reasons:

    • Some values in "activity" column may have invisible leading or ending space strings, resulting in no match on them;
    • Some "activity" values do not exist in one of the tables;
    • There might be spelling mistakes or typo.

     

    There are several methods to find out or resolve above questions:

     

     

  • Deku's avatar
    Deku
    Icon for Super User rankSuper User

    Why do you want a alternative?

    • AllanBerces's avatar
      AllanBerces
      Icon for Post Prodigy rankPost Prodigy

      Hi Deku Coz I try to merge, but there are some hours didnt captured, activity are both on each table. Maybe theres another wa aside from merge

       

      • Deku's avatar
        Deku
        Icon for Super User rankSuper User

        With table.join() you can specify joinKind. The default is a inner join but sounds like you want a left outer join to return all of the left table, and returning results where they appear from the right table, else returning null if no matches are found. If so use joinKind.LeftOuter

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

    Hi AllanBerces,

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

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

    Hi AllanBerces,
    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.