<?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 Create variable multiple copies of input records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235836#M715586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vidyut&lt;/P&gt;&lt;P&gt;I assume you refer to a diagram with your solution.&lt;/P&gt;&lt;P&gt;I rather envisioned a solution in the data load script because I will need to keep track of the changes in timely order.&lt;/P&gt;&lt;P&gt;To see whether the status has changed I will need to compare with each read record the new status against the old and then&lt;/P&gt;&lt;P&gt;a) generate an off record for all statuses not active any more&lt;/P&gt;&lt;P&gt;b) generate an on record for all statuses newly set&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2009 17:41:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-09T17:41:27Z</dc:date>
    <item>
      <title>Create variable multiple copies of input records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235834#M715583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In my application I have to show status changes. I receive the changes in a message which can capture multiple status changes within the last minute. The status field is a bitset an can contain up to 32 different statuses.&lt;/P&gt;&lt;P&gt;In order to display the data it would be convenient to lookup this status field and create for each changed bit a copy of the message with the according status and the on/off flag.&lt;/P&gt;&lt;P&gt;e.g.&lt;BR /&gt;11.09.2009 10:01 1024 (bits 0000 0010 0000 0000)&lt;BR /&gt;11.09.2009 10:02 3 (bits 0000 0000 0000 0011)&lt;/P&gt;&lt;P&gt;should become&lt;BR /&gt;11.09.2009 10:01 status10 on&lt;BR /&gt;11.09.2009 10:02 status 10 off&lt;BR /&gt;11.09.2009 10:02 status 1 on&lt;BR /&gt;11.09.2009 10:02 status 2 on&lt;/P&gt;&lt;P&gt;Can't figure out how to efficiently do this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235834#M715583</guid>
      <dc:creator />
      <dc:date>2009-11-09T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Create variable multiple copies of input records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235835#M715585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a ValueLoop (1,32) as a dimension, and using that, create your multiple rows.&lt;/P&gt;&lt;P&gt;so, If you have DATE_TIME as Dimension and STATUS as corresponding status, use ValueLoop(1,32) as a additional dimension, and in Expression put If(pick(ValueLoop(1,32),Filter1,...Filter32)&amp;amp;Status=1,'Status '&amp;amp;ValueLoop(1,32)&amp;amp;' is on','Status '&amp;amp;ValueLoop(1,32)&amp;amp; ' is Off')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 17:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235835#M715585</guid>
      <dc:creator>vidyut</dc:creator>
      <dc:date>2009-11-09T17:19:17Z</dc:date>
    </item>
    <item>
      <title>Create variable multiple copies of input records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235836#M715586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vidyut&lt;/P&gt;&lt;P&gt;I assume you refer to a diagram with your solution.&lt;/P&gt;&lt;P&gt;I rather envisioned a solution in the data load script because I will need to keep track of the changes in timely order.&lt;/P&gt;&lt;P&gt;To see whether the status has changed I will need to compare with each read record the new status against the old and then&lt;/P&gt;&lt;P&gt;a) generate an off record for all statuses not active any more&lt;/P&gt;&lt;P&gt;b) generate an on record for all statuses newly set&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 17:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235836#M715586</guid>
      <dc:creator />
      <dc:date>2009-11-09T17:41:27Z</dc:date>
    </item>
    <item>
      <title>Create variable multiple copies of input records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235837#M715588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In case you want to do this in your script, instead of doing it in a chart, there should be simple way using an inline table.&lt;/P&gt;&lt;P&gt;Create a table of different status code and corresponding strings (Use Autogenerate for doing that).&lt;/P&gt;&lt;P&gt;Left Join with the Main Table, this should give you the values automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 18:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-variable-multiple-copies-of-input-records/m-p/235837#M715588</guid>
      <dc:creator>vidyut</dc:creator>
      <dc:date>2009-11-09T18:43:42Z</dc:date>
    </item>
  </channel>
</rss>

