Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

concatenate values

I need to unite the values of fields of type text in two different tables, how can I do?

  • Hi Anonymous,

     

    You can nested CONCATENATE() within CONCATENATE() to add concatenate more characters you need.

     

    CONCATENATE(string_expression,CONCATENATE(string_expression,string_expression))

     

    Regards,

8 Replies

  • MattAllington's avatar
    MattAllington
    Icon for Community Champion rankCommunity Champion

    Well it depends. Are the tables related?  Are you writing a measure or a calc column?  Why do you want to do this - IE what are you trying to achieve and why?

    • Anonymous's avatar
      Anonymous
      Not applicable

      The tables are related and I'm wanting to apply to a measure

      • MattAllington's avatar
        MattAllington
        Icon for Community Champion rankCommunity Champion

        Ok, you assuming you are writing a measure over your data table, you can use the RELATED() function to do what you want. https://msdn.microsoft.com/en-us/library/ee634202.aspx

         

        If you are writing a measure over a lookup table, there is a RELATEDTABLE function, but this may be an issue as it will return multiple rows of data.

  • Hello there,

     

    To connect my divisions, I use this. I wanted to share them with you.

    Relation = [startLocation] & " ->" & [targetLocation)]
     
    In addition, any string can be selected as the connection: Here ->
     
    Cheers qwertzuiop