<?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: summarize Data transformation logic in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997400#M82605</link>
    <description>&lt;P&gt;Hi, this:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;input_data:
LOAD 1 as temp_qualifier_field ,* INLINE [
Field1|Field2|Field3|Field4
B|A|C|D
A|B|F|X
C|A|F|H
A|B|C|D
D|E|F|A
] (DELIMITER IS '|');

temp_output:
CROSSTABLE(field_from,values,1)
LOAD * RESIDENT input_data;

output:
LOAD
values,
COUNT(values) AS occurance_count
RESIDENT temp_output
GROUP BY values;

DROP TABLE temp_output;
DROP FIELD temp_qualifier_field;&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 27 Oct 2022 06:55:14 GMT</pubDate>
    <dc:creator>RsQK</dc:creator>
    <dc:date>2022-10-27T06:55:14Z</dc:date>
    <item>
      <title>summarize Data transformation logic</title>
      <link>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997364#M82598</link>
      <description>&lt;P&gt;I'm trying to transform data to table which summaries the total occurrence count of each values.&lt;/P&gt;
&lt;P&gt;can someone put some light on it?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;input data&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE width="475"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="4" width="475"&gt;Input Data&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Field1&lt;/TD&gt;
&lt;TD&gt;Field2&lt;/TD&gt;
&lt;TD&gt;Field3&lt;/TD&gt;
&lt;TD&gt;Field4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;D&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD&gt;X&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD&gt;H&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;D&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;D&lt;/TD&gt;
&lt;TD&gt;E&lt;/TD&gt;
&lt;TD&gt;F&lt;/TD&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected output&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="160" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 21.0pt;"&gt;
&lt;TD colspan="2" width="160" height="35" class="xl66" style="height: 21.0pt; width: 96pt;"&gt;Output&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;A&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;B&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;C&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;D&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;E&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;F&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="25" class="xl65" style="height: 15.0pt; border-top: none;"&gt;X&lt;/TD&gt;
&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data transformation.JPG" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92257i87CB734F7601C86B/image-size/large?v=v2&amp;amp;px=999" role="button" title="data transformation.JPG" alt="data transformation.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 05:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997364#M82598</guid>
      <dc:creator>vimalthehero</dc:creator>
      <dc:date>2022-10-27T05:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: summarize Data transformation logic</title>
      <link>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997400#M82605</link>
      <description>&lt;P&gt;Hi, this:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;input_data:
LOAD 1 as temp_qualifier_field ,* INLINE [
Field1|Field2|Field3|Field4
B|A|C|D
A|B|F|X
C|A|F|H
A|B|C|D
D|E|F|A
] (DELIMITER IS '|');

temp_output:
CROSSTABLE(field_from,values,1)
LOAD * RESIDENT input_data;

output:
LOAD
values,
COUNT(values) AS occurance_count
RESIDENT temp_output
GROUP BY values;

DROP TABLE temp_output;
DROP FIELD temp_qualifier_field;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Oct 2022 06:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997400#M82605</guid>
      <dc:creator>RsQK</dc:creator>
      <dc:date>2022-10-27T06:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: summarize Data transformation logic</title>
      <link>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997481#M82613</link>
      <description>&lt;P&gt;Thanks its works, is it possible to perform similar output using chart expression&amp;nbsp; instead of script data loading?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 09:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/summarize-Data-transformation-logic/m-p/1997481#M82613</guid>
      <dc:creator>vimalthehero</dc:creator>
      <dc:date>2022-10-27T09:18:36Z</dc:date>
    </item>
  </channel>
</rss>

