<?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 Pivot - Expression from properties to syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897310#M1011336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello, we have a review process to publish our apps on the server and I have received a mark for having my Count(disitnct(ID)) in an expression and not in the syntax, so I created Count(disitnct(ID) as CountID in my script but when I add this into my Pivot chart, all I get is 1's for the sum. Any thoughts to why and suggestions on how to fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 15:28:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-07T15:28:56Z</dc:date>
    <item>
      <title>Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897310#M1011336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello, we have a review process to publish our apps on the server and I have received a mark for having my Count(disitnct(ID)) in an expression and not in the syntax, so I created Count(disitnct(ID) as CountID in my script but when I add this into my Pivot chart, all I get is 1's for the sum. Any thoughts to why and suggestions on how to fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897310#M1011336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897311#M1011337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example qvw?&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, 07 May 2015 15:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897311#M1011337</guid>
      <dc:creator />
      <dc:date>2015-05-07T15:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897312#M1011338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would be happy to but never attached an app on here before. Could you provide steps on how to do so? Sorry to be so needy! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897312#M1011338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897313#M1011339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. click Reply&lt;/P&gt;&lt;P&gt;2. on tor right corner there is option "Use Advanced editor"--click on tht&lt;/P&gt;&lt;P&gt;3. from bottom whr ur trying to write msg --thr is option Attach--clik on that&lt;/P&gt;&lt;P&gt;4. select ur file---thr is a buton in bottom --clik that button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897313#M1011339</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-07T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897314#M1011340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, see attached but of course I cannot get the expression to work in the script.&lt;/P&gt;&lt;P&gt;Again, I just trying to move the expression from the chart properties Pivot into the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 16:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897314#M1011340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897315#M1011341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out Henric Cronstroms '&lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/10/22/a-myth-about-countdistinct"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;A Myth About Count(distinct …)&lt;/SPAN&gt;&lt;/A&gt;'&amp;nbsp; post and tell them to give you your marks back &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 16:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897315#M1011341</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2015-05-07T16:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897316#M1011342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to group the expression by dimension, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Idtest, &lt;/P&gt;&lt;P&gt;//Count(DISTINCT Idtest)as countIdtest,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Location ID]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;qlikviewtest.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Listing);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test2:&lt;/P&gt;&lt;P&gt;load [Location ID]&lt;/P&gt;&lt;P&gt;,Count(DISTINCT Idtest)as countIdtest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident test&lt;/P&gt;&lt;P&gt;Group By [Location ID];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table test;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 16:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897316#M1011342</guid>
      <dc:creator />
      <dc:date>2015-05-07T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897317#M1011343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I was wondering why the expression wan't working. Anyway, so I have attached. See Expr Chart columns, why is count(distinct(idtest)) and countidtest sum differnt in the chart? In my mind they should read the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bascially, I need to remove the expression from the chart and add the expression "in the back end" according to&amp;nbsp; IT &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 18:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897317#M1011343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T18:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897318#M1011344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll get clarification from IT but in the mean time, I'll assume a SUM aggr will do the trick on the that I createted on the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Idtest&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;countIdtest&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 18:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897318#M1011344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-07T18:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - Expression from properties to syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897319#M1011345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yess, if you need to add "dimensionality" in your expression you should use Aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Aggr function only perform a virtual aggregation, without any calculation. If you want to compute, for example, the "sum of the Location ID totals", you must Sum the aggregations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;STRONG&gt;Sum(Aggr(Count(DISTINCT Idtest),[Location ID]))&lt;/STRONG&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Expression-from-properties-to-syntax/m-p/897319#M1011345</guid>
      <dc:creator />
      <dc:date>2015-05-08T07:07:42Z</dc:date>
    </item>
  </channel>
</rss>

