<?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: Pivot/straight table using multiple dimensions in single column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392737#M1161823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ur load script, create an inline wizard;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline[&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim,DimValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,&amp;nbsp; % change in State A subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2, % change in State B subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3, % change in State C subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;4, # of new subscribers from telemarketing&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;5, # of new subscribers from door to door&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;6, % of new subscribers from telemarketing&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;7, % of new subscribers from door to door&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in ur straight table, use DimValue as ur dimension &amp;amp; in expression1(Sep-12) use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dim=1,sum({&amp;lt;ActualDim={Actual Dim value for which u need say A 10%}&amp;gt;} Metric1)/sum({&amp;lt;ActualDim={Actual Dim value for which u need say A 10%}&amp;gt;} Metric2),&lt;/P&gt;&lt;P&gt;if(Dim=2,sum({&amp;lt;ActuaDim={Actual Dim value for which u need say B 5%}&amp;gt;} Metric1)/sum({&amp;lt;ActualDim={Actual Dim value for which u need 5% say B}&amp;gt;} Metric2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since ur result is in %, so i've used division in expr assuming ur actual expr must be something like this&lt;/P&gt;&lt;P&gt;the if can be expanded to Dim7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same for expr2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 15:16:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-01T15:16:15Z</dc:date>
    <item>
      <title>Pivot/straight table using multiple dimensions in single column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392736#M1161822</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;I am wondering if this is possible. We are wanting to remake a report that users are having to manually make now days using QlikView, and I am wondering if it is possible to do in a single straight table or pivot table. The problem comes in that the columns are not only based on different dimensions, but can also be different calculations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report would have data as follows:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="396"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="268"&gt; &lt;/TD&gt;&lt;TD class="xl64" colspan="2" style="border-left: none;" width="128"&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Sep-12&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;Sep-11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;% change in State A subscribers&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;% change in State B subscribers&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;% change in State C subscribers&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;7%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;…&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;# of new subscribers from telemarketing&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;# of new subscribers from door to door&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;…&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;% of new subscribers from telemarketing&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;% of new subscribers from door to door&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;25%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;…&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the first 3 lines in the example are a percet change based on locaiton of all subscribers, the next two is the total number of new subscribers based on where they came from, and the next 2 are the percentage of the above 2 numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in a straight or pivot table? I am wondering if I am just going to have to seperate the items out into seperate tables for this to work, but thought I would ask the question before doing this. (I.E. have one table for the first 3, another table the next 2, and then a 3rd table for the final 2). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ahead of time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 14:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392736#M1161822</guid>
      <dc:creator />
      <dc:date>2012-11-01T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot/straight table using multiple dimensions in single column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392737#M1161823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ur load script, create an inline wizard;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline[&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim,DimValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,&amp;nbsp; % change in State A subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2, % change in State B subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3, % change in State C subscribers&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;4, # of new subscribers from telemarketing&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;5, # of new subscribers from door to door&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;6, % of new subscribers from telemarketing&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;7, % of new subscribers from door to door&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in ur straight table, use DimValue as ur dimension &amp;amp; in expression1(Sep-12) use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dim=1,sum({&amp;lt;ActualDim={Actual Dim value for which u need say A 10%}&amp;gt;} Metric1)/sum({&amp;lt;ActualDim={Actual Dim value for which u need say A 10%}&amp;gt;} Metric2),&lt;/P&gt;&lt;P&gt;if(Dim=2,sum({&amp;lt;ActuaDim={Actual Dim value for which u need say B 5%}&amp;gt;} Metric1)/sum({&amp;lt;ActualDim={Actual Dim value for which u need 5% say B}&amp;gt;} Metric2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since ur result is in %, so i've used division in expr assuming ur actual expr must be something like this&lt;/P&gt;&lt;P&gt;the if can be expanded to Dim7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same for expr2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 15:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392737#M1161823</guid>
      <dc:creator />
      <dc:date>2012-11-01T15:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot/straight table using multiple dimensions in single column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392738#M1161824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So make sure I understand correctly. In my script I create a seperate table that denotes each row I need (and is not connected to any other tables, which is called a data island correct?). Then my expression is a bunch of if statements that based on which row I am looking at, I calculate a different value/metric. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this, will I still be able to filter on other dimension values? I.E. different comapnies. Off hand I think it should because as long as i don't specify a specific one in the expression it should, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 16:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392738#M1161824</guid>
      <dc:creator />
      <dc:date>2012-11-01T16:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot/straight table using multiple dimensions in single column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392739#M1161825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah right...go ahead....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 16:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-straight-table-using-multiple-dimensions-in-single-column/m-p/392739#M1161825</guid>
      <dc:creator />
      <dc:date>2012-11-01T16:39:25Z</dc:date>
    </item>
  </channel>
</rss>

