<?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 Table(With 2 Dimension) Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310637#M407457</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 try the following .The application you shared we dont have have any data for 2016.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt;=If([Income Statement] = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: blue; background-color: inherit;"&gt;'No.of Revenue Contributing Outlets'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="op" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: #808080; background-color: inherit;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt; Len([Profit &amp;amp; Loss]) = 0, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: #ff1493; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt;(Outlet),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;Mayank&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 09:53:43 GMT</pubDate>
    <dc:creator>mayankraoka</dc:creator>
    <dc:date>2017-04-25T09:53:43Z</dc:date>
    <item>
      <title>Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310632#M407452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have a Pivot Table which is having 2 dimensions. Kindly refer to the attached image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to write the expression that will calculate the results based on the value of the dimension 1 and dimension 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression is as below:&lt;/P&gt;&lt;P&gt;=IF([Income Statement]='No. of Revenue Contributing Outlets' AND [Profit &amp;amp; Loss]='',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; COUNT(Outlet),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF([Income Statement]='Revenue' AND [Profit &amp;amp; Loss]='Revenue',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(Revenue),&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But somehow I cannot get the result for the &lt;SPAN style="font-size: 13.3333px;"&gt;[Income Statement]='No. of Revenue Contributing Outlets' AND [Profit &amp;amp; Loss]=''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is possibly due to the [Profit &amp;amp; Loss] ='' is incorrect. Does anyone have any idea on what expression should i type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if further information is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310632#M407452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T03:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310633#M407453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chee Min Chin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try below sample expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14930998211883870 jive_text_macro" jivemacro_uid="_14930998211883870" modifiedtitle="true"&gt;
&lt;P&gt;=If([Income Statement] = 'No. of Revenue Contributing Outlets' AND Len([Profit &amp;amp; Loss]) = 0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Outlet),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If([Income Statement]='Revenue' AND [Profit &amp;amp; Loss]='Revenue',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(Revenue),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 0))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if issue still exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 05:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310633#M407453</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-25T05:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310634#M407454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately it does not work. If I only put the following, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;=If(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;Len([Profit &amp;amp; Loss]) = 0,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; color: #ff1493; background-color: inherit; font-size: 9pt !important;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;(Outlet),&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I put the follwing, it will only show -.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;=If([Income Statement] = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;'No. of Revenue Contributing Outlets'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt; &lt;/SPAN&gt;&lt;SPAN class="op" style="font-weight: inherit; font-style: inherit; color: #808080; background-color: inherit; font-size: 9pt !important;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt; Len([Profit &amp;amp; Loss]) = 0,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; color: #ff1493; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;(Outlet),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the issue or is there anything that I should take note of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310634#M407454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T07:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310635#M407455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share application with sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310635#M407455</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-25T07:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310636#M407456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've uploaded the qvw to sendspace due to huge file size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've reduced the data size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may refer to the first expression of the Pivot Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if there is anything else I can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310636#M407456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T07:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310637#M407457</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 try the following .The application you shared we dont have have any data for 2016.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt;=If([Income Statement] = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: blue; background-color: inherit;"&gt;'No.of Revenue Contributing Outlets'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="op" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: #808080; background-color: inherit;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt; Len([Profit &amp;amp; Loss]) = 0, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: black; background-color: inherit;"&gt;&lt;SPAN class="func" style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; color: #ff1493; background-color: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; font-family: inherit; background-color: inherit;"&gt;(Outlet),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-family: inherit; font-weight: inherit;"&gt;Mayank&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 09:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310637#M407457</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2017-04-25T09:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table(With 2 Dimension) Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310638#M407458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mayank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid your suggestion has been suggested by Rahul before this, and turns out it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Rahul and Mayank,&lt;/P&gt;&lt;P&gt;On top of that, I've tried to add another expression to see the combination of [Income Statement] and [Profit &amp;amp; Loss], seems like it is showing total blank. Kindly refer to the attached image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this is caused by my excel mapping, at which the 'No. of Revenue Contributing Outlets' are not mapped to any GL Accounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried now is to purposely force it to map against a GL Account, just for the sake for showing my Pivot table correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope there are better options beside what am I doing now. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to hear from you guys soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 10:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-With-2-Dimension-Expression/m-p/1310638#M407458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T10:07:55Z</dc:date>
    </item>
  </channel>
</rss>

