<?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: Convert tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548693#M1136910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a pivot table with both columns as dimensions and count(Reason) as expression. Just drag the Days Bucket column to the top and you get the chart as shown below... If you get some other data, it adds to the table&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47545_Capture.PNG.png" style="width: 620px; height: 114px;" /&gt;&lt;BR /&gt;By the way, have you had a look at the Interval match function? - You could define the ranges based on the from and to dates (in case you have it in your data)&lt;/P&gt;&lt;P&gt;Ex: &lt;A _jive_internal="true" href="https://community.qlik.com/message/123387#123387"&gt;http://community.qlik.com/message/123387#123387&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 16:23:39 GMT</pubDate>
    <dc:creator>manas_bn</dc:creator>
    <dc:date>2013-10-11T16:23:39Z</dc:date>
    <item>
      <title>Convert tables</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548691#M1136908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have something like this in raw data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 268px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl2318" height="70" width="178"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Full Text Reason Code&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl2319" style="border-left: none;" width="90"&gt;Days Bucket&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;1-15 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;1-15 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;1-15 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;100 - Please Select&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;100 - Please Select&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;1-15 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;100 - Please Select&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2320" height="19" style="border-top: none;"&gt;100 - Please Select&lt;/TD&gt;&lt;TD class="xl2320" style="border-top: none; border-left: none;"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That I want to display like this in a report table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="332"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl2319" height="19" width="178"&gt;Row Labels&lt;/TD&gt;&lt;TD align="left" class="xl2319" width="90"&gt;1-15 Days&lt;/TD&gt;&lt;TD align="left" class="xl2319" width="64"&gt;16-30 Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2318" height="19"&gt;100 - Please Select&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2318" height="19"&gt;101 - Cash Application&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Excel this is pretty straight forward to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it in QlikView? Also I want it done in a way that if I add new rows with new periods of days, it automatically add's a new column to the report table, like in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548691#M1136908</guid>
      <dc:creator />
      <dc:date>2013-10-11T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert tables</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548692#M1136909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; a pivot table with this dimensions: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Full Text Reason Code&lt;/SPAN&gt;&lt;BR /&gt;Days Bucket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then an expression that count the occurencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548692#M1136909</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-11T16:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert tables</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548693#M1136910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a pivot table with both columns as dimensions and count(Reason) as expression. Just drag the Days Bucket column to the top and you get the chart as shown below... If you get some other data, it adds to the table&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47545_Capture.PNG.png" style="width: 620px; height: 114px;" /&gt;&lt;BR /&gt;By the way, have you had a look at the Interval match function? - You could define the ranges based on the from and to dates (in case you have it in your data)&lt;/P&gt;&lt;P&gt;Ex: &lt;A _jive_internal="true" href="https://community.qlik.com/message/123387#123387"&gt;http://community.qlik.com/message/123387#123387&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-tables/m-p/548693#M1136910</guid>
      <dc:creator>manas_bn</dc:creator>
      <dc:date>2013-10-11T16:23:39Z</dc:date>
    </item>
  </channel>
</rss>

