<?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: P and E Syntax issue?? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106079#M7205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to Henric below may not work. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216599_1.JPG" style="height: 568px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2018 15:38:27 GMT</pubDate>
    <dc:creator>vkish16161</dc:creator>
    <dc:date>2018-10-23T15:38:27Z</dc:date>
    <item>
      <title>P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106074#M7200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything wrong with below image? why is P not highlighting in Blue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The intent here is to only get count of claims where Opened date is the same as Reported date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P and E.JPG" class="jive-image image-1" src="/legacyfs/online/215890_P and E.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;My other solution that works is Count (if([Claims Opened Date]=[Claims Reported Date],[Claims Number],null()))&lt;/EM&gt;&lt;/SPAN&gt; but not sure why P and E wouldn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106074#M7200</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-10-15T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106075#M7201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;count([Class Number]={"=[Claims Opened Date] = [Claims Reported Date]"}&amp;gt;[Claims Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your expression in the picture should work unless the 2 dates fields have different format&lt;/P&gt;&lt;P&gt;try converting both to numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106075#M7201</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-10-15T14:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106076#M7202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ali,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The below will work, I tried this already :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Claims Number]={"=[Claims Opened Date] = [Claims Reported Date]"}&amp;gt;}[Claims Number])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;BUT&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;is there a reason why "P" isn't highlighting in Blue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and also, I believe, set analysis takes the numeric part of the field, so conversion shouldn't matter.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106076#M7202</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-10-15T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106077#M7203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no idea why it is not being highlighted in Blue but it should work&lt;BR /&gt;last week I was working on expression to get the customers not served in a selected period of time and I used the E() and it works perfectly despite the fact that the E is not highlighted in blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;date(&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;max(&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;{1&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;lt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;salesman_name=$::salesman_name,&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;company_name=$::company_name,&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;branch_customer.customer_code = E(&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;{&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;lt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;trx_type={'Sales'}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,branch_customer.customer_status={'active'}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,branch_customer.customer_code = {"=Sum({&amp;lt;trx_type={'Sales'}&amp;gt;} amount_usd)&amp;gt;0"}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;} branch_customer.customer_code&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;)&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,trx_type={'sales'}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,branch_customer.customer_status={'active'}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,YEAR=,MONTH=,MONTH_NUM=,MONTH_YEAR=,DAY=&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;,trx_date={'&amp;lt;=$(vEOM_LastMonth)'}&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;}trx_date)&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106077#M7203</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-10-15T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106078#M7204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; &amp;lt;[Claims Opened Date]=P([Claims Reported Date])&amp;gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;will &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; do what you want: P() is a set, i.e. it contains &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;multiple&lt;/STRONG&gt;&lt;/SPAN&gt; values. So the expression will be equivalent to making a selection of multiple values in &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;[Claims Opened Date].&lt;/EM&gt;&lt;/SPAN&gt; You instead want a comparison made value-by-value, where the two dates are compared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, set analysis cannot be used for a row-by-row comparison this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, the search&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; count([Class Number]={"=[Claims Opened Date] = [Claims Reported Date]"}&amp;gt;[Claims Number])&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;will not always work either: Here, a hypercube with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;[Class Number] &lt;/EM&gt;&lt;/SPAN&gt;as dimension will be created in the background, and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; [Claims Opened Date] = [Claims Reported Date]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;will be used as measure. Records with this evaluated as TRUE will be included in the search result. But classes with multiple open dates and multiple report dates will be evaluated as&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; NULL = NULL&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;which in turn is FALSE, even if there are individual dates that match.&amp;nbsp; So, the search will not (always) work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution with the If() function will work fine, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106078#M7204</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2018-10-23T14:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106079#M7205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to Henric below may not work. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216599_1.JPG" style="height: 568px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 15:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106079#M7205</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-10-23T15:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106080#M7206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The construction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; {&amp;lt;RecID={"=F1=F2"}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;will work excellently if RecID has a grain that is fine enough, i.e. if there are &lt;EM&gt;no multiple values&lt;/EM&gt; in F1 and F2 for any RecID. The name "RecID" implies that this is an ID per record - an ID on the lowest level. And then the expression will work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In your case, you have&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; {&amp;lt;Class={"=Date1=Date2"}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;which is an expression with identical structure, and the same is of course true here: If Class has a grain fine enough, then it will work. But it will not work if a Class has multiple values of Date1 (or Date2) associated with it. And the name "Class Number" sounds as if this is a possibility.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;HIC &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 05:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106080#M7206</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2018-10-24T05:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: P and E Syntax issue??</title>
      <link>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106081#M7207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric for clarifying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Set Expression Builder was released in Qlik Cloud today but I believe there's a minor flaw in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please clarify it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the link: &lt;A href="https://community.qlik.com/message/1562810"&gt;Bug ?? in Set Expressions Builder in QS Nov 2018?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 12:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/P-and-E-Syntax-issue/m-p/106081#M7207</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-10-24T12:29:57Z</dc:date>
    </item>
  </channel>
</rss>

