<?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: Autogenerate data based on conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525198#M747641</link>
    <description>&lt;P&gt;Now i would like to create an input table that the user will be able to write&amp;nbsp;&lt;/P&gt;&lt;P&gt;the name for each&amp;nbsp;&lt;SPAN&gt;CategoryID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and another input table that will allow the user to set a&amp;nbsp;&lt;SPAN&gt;CategoryID per zone&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how could i make it?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jan 2019 13:19:14 GMT</pubDate>
    <dc:creator>shahafei2</dc:creator>
    <dc:date>2019-01-01T13:19:14Z</dc:date>
    <item>
      <title>Autogenerate data based on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525180#M747639</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to autogenerate data based on some conditions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already created an inline table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Locations:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;SubZone, Zone&lt;BR /&gt;H1,A&lt;BR /&gt;H2,A&lt;BR /&gt;H3,B&lt;BR /&gt;H4,B&lt;BR /&gt;H5,C&lt;BR /&gt;H6,&amp;nbsp;C&lt;BR /&gt;H7,C&lt;BR /&gt;H8,C&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i would like to auto generate some locations per zone based on S,X,Y,Z dimensions&lt;/P&gt;&lt;P&gt;where S=L/R&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X = 1/2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Y=1...12&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Z=1...20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The autogenerated table should present all the possible combinations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could i autogenerate it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525180#M747639</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate data based on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525196#M747640</link>
      <description>&lt;P&gt;i made it by using the following script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set vZone= $(gZone);&lt;BR /&gt;Set vX= $(gX);&lt;BR /&gt;Set vY= $(gY);&lt;BR /&gt;set vZ= $(vZ);&lt;BR /&gt;set vLocation= $(gLocation);&lt;BR /&gt;set vInv= $(gInv);&lt;/P&gt;&lt;P&gt;set&amp;nbsp;&lt;SPAN&gt;vCat=$(gCat)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Locations:&lt;BR /&gt;Load&lt;BR /&gt;'S'&amp;amp;RowNo() as &lt;SPAN&gt;Zone&lt;/SPAN&gt;&lt;BR /&gt;AutoGenerate $(v&lt;SPAN&gt;Zone&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;Inner Join&lt;BR /&gt;Load&lt;BR /&gt;RowNo() as ID,&lt;BR /&gt;&lt;SPAN&gt;Zone&lt;/SPAN&gt;,&lt;BR /&gt;'H'&amp;amp;IterNo() as&amp;nbsp;X&lt;BR /&gt;Resident Locations&lt;BR /&gt;While IterNo()&amp;lt;= $(vX);&lt;/P&gt;&lt;P&gt;Inner Join&lt;BR /&gt;Load&lt;BR /&gt;RowNo() as ID2,&lt;BR /&gt;ID,&lt;BR /&gt;'A'&amp;amp;IterNo() as&amp;nbsp;Y&lt;BR /&gt;Resident Locations&lt;BR /&gt;While IterNo()&amp;lt;= $(vY);&lt;/P&gt;&lt;P&gt;Inner Join&lt;BR /&gt;Load&lt;BR /&gt;RowNo() as ID3,&lt;BR /&gt;ID2,&lt;BR /&gt;'H'&amp;amp;IterNo() as&amp;nbsp;Z&lt;BR /&gt;Resident Locations&lt;BR /&gt;While IterNo()&amp;lt;= $(vZ);&lt;/P&gt;&lt;P&gt;Inner Join&lt;BR /&gt;Load&lt;BR /&gt;RowNo() as ID4,&lt;BR /&gt;ID3,&lt;BR /&gt;'A'&amp;amp;IterNo() as Location&lt;BR /&gt;Resident Locations&lt;BR /&gt;While IterNo()&amp;lt;= $(vLocation);&lt;/P&gt;&lt;P&gt;Inner Join&lt;BR /&gt;Load&lt;BR /&gt;ID4,&lt;BR /&gt;&lt;SPAN&gt;Zone&lt;/SPAN&gt;&amp;amp;X&amp;amp;Y&amp;amp;Z&amp;amp;Location&amp;amp;'F' as LocationID&lt;BR /&gt;Resident Locations;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inventory:&lt;BR /&gt;Load&lt;BR /&gt;num(RowNo(),'0000000000') as HUID&lt;BR /&gt;AutoGenerate $(vInv);&lt;/P&gt;&lt;P&gt;left join&lt;BR /&gt;Load&lt;BR /&gt;&lt;SPAN&gt;HU&lt;/SPAN&gt;&lt;SPAN&gt;ID&lt;/SPAN&gt;,&lt;BR /&gt;ceil(Rand()*(0-$(vCat))+$(&lt;SPAN&gt;vCat)&lt;/SPAN&gt;,1) as CategoryID&lt;BR /&gt;Resident Inventory;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 13:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525196#M747640</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-01T13:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Autogenerate data based on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525198#M747641</link>
      <description>&lt;P&gt;Now i would like to create an input table that the user will be able to write&amp;nbsp;&lt;/P&gt;&lt;P&gt;the name for each&amp;nbsp;&lt;SPAN&gt;CategoryID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and another input table that will allow the user to set a&amp;nbsp;&lt;SPAN&gt;CategoryID per zone&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how could i make it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 13:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autogenerate-data-based-on-conditions/m-p/1525198#M747641</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2019-01-01T13:19:14Z</dc:date>
    </item>
  </channel>
</rss>

