<?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 vertical to horizontal  (like Generic load) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829403#M1214315</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please follow this steps, I am sure to get result through this steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select the vertical data.&lt;/LI&gt;&lt;LI&gt;Type Ctrl C to copy.&lt;/LI&gt;&lt;LI&gt;Click in the first cell of the horizontal range.&lt;/LI&gt;&lt;LI&gt;Type Alt E, then type S to open the Paste Special dialog.&lt;/LI&gt;&lt;LI&gt;Choose the Transpose checkbox as shown in Figure 1.&lt;/LI&gt;&lt;LI&gt;Click OK.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Wed, 18 Aug 2021 12:09:17 GMT</pubDate>
    <dc:creator>peppers59</dc:creator>
    <dc:date>2021-08-18T12:09:17Z</dc:date>
    <item>
      <title>Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1828880#M1214244</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;User has done some manual work on excel, but facing issue with convert to qlik..&lt;/P&gt;&lt;P&gt;below screen &lt;STRONG&gt;Period to Revenue BPS&lt;/STRONG&gt;&amp;nbsp;is original data&lt;STRONG&gt;,&lt;/STRONG&gt; remaining user were calculated&amp;nbsp; (Period column has only 4 months) - but they were calculated JAN - DEC.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60159iD97D37881B265E09/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Period column highlighted&amp;nbsp; &lt;STRONG&gt;March 2021,&amp;nbsp;&lt;/STRONG&gt;calculation will be start from March (March calculation should be &lt;STRONG&gt;Cashflow/12*0.5 -&amp;nbsp;&lt;/STRONG&gt;remaining greater months calculation should be&amp;nbsp;&lt;STRONG&gt;Cashflow/12*1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rest months also same behavior....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any possibility UI or Backend ?&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 17:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1828880#M1214244</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2021-08-16T17:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1828940#M1214245</link>
      <description>&lt;P&gt;Experts, anyone can give suggestions please ?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 02:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1828940#M1214245</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2021-08-17T02:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829031#M1214258</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Click on the arrow below the "Paste" item and select "Transpose." Excel pastes in your copied rows as columns or your copied columns as rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.mybalancenow.today/" target="_self"&gt;Target Card Balance Now&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 09:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829031#M1214258</guid>
      <dc:creator>Norris6</dc:creator>
      <dc:date>2021-08-18T09:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829047#M1214262</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28943"&gt;@Nagaraju_KCS&lt;/a&gt;&amp;nbsp; can you share the expected output also ?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 12:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829047#M1214262</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-08-17T12:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829068#M1214264</link>
      <description>&lt;P&gt;Thanks for reply!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Data:&lt;/STRONG&gt; column A-E is my original data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qv_testing_0-1629205103971.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60192iCFD542176CC2B593/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qv_testing_0-1629205103971.png" alt="qv_testing_0-1629205103971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OutPut&lt;/STRONG&gt;: which I have highlighted in &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;RED,&lt;/STRONG&gt;&lt;FONT color="#333333"&gt; I have to calculate in Qlik&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qv_testing_1-1629205501284.png" style="width: 728px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60193i6809AE054F98D5B5/image-dimensions/728x71?v=v2" width="728" height="71" role="button" title="qv_testing_1-1629205501284.png" alt="qv_testing_1-1629205501284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope you understand!&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829068#M1214264</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2021-08-17T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829073#M1214265</link>
      <description>&lt;P&gt;Hi Norries,&lt;/P&gt;&lt;P&gt;May be I didn't clear explanation.&lt;/P&gt;&lt;P&gt;Please note &lt;STRONG&gt;Period to Revenue BPS&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is original data, remaining&amp;nbsp;&lt;/SPAN&gt;columns have to calculate in Qlik.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829073#M1214265</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2021-08-17T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829095#M1214267</link>
      <description>&lt;P&gt;do you have always one year ?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 14:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829095#M1214267</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-08-17T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829163#M1214280</link>
      <description>&lt;P&gt;Yes, application has only one year in future also&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 16:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829163#M1214280</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2021-08-17T16:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829227#M1214286</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28943"&gt;@Nagaraju_KCS&lt;/a&gt;&amp;nbsp; it's a bit long, but you can optmize it&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1629236698038.png"&gt;&lt;img src="https://community.qlik.com/skins/images/EBC1E3E90D489BE68BA1EFEA9A38FC1A/responsive_peak/images/image_not_found.png" alt="Taoufiq_Zarra_0-1629236698038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Script to use:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Input:

