<?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: Dimension alter my table pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524480#M438300</link>
    <description>&lt;P&gt;You might need to use Aggr() function with all or most of your first chart dimensions.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 16:13:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-27T16:13:53Z</dc:date>
    <item>
      <title>Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524473#M438299</link>
      <description>&lt;P&gt;I have some problems with pivoting table. I have made my table with 7 dimensions (Plaza, Via, TipoTransit, Detalle, Año, Mes, dia) and 3 expressions (Cant,% PArcial,% Error) For the expression% Error, I make a division between Cant. And the sum total of Cant for Type Transit = Transit Tag. This table is fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlik1.jpg" style="width: 841px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2701i0042C18CA8580856/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlik1.jpg" alt="qlik1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For Dimension, this is the code:&lt;/P&gt;&lt;P&gt;Cant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Count(Contador)&lt;/PRE&gt;&lt;P&gt;%Parciales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Count(Contador)/Count(TOTAL &amp;lt;Año_Est,Mes_Est,Día_Est,Agr_Estacion,[Cod. Vía]&amp;gt; Contador)&lt;/PRE&gt;&lt;P&gt;% Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if(GrupoVariable = 'Tránsito Tag',Count(Contador)/Count(TOTAL &amp;lt;Año_Est,Mes_Est,Día_Est,Agr_Estacion,[Cod. Vía],GrupoVariable&amp;gt; Contador))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what I need is just a Table with fewer fields, I need only 4 dimensions (Palza, Via, Año, Mes) and 2 expressions (Cant,% Error), but I need the same values of the first graphic. When I remove the dimensions, the "% Error" field does not show the correct values.&lt;/P&gt;&lt;P&gt;If I dont remove dimension "Tipo Transito" and "detalle", the values show well...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlik2.jpg" style="width: 466px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2702iB78B60987F83E805/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlik2.jpg" alt="qlik2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The code for Cant is:&lt;/P&gt;&lt;PRE&gt;Count(if(GrupoVariable = 'Tránsito Tag' and Respuesta = 'Tag Manual',Contador))&lt;/PRE&gt;&lt;P&gt;% Error&lt;/P&gt;&lt;PRE&gt;if(Respuesta = 'Tag Manual',Count(Contador)/Count(TOTAL &amp;lt;Año_Est,Mes_Est,Día_Est,Agr_Estacion,[Cod. Vía],GrupoVariable&amp;gt; Contador))&lt;/PRE&gt;&lt;P&gt;When I remove the 2 dimensions&amp;nbsp; "Tipo" and "Detalle, this happen&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlik3.jpg" style="width: 316px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2703iF78BD5D65E8A9A58/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlik3.jpg" alt="qlik3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can help me.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 15:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524473#M438299</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-12-27T15:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524480#M438300</link>
      <description>&lt;P&gt;You might need to use Aggr() function with all or most of your first chart dimensions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 16:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524480#M438300</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-27T16:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524514#M438302</link>
      <description>&lt;P&gt;But how can I apply AGGR when we use several dimensions, for example in TOTAL I do it for several dimensions&lt;/P&gt;&lt;PRE&gt;Count(TOTAL &amp;lt;Año_Est,Mes_Est,Día_Est,Agr_Estacion,[Cod. Vía],GrupoVariable&amp;gt; &lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;How can I do for AGGR,&amp;nbsp; I've looked for examples, but it only works with one dimension. It would be something like this&lt;/P&gt;&lt;PRE&gt;if(Respuesta = 'Tag Manual',Count(Contador)/Aggr(count(Contador),&amp;lt;Año_Est,Mes_Est,[Día_Est],[Agr_Estacion],[Cod. Vía],[GrupoVariable]&amp;gt;))&lt;/PRE&gt;&lt;P&gt;Not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Do you have nay example?.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 17:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524514#M438302</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-12-27T17:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524516#M438303</link>
      <description>&lt;P&gt;I was thinking&amp;nbsp; more like this&lt;/P&gt;&lt;PRE&gt;Aggr(If(Respuesta = 'Tag Manual', Count(Contador)/Count(TOTAL &amp;lt;Año_Est,Mes_Est,[Día_Est],[Agr_Estacion],[Cod. Vía],[GrupoVariable]&amp;gt; Contador)), Your7DimensionsHere)&lt;/PRE&gt;&lt;P&gt;I don't have an example, but if you are able to share a sample and let me know the required output from the sample shared, I can work on getting an expression which can work for you.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 17:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524516#M438303</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-27T17:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524538#M438304</link>
      <description>&lt;P&gt;I Share my file.&lt;/P&gt;&lt;P&gt;&lt;A title="example" href="https://drive.google.com/open?id=1Z9bJcsEeIl6y8LQGpB79fkV32kYbhKia" target="_self"&gt;https://drive.google.com/open?id=1Z9bJcsEeIl6y8LQGpB79fkV32kYbhKia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I need to do something like that, but without these two columns&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlik4.jpg" style="width: 636px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2707i31A59EFE7B2CE0DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlik4.jpg" alt="qlik4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524538#M438304</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-12-27T19:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524540#M438305</link>
      <description>Unfortunately, I am unable to open google drive. Would you be able to directly post your file here?</description>
      <pubDate>Thu, 27 Dec 2018 19:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524540#M438305</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-27T19:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524544#M438306</link>
      <description>&lt;P&gt;ok there I send it&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524544#M438306</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-12-27T19:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524547#M438307</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Aggr(if(Respuesta = 'Tag Manual',Count(Contador)/Count(TOTAL &amp;lt;Año_Est,Mes_Est,Día_Est,Agr_Estacion,[Cod. Vía],GrupoVariable&amp;gt; Contador)), [Año_Est], [Mes_Est], [Agr_Estacion], [Cod. Vía], GrupoVariable, Respuesta)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 845px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2708i8825F5BEDE248E15/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524547#M438307</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-27T19:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension alter my table pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524566#M438308</link>
      <description>&lt;P&gt;Thanks a lot... Its works (Y)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-alter-my-table-pivot/m-p/1524566#M438308</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-12-27T20:08:20Z</dc:date>
    </item>
  </channel>
</rss>

