Skip to Content

Merging multiple fields

Hi all,

I'm trying to merge two sets of keys from two different queries, so I can get my description field.

Query 1

key1

key2

Query 2

key1

key2

description

I merged Query1.key1 = Query2.key1 and Query1.key2 = Query2.key2. Now, my question is, how do I create my Detail variable based on these two merged keys? The "Associated Dimension' only lets me choose one Dimension.

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Dec 07, 2015 at 03:57 PM

    I was finally able to make it work!!

    Based on your previous suggestions, this is what I did:

    1 - Merged Ded Ben Code from both queries.

    2 - Merged Ded Ben Plan Number from both queries as well.

    3 - Created a dimension concatenating Ded Ben Code and Ded Ben Plan Number from Query1 and named it varCodePlan1.

    4 - Created a detail for the variable I needed (Ded Ben Plan Description) based on Associated Dimension varCodePlan1.

    Thank you all!


    screenshot.jpg (170.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2015 at 11:08 PM

    Hi,

    create a dim var [conc key1 key2]= Concatenate([key1];[key2]) and define your detail variable associated to this dim var [conc key1 key2].

    Regards,

    Rogerio

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2015 at 08:37 PM

    Hi

    what are you trying to achive.share some screenshot..

    are you not getting the results when create the detail object of one merged key where one to one record mapping between key field and description.

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.