<?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 use a table fields twice in a pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9968#M776077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure to get it but ...&lt;/P&gt;&lt;P&gt;as far as I understand &lt;/P&gt;&lt;P&gt;You need two region tables&lt;/P&gt;&lt;P&gt;source region and target region&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 20:06:35 GMT</pubDate>
    <dc:creator>bc-thebruuu</dc:creator>
    <dc:date>2018-04-24T20:06:35Z</dc:date>
    <item>
      <title>How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9965#M776074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikview community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview and I have 2 questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have Table, Transfer that contains the quantity transferred between factories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source factory has a CODUSN and the Destination factory has code CODUSNSRC_DST. These two field are in the same table in addirion to the quantity transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code Qlikview I wrote, but I'am not sure if it is correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; USINE:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODUSN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODREG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SIGUSN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[..\QVD\USINE.qvd]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Directory&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; USN_SRCDST:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//CODUSN,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODUSN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODUSNSRC_DST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;// CODREG,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODREG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODREGTRANSF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//SIGUSN,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SIGUSN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LIB_USNSRCDST&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[..\QVD\USINE.qvd]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My question is, is this coorect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. I want to display the quantity transferred between the regions using a third table named REGION as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; REGION:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CODREG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SIGREG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SIGREGTRANSF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[..\QVD\REGION.qvd]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But the result is not correct. It shows me only the transfers Inside each region and not between the regions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Attached the result of the pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you very much in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Abdallah&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9965#M776074</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9966#M776075</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;what is your table structure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be able to see the Quantity movement between regions, you must have something like this (as data strcuture):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; the region from which comes the quantity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the region to which the quantity is going&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 11:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9966#M776075</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-04-24T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9967#M776076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Youssef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Table containing the quantity doesn't has source/destination régions but only source/destination factories (CODUSN and CODUSNSRC_DST). The factory code is connected to the region in the Table REGION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- So I have factory Table connected at the same time to the region table and to the table containing the quantity of the transfert.&lt;/P&gt;&lt;P&gt;- I am trying to display the transfers between region in pivot Table (one dimention region source and the other one destination region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Abdallah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9967#M776076</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-04-24T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9968#M776077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure to get it but ...&lt;/P&gt;&lt;P&gt;as far as I understand &lt;/P&gt;&lt;P&gt;You need two region tables&lt;/P&gt;&lt;P&gt;source region and target region&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9968#M776077</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-04-24T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9969#M776078</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;Can you please explain more clearly and also share your expected output...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 06:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9969#M776078</guid>
      <dc:creator>sudhirpkuwar</dc:creator>
      <dc:date>2018-04-25T06:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9970#M776079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, if your table have the source/destination factories and the factories are connected to the regions, just put the source region and destination region as dimensions and the Quantity as a Measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to attach sample data or sample app to take a look at the data structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 07:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9970#M776079</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-04-25T07:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9971#M776080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it okay to share your sample data and qvw? &lt;/P&gt;&lt;P&gt;if it is too confidential, just scramble it before sharing thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 07:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9971#M776080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T07:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9972#M776081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you I fixed the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I duplicated&amp;nbsp; the factory and the region tables and renamed their fields names for the destination (destination factory table and destination region table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;Abdallah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9972#M776081</guid>
      <dc:creator>absekrafi</dc:creator>
      <dc:date>2018-04-25T08:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a table fields twice in a pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9973#M776083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome, don't forget to close the thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-table-fields-twice-in-a-pivot-Table/m-p/9973#M776083</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-04-25T08:55:25Z</dc:date>
    </item>
  </channel>
</rss>

