<?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: Variable with all caracteristics in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974854#M80417</link>
    <description>&lt;P&gt;If you're looking to achieve this in the context of creating generic keys within your script, have a look at this document (sorry, it's a bit on the long side, but you probably won't need the entire thing):&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank"&gt;https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlikview-documents/11042/2/Generic%20Keys.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2022 13:12:49 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-08-30T13:12:49Z</dc:date>
    <item>
      <title>Variable with all caracteristics</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974840#M80413</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am searching for a term like *. That means every caracteristic is possible. My case:&lt;/P&gt;
&lt;P&gt;I have a key which consists of several fields in my load statment:&lt;/P&gt;
&lt;P&gt;Account1&amp;amp;'-'&amp;amp;Account2&amp;amp;'-'&amp;amp;Account3 as KEY&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I want to define several Accounts as KPIs (&amp;nbsp;if Acconut1='1200' and if Account3'x' as KPI='Orders')&lt;/P&gt;
&lt;P&gt;KPI_match:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;KEY, KPI&lt;/P&gt;
&lt;P&gt;1200- *-x, Orders&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But * does not work. How can I generate a key with placeholders in order not to write down every parameter (like: 1200-1-x; 1200-2-x) because Account2 is changing every period. But for some other KPIs I need Account2, so it has to be part of the key.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 240pt;" border="0" width="320" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="80" height="20" style="height: 15.0pt; width: 60pt;"&gt;table (no KPI definitions included):&lt;/TD&gt;
&lt;TD width="80" style="width: 60pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="80" style="width: 60pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="80" style="width: 60pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="height: 15.0pt;"&gt;Account1&lt;/TD&gt;
&lt;TD&gt;Acconut2&lt;/TD&gt;
&lt;TD&gt;Acconut3&lt;/TD&gt;
&lt;TD&gt;value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1200&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;TD&gt;x&lt;/TD&gt;
&lt;TD align="right"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1200&lt;/TD&gt;
&lt;TD align="right"&gt;2&lt;/TD&gt;
&lt;TD&gt;x&lt;/TD&gt;
&lt;TD align="right"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1200&lt;/TD&gt;
&lt;TD align="right"&gt;2&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD align="right"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974840#M80413</guid>
      <dc:creator>KerstinP</dc:creator>
      <dc:date>2022-08-30T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with all caracteristics</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974841#M80414</link>
      <description>&lt;P&gt;Perhaps WildMatch(Key,'1200*x')?&lt;/P&gt;
&lt;P&gt;You could also just look at each of the three fields individually instead of at the concatenated key.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974841#M80414</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-30T12:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with all caracteristics</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974847#M80415</link>
      <description>&lt;P&gt;where can I put the wildmatch statement? As a new table?&lt;BR /&gt;If I take each field indivually I am generating syn keys because every KPI refers to an other Account&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974847#M80415</guid>
      <dc:creator>KerstinP</dc:creator>
      <dc:date>2022-08-30T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable with all caracteristics</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974854#M80417</link>
      <description>&lt;P&gt;If you're looking to achieve this in the context of creating generic keys within your script, have a look at this document (sorry, it's a bit on the long side, but you probably won't need the entire thing):&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank"&gt;https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlikview-documents/11042/2/Generic%20Keys.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 13:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-with-all-caracteristics/m-p/1974854#M80417</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-30T13:12:49Z</dc:date>
    </item>
  </channel>
</rss>

