<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using 1 description field for 2  different ID fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475235#M177435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have 2 tables that have a field with name 'state_of_record' in table 1 it is as&amp;nbsp; state_of_record1 and in table2 it is as state_of_record2,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; this field shows State of each records in these tables the value of this field is 1,2,3,5 :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1 means the record is on progress.&lt;/P&gt;&lt;P&gt;2 means the record is completed&lt;/P&gt;&lt;P&gt;3 means the record is Completed and Submitted&lt;/P&gt;&lt;P&gt;5 means the record is Confirmed&lt;/P&gt;&lt;P&gt;these description are common for state_of_record1 and state_of_record2.&lt;/P&gt;&lt;P&gt;actually&amp;nbsp; state_of_record1&amp;nbsp; and state_of_record2 have same nature and shows state of a record. &lt;/P&gt;&lt;P&gt;i want to know can i have a description field that both of 'state_of_record1' and 'state_of_record2'&amp;nbsp; use it?&lt;/P&gt;&lt;P&gt;maybe it is such a ridiculous question but i want to know is there a way for doing this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 08:31:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-25T08:31:15Z</dc:date>
    <item>
      <title>using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475232#M177432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;i want to connect 2 fields to 1 description field like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table1_stateofrecord &lt;/P&gt;&lt;P&gt;from a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table2_stateofrecord &lt;/P&gt;&lt;P&gt;from b;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[ stateofrecord ,stateofrecord _desc&lt;/P&gt;&lt;P&gt;1,a&lt;/P&gt;&lt;P&gt;2,b&lt;/P&gt;&lt;P&gt;3,c&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;i want something like both of table1_stateofrecord&amp;nbsp; and table2_stateofrecord&amp;nbsp; connect to stateofrecord _desc&lt;/P&gt;&lt;P&gt;i use ApplyMap() but i can't achieve to what i&amp;nbsp; want.can anyone help me?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475232#M177432</guid>
      <dc:creator />
      <dc:date>2013-09-25T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475233#M177433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi behnaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you specify a bit more what you want as output?&lt;/P&gt;&lt;P&gt;What form does the ID you get from both tables take? Is that like 1,2,3...?&lt;/P&gt;&lt;P&gt;The only thing I can think of right now, though it might sound stupid:&lt;/P&gt;&lt;P&gt;When you want to use ApplyMap() in those two LOAD statements, you have to load that inline table first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475233#M177433</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-09-25T07:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475234#M177434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Behanz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying Applymap like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_Map:&lt;/P&gt;&lt;P&gt;Mapping load * inline&lt;/P&gt;&lt;P&gt;[ stateofrecord ,stateofrecord _desc&lt;/P&gt;&lt;P&gt;1,a&lt;/P&gt;&lt;P&gt;2,b&lt;/P&gt;&lt;P&gt;3,c];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table1_stateofrecord &lt;/P&gt;&lt;P&gt;from a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table2_stateofrecord &lt;/P&gt;&lt;P&gt;from b;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1_res:&lt;/P&gt;&lt;P&gt;Noconcatenate load id,&lt;/P&gt;&lt;P&gt;[table1_stateofrecord],&lt;/P&gt;&lt;P&gt;applymap('Status_Map',trim([table1_stateofrecord]),'NA' ) as tab1_Status_Desc&lt;/P&gt;&lt;P&gt;resident table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2_res:&lt;/P&gt;&lt;P&gt;Noconcatenate load id,&lt;/P&gt;&lt;P&gt;[table2_stateofrecord],&lt;/P&gt;&lt;P&gt;applymap('Status_Map',trim([table2_stateofrecord]),'NA' ) as tab2_Status_Desc&lt;/P&gt;&lt;P&gt;resident table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 08:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475234#M177434</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-09-25T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475235#M177435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have 2 tables that have a field with name 'state_of_record' in table 1 it is as&amp;nbsp; state_of_record1 and in table2 it is as state_of_record2,&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; this field shows State of each records in these tables the value of this field is 1,2,3,5 :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1 means the record is on progress.&lt;/P&gt;&lt;P&gt;2 means the record is completed&lt;/P&gt;&lt;P&gt;3 means the record is Completed and Submitted&lt;/P&gt;&lt;P&gt;5 means the record is Confirmed&lt;/P&gt;&lt;P&gt;these description are common for state_of_record1 and state_of_record2.&lt;/P&gt;&lt;P&gt;actually&amp;nbsp; state_of_record1&amp;nbsp; and state_of_record2 have same nature and shows state of a record. &lt;/P&gt;&lt;P&gt;i want to know can i have a description field that both of 'state_of_record1' and 'state_of_record2'&amp;nbsp; use it?&lt;/P&gt;&lt;P&gt;maybe it is such a ridiculous question but i want to know is there a way for doing this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 08:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475235#M177435</guid>
      <dc:creator />
      <dc:date>2013-09-25T08:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475236#M177436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Behnaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not use the same description table for both Table1 &amp;amp; Table2 since it will form a loop otherwise. You will need to use them separately&lt;/P&gt;&lt;P&gt;You can use it in the same way as given by Abey just a little ammendment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status_Map:&lt;BR /&gt;load * inline&lt;/P&gt;&lt;P&gt;[ stateofrecord ,stateofrecord _desc&lt;/P&gt;&lt;P&gt;1,a&lt;/P&gt;&lt;P&gt;2,b&lt;/P&gt;&lt;P&gt;3,c&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;table1:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table1_stateofrecord,&lt;BR /&gt;applymap('Status_Map',trim(stateofrecord),'NA' ) as tab1_Status_Desc &lt;/P&gt;&lt;P&gt;from a;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;table2:&lt;/P&gt;&lt;P&gt;select id,&lt;/P&gt;&lt;P&gt;stateofrecord as table2_stateofrecord, &lt;BR /&gt;applymap('Status_Map',trim(stateofrecord),'NA' ) as tab1_Status_Desc &lt;/P&gt;&lt;P&gt;from b;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 09:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475236#M177436</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2013-09-25T09:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: using 1 description field for 2  different ID fields</title>
      <link>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475237#M177437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abey&lt;/P&gt;&lt;P&gt;thanks for your reply i just use applymap() another way.your answer is helpful for me.&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-1-description-field-for-2-different-ID-fields/m-p/475237#M177437</guid>
      <dc:creator />
      <dc:date>2013-09-26T07:10:22Z</dc:date>
    </item>
  </channel>
</rss>

