<?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: How to convert  columns to rows? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80727#M13286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah the logic!&lt;/P&gt;&lt;P&gt;The idea is that those "pesky users" want only "real" time to be used in their kpi data.&amp;nbsp; So they may do a task but take time out for a reason and they do not want that missing time to be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So John - he might just do a task in 2 days,&lt;/P&gt;&lt;P&gt;Paul - might take 10 days - but he had a break of 4 days (and those 4 days are not necessarily consecutive days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I meant was that I can sort the dates in order but if I can get them into columns I can just rename the column names with no impact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense!&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Mar 2018 02:08:09 GMT</pubDate>
    <dc:creator>josephinetedesc</dc:creator>
    <dc:date>2018-03-24T02:08:09Z</dc:date>
    <item>
      <title>How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80723#M13282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a table that I can produce in QlikView that looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="235"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="21" width="46"&gt;Name&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="86"&gt;Clock1&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="35"&gt;type&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="68"&gt;count(type)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" width="46"&gt;John&lt;/TD&gt;&lt;TD class="xl71" style="border-left: none;" width="86"&gt;28/08/2014&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl73" style="border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" width="46"&gt;John&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="86"&gt;11/11/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD class="xl75" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="21" width="46"&gt;John&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="86"&gt;16/12/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl75" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="20" width="46"&gt;John&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="86"&gt;10/02/2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD class="xl75" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="21" width="46"&gt;John&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="86"&gt;17/02/2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl76" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl80" height="20" width="46"&gt;Paul&lt;/TD&gt;&lt;TD align="right" class="xl81" style="border-left: none;"&gt;1/03/2016&lt;/TD&gt;&lt;TD class="xl82" style="border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD align="right" class="xl83" style="border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;Paul&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;10/03/2016&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD align="right" class="xl85" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl90" height="21" style="border-top: none;" width="46"&gt;Paul&lt;/TD&gt;&lt;TD class="xl91" style="border-top: none; border-left: none;" width="86"&gt;24/03/2016&lt;/TD&gt;&lt;TD class="xl92" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD align="right" class="xl93" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl80" height="20" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl94" style="border-left: none;" width="86"&gt;28/08/2014&lt;/TD&gt;&lt;TD class="xl82" style="border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl95" style="border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;24/03/2016&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD class="xl96" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;10/03/2016&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl96" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD align="right" class="xl77" style="border-top: none; border-left: none;"&gt;1/03/2016&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD class="xl96" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;17/02/2015&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD class="xl96" style="border-top: none; border-left: none;" width="68"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;10/02/2015&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD align="right" class="xl85" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl84" height="20" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl79" style="border-top: none; border-left: none;" width="86"&gt;16/12/2014&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;" width="35"&gt;stop&lt;/TD&gt;&lt;TD align="right" class="xl85" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl86" height="21" style="border-top: none;" width="46"&gt;George&lt;/TD&gt;&lt;TD class="xl87" style="border-top: none; border-left: none;" width="86"&gt;11/11/2014&lt;/TD&gt;&lt;TD class="xl88" style="border-top: none; border-left: none;" width="35"&gt;reset&lt;/TD&gt;&lt;TD align="right" class="xl89" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 682px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Name&lt;/TD&gt;&lt;TD width="81"&gt;stop1&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;reset1&lt;/TD&gt;&lt;TD width="64"&gt;stop2&lt;/TD&gt;&lt;TD width="89"&gt;reset2&lt;/TD&gt;&lt;TD width="64"&gt;stop3&lt;/TD&gt;&lt;TD width="64"&gt;reset3&lt;/TD&gt;&lt;TD width="64"&gt;stop4&lt;/TD&gt;&lt;TD width="64"&gt;reset4&lt;/TD&gt;&lt;TD width="64"&gt;stop5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;John&lt;/TD&gt;&lt;TD class="xl65" width="81"&gt;28/08/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;11/11/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;16/12/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="89"&gt;10/02/2015&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;17/02/2015&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="21"&gt;Paul&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;1/03/2016&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="64"&gt;10/03/2016&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="64"&gt;24/03/2016&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;George&lt;/TD&gt;&lt;TD class="xl68" width="81"&gt;28/08/2014&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;24/03/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;10/03/2016&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-left: none;"&gt;1/03/2016&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;17/02/2015&lt;/TD&gt;&lt;TD class="xl70" width="64"&gt;10/02/2015&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="64"&gt;16/12/2014&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="64"&gt;11/11/2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect I will need hight level programming skills? &lt;/P&gt;&lt;P&gt;The headings stop1, reset 1, stop2, reset2 etc could just as easily be 1,2, 3, 4 etc&lt;/P&gt;&lt;P&gt;Is there something I could do with count(type) column? - I only did this so that I could make a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could point me in the right direction I will research some more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 15:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80723#M13282</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2018-03-23T15:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80724#M13283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Crosstable maybe? this does work the other way around. Not sure if it will work for you as well. But it is a direction. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 15:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80724#M13283</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-03-23T15:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80725#M13284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting some sort of order out of your original table is quite a challenge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we consider just Name = George, then how do the Resets relate to their corresponding Stops? The Clock1 values are pretty useless, as that would mean that for George his last line would match the first one and reset4 in your target table would suddenly be called reset1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain what the logic is behind the combinations in you example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Edit] Sorry, no 'Starts', just 'Stops'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 16:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80725#M13284</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-23T16:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80726#M13285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;besides the sorting issue Peter already mentioned, maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_295890_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197368_QlikCommunity_Thread_295890_Pic1.JPG" style="height: 90px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1521847184091711 jive_text_macro" jivemacro_uid="_1521847184091711"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Clock1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type&amp;amp;AutoNumber(RecNo(),Hash128(Name,type)) as type&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="295890" data-objecttype="1" href="https://community.qlik.com/thread/295890"&gt;https://community.qlik.com/thread/295890&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 23:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80726#M13285</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-03-23T23:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80727#M13286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah the logic!&lt;/P&gt;&lt;P&gt;The idea is that those "pesky users" want only "real" time to be used in their kpi data.&amp;nbsp; So they may do a task but take time out for a reason and they do not want that missing time to be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So John - he might just do a task in 2 days,&lt;/P&gt;&lt;P&gt;Paul - might take 10 days - but he had a break of 4 days (and those 4 days are not necessarily consecutive days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I meant was that I can sort the dates in order but if I can get them into columns I can just rename the column names with no impact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense!&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 02:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80727#M13286</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2018-03-24T02:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80728#M13287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marco&lt;/P&gt;&lt;P&gt;I cannot open QlikView files from home - so I will need to do this from work!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I love working with QlikView - QlikSense -not so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;JO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 02:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80728#M13287</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2018-03-24T02:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80729#M13288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so to understand: &lt;/P&gt;&lt;P&gt;function Hash128 is to make the number in type and the Name unique - it does this on the fly. ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make a pivot table and it works ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now another question:&amp;nbsp; I used this line in my code&lt;/P&gt;&lt;P&gt; 'stop ' &amp;amp;AutoNumber(RecNo(),Hash128(Name ,'stop')) as type&amp;nbsp; -&amp;nbsp; this gives &lt;STRONG&gt;stop 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to look like this: &lt;STRONG&gt;1 stop&amp;nbsp;&amp;nbsp; (that way when I sort the by type I will get them in order ie 1 stop, 1 reset, 2 stop, 2 reset etc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you Marco&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 12:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80729#M13288</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2018-03-24T12:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  columns to rows?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80730#M13289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I used the Hash128() function to get unique AutoIDs for the &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/autonumber.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/autonumber.htm"&gt;Autonumber()&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt; function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your second question, you could as well skip the &lt;SPAN style="font-size: 13.3333px;"&gt;Hash function when using&lt;/SPAN&gt; a static 'stop' parameter.&lt;/P&gt;&lt;P&gt;AutoNumber(RecNo(),Name) should already result in your required sorting order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 16:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-columns-to-rows/m-p/80730#M13289</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-03-24T16:46:27Z</dc:date>
    </item>
  </channel>
</rss>

