<?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 Generic key creation through 8 fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435005#M431201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have total 8 columns and based on 8 columns I am creating generic keys based on the &lt;A href="https://community.qlik.com/qlik-blogpost/2775"&gt;Basics for complex authorization&lt;/A&gt; blog post using concatenate each and .every load statements. So for 8 fields I have to write 64 times load statements which is not so much feasible manually. So is there any way through which we can generate 64 lines of load statement in a single load statements through some for loop and other techniques??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please&amp;nbsp; have a look and share idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 10:06:40 GMT</pubDate>
    <dc:creator>koushik_btech20</dc:creator>
    <dc:date>2017-12-20T10:06:40Z</dc:date>
    <item>
      <title>Generic key creation through 8 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435005#M431201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have total 8 columns and based on 8 columns I am creating generic keys based on the &lt;A href="https://community.qlik.com/qlik-blogpost/2775"&gt;Basics for complex authorization&lt;/A&gt; blog post using concatenate each and .every load statements. So for 8 fields I have to write 64 times load statements which is not so much feasible manually. So is there any way through which we can generate 64 lines of load statement in a single load statements through some for loop and other techniques??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please&amp;nbsp; have a look and share idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435005#M431201</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2017-12-20T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Generic key creation through 8 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435006#M431202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can store that piece of code in a variable and the use that where ever you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vConcat = 'F1&amp;amp;F2&amp;amp;F3';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;$(vConcat)&lt;/P&gt;&lt;P&gt;,*&lt;/P&gt;&lt;P&gt;From TableX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435006#M431202</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2017-12-20T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generic key creation through 8 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435007#M431203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing this . This is fine that ultimately I have to pass some variable in the load statement but each and every load statement the concat combination will change . Like let say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st combination - F1&amp;amp;F2&amp;amp;F3&lt;/P&gt;&lt;P&gt;2nd combination- F1&amp;amp;F2&amp;amp;'&amp;lt;ANY&amp;gt;'&lt;/P&gt;&lt;P&gt;3rd combination - F1&amp;amp;'&amp;lt;ANY&amp;gt;'&amp;amp;F3&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for that how I mange this as dynamically??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435007#M431203</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2017-12-20T10:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Generic key creation through 8 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435008#M431204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For that you can create a mapping table such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TableName,Fields&lt;/P&gt;&lt;P&gt;Table1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;F1&amp;amp;F2&amp;amp;F3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Table2,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;F1&amp;amp;F2&amp;amp;F4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Table3,F1&amp;amp;F3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now based on the table name you can get the values in a variable using peek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LET vcondition = peek(Fields,0,'Temp')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435008#M431204</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2017-12-20T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generic key creation through 8 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435009#M431205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Send me the exact solution and also consider '&amp;lt;ANY&amp;gt;' while concatenating the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-key-creation-through-8-fields/m-p/1435009#M431205</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2017-12-20T10:30:25Z</dc:date>
    </item>
  </channel>
</rss>

