<?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 Dynamically populate an alternate state in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamically-populate-an-alternate-state/m-p/1403467#M32713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using alternate states in Qlik Sense with an excellent extension. It works fine.&lt;/P&gt;&lt;P&gt;But I'm challenged on a specific subject and I think I will probably loose this challenge &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're analysing a population and we want to compare 2 subsets of this population. With alternate states =&amp;gt; No pb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But today the question is :&lt;/P&gt;&lt;P&gt;After some selections we populate StateA. This subset of my population have some caracteristics :&lt;/P&gt;&lt;P&gt;Sample result :&lt;/P&gt;&lt;P&gt;100 persons,&lt;/P&gt;&lt;P&gt;70 Females / 30 Males,&lt;/P&gt;&lt;P&gt;40 are under than 35 years old / 60 are upper than 35 years old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We want to compare to a subset StateB. This subset needs to have the same caracteristic and not included persons from StateA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After an intense thinking, I can't find solution to do this in Qlik Sense.&lt;/P&gt;&lt;P&gt;With QlikView, I think I will create a macro. It will individually browse my StateA :&lt;/P&gt;&lt;P&gt;Grab the caracteristic of the person,&lt;/P&gt;&lt;P&gt;Make the selection,&lt;/P&gt;&lt;P&gt;Randomly select another person&lt;/P&gt;&lt;P&gt;and do this job for all persons of my StateA.&lt;/P&gt;&lt;P&gt;When my StateA is browsed, I populate StateB with this new subset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are :&lt;/P&gt;&lt;P&gt;- This job can probably be done with a Qlik Sense API, isn't it ?&lt;/P&gt;&lt;P&gt;- Do you know another way to do this (existing extension, native Qlik Sense solution) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 09:46:31 GMT</pubDate>
    <dc:creator>_CD_</dc:creator>
    <dc:date>2017-12-14T09:46:31Z</dc:date>
    <item>
      <title>Dynamically populate an alternate state</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-populate-an-alternate-state/m-p/1403467#M32713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using alternate states in Qlik Sense with an excellent extension. It works fine.&lt;/P&gt;&lt;P&gt;But I'm challenged on a specific subject and I think I will probably loose this challenge &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're analysing a population and we want to compare 2 subsets of this population. With alternate states =&amp;gt; No pb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But today the question is :&lt;/P&gt;&lt;P&gt;After some selections we populate StateA. This subset of my population have some caracteristics :&lt;/P&gt;&lt;P&gt;Sample result :&lt;/P&gt;&lt;P&gt;100 persons,&lt;/P&gt;&lt;P&gt;70 Females / 30 Males,&lt;/P&gt;&lt;P&gt;40 are under than 35 years old / 60 are upper than 35 years old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We want to compare to a subset StateB. This subset needs to have the same caracteristic and not included persons from StateA.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After an intense thinking, I can't find solution to do this in Qlik Sense.&lt;/P&gt;&lt;P&gt;With QlikView, I think I will create a macro. It will individually browse my StateA :&lt;/P&gt;&lt;P&gt;Grab the caracteristic of the person,&lt;/P&gt;&lt;P&gt;Make the selection,&lt;/P&gt;&lt;P&gt;Randomly select another person&lt;/P&gt;&lt;P&gt;and do this job for all persons of my StateA.&lt;/P&gt;&lt;P&gt;When my StateA is browsed, I populate StateB with this new subset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are :&lt;/P&gt;&lt;P&gt;- This job can probably be done with a Qlik Sense API, isn't it ?&lt;/P&gt;&lt;P&gt;- Do you know another way to do this (existing extension, native Qlik Sense solution) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 09:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-populate-an-alternate-state/m-p/1403467#M32713</guid>
      <dc:creator>_CD_</dc:creator>
      <dc:date>2017-12-14T09:46:31Z</dc:date>
    </item>
  </channel>
</rss>

