<?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: If and match with multiple repeated values in Qliksense script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765910#M59249</link>
    <description>&lt;P&gt;You cant assign two values to the same row. You need to duplicate your A rows for 0 to 4 or add an dimension table that associates two values for the Division 0-4 and one value for 5 - 8.&lt;/P&gt;&lt;P&gt;You could try this script. (Use the join if you want to duplicate Division entries rather than a link table.&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;A:
Load * inline[
Division,
0,
1,
2,
3,
4,
5,
6,
7,
8];

B:
//LEFT JOIN (A)
LOAD DivMin - 1 +IterNo() as Division, Flag
inline [
     DivMin,  DivMax, Flag
     0,       4,      Fullfilled
     0,       8,      Complete]
while DivMin - 1 +IterNo() &amp;lt;= DivMax;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 07:54:09 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-12-03T07:54:09Z</dc:date>
    <item>
      <title>If and match with multiple repeated values in Qliksense script</title>
      <link>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765670#M59228</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a small issue with if and match in script with multiple similar values.&lt;/P&gt;&lt;P&gt;I am trying to create a flag with below conditions. I have a feild called Division. If this division value is from 0 to 8 then it is Complete and if it is from 4 to 8 then it is Fulfilled. I tried below.&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load * inline[&lt;/P&gt;&lt;P&gt;Division,&lt;/P&gt;&lt;P&gt;0,&lt;/P&gt;&lt;P&gt;1,&lt;/P&gt;&lt;P&gt;2,&lt;/P&gt;&lt;P&gt;3,&lt;/P&gt;&lt;P&gt;4,&lt;/P&gt;&lt;P&gt;5,&lt;/P&gt;&lt;P&gt;6,&lt;/P&gt;&lt;P&gt;7,&lt;/P&gt;&lt;P&gt;8];&lt;/P&gt;&lt;P&gt;B:&lt;/P&gt;&lt;P&gt;Load *,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(match(division,0,'1','2','3','4'),'fulfilled',&lt;/P&gt;&lt;P&gt;If(match(division,0,'1','2','3','4','5','6','7','8'),'complete')) as flag resident A;&lt;/P&gt;&lt;P&gt;Now here since division values are repeating for complete flag in front end it only shows values from 5 to 8 where as it should show from 0 to 8. For fulfilled the values are shown correctly.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Thanks in advance.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765670#M59228</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2024-11-16T17:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: If and match with multiple repeated values in Qliksense script</title>
      <link>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765901#M59247</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone any update on the above scenario.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 06:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765901#M59247</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-12-03T06:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: If and match with multiple repeated values in Qliksense script</title>
      <link>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765910#M59249</link>
      <description>&lt;P&gt;You cant assign two values to the same row. You need to duplicate your A rows for 0 to 4 or add an dimension table that associates two values for the Division 0-4 and one value for 5 - 8.&lt;/P&gt;&lt;P&gt;You could try this script. (Use the join if you want to duplicate Division entries rather than a link table.&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;A:
Load * inline[
Division,
0,
1,
2,
3,
4,
5,
6,
7,
8];

B:
//LEFT JOIN (A)
LOAD DivMin - 1 +IterNo() as Division, Flag
inline [
     DivMin,  DivMax, Flag
     0,       4,      Fullfilled
     0,       8,      Complete]
while DivMin - 1 +IterNo() &amp;lt;= DivMax;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 07:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1765910#M59249</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-12-03T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: If and match with multiple repeated values in Qliksense script</title>
      <link>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1766264#M59274</link>
      <description>&lt;P&gt;Hello Vegar,&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;Above solution is working.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 10:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-and-match-with-multiple-repeated-values-in-Qliksense-script/m-p/1766264#M59274</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-12-04T10:09:22Z</dc:date>
    </item>
  </channel>
</rss>