LOAD * ,Num(Month(Date#(Period,'MMMM YYYY'))) as NumMonth,Num(Year(Date#(Period,'MMMM YYYY'))) as Year INLINE [
    Period, Client Name, ISIN Number,  Cashflow , Revenue BPS
    March 2021, ABC Cinema Ltd Pension Scheme &amp;amp; Optima 2 Pension Schem, IE00B1KQWK86, -166 053 , "0,65%"
    January 2021, ABC Cinema Ltd Pension Scheme &amp;amp; Optima 2 Pension Schem, IE00B1KQWK86, -157 240 , "0,65%"
    April 2021, ABC Cinema Ltd Pension Scheme &amp;amp; Optima 2 Pension Schem, IE00B1KQWK86,  22 , "0,67%"
    February 2021, ABC Cinema Ltd Pension Scheme &amp;amp; Optima 2 Pension Schem, IE00B1KQWK86,  52 , "0,65%"
];
join 
load  Iterno() As Num AutoGenerate 1 While IterNo() &amp;lt;=12;

Tmp:
noconcatenate

load * resident Input order by NumMonth, Num;

drop table Input;

Tmp2:
noconcatenate

load *,Num(if(NumMonth=Num,Cashflow/12*0.5,if(NumMonth&amp;lt;Num,Cashflow/12)),'###0,00') as ValueTmp resident Tmp;

drop table Tmp;


CombinedGenericTable:

load distinct Period, [Client Name], [ISIN Number],  Cashflow , [Revenue BPS] resident Tmp2;

DATA:
 Generic LOAD Period, [Client Name], [ISIN Number],  Cashflow , [Revenue BPS], Date(Monthend(Makedate(Year,Num,1))) as MonthTmppp,ValueTmp resident Tmp2;
 
drop table Tmp2;
 


FOR i = NoOfTables()-1 to 0 STEP -1

  LET vTable=TableName($(i));

  IF WildMatch('$(vTable)', 'DATA.*') THEN 

  LEFT JOIN ([CombinedGenericTable]) LOAD distinct * RESIDENT [$(vTable)];

  DROP TABLE [$(vTable)];

  ENDIF 

NEXT i&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG"&gt;&lt;img src="https://community.qlik.com/skins/images/EBC1E3E90D489BE68BA1EFEA9A38FC1A/responsive_peak/images/image_not_found.png" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 21:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829227#M1214286</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-08-17T21:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert vertical to horizontal  (like Generic load)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829403#M1214315</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please follow this steps, I am sure to get result through this steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select the vertical data.&lt;/LI&gt;&lt;LI&gt;Type Ctrl C to copy.&lt;/LI&gt;&lt;LI&gt;Click in the first cell of the horizontal range.&lt;/LI&gt;&lt;LI&gt;Type Alt E, then type S to open the Paste Special dialog.&lt;/LI&gt;&lt;LI&gt;Choose the Transpose checkbox as shown in Figure 1.&lt;/LI&gt;&lt;LI&gt;Click OK.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 18 Aug 2021 12:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-vertical-to-horizontal-like-Generic-load/m-p/1829403#M1214315</guid>
      <dc:creator>peppers59</dc:creator>
      <dc:date>2021-08-18T12:09:17Z</dc:date>
    </item>
  </channel>
</rss>

