<?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: Using the P() function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770269#M59587</link>
    <description>&lt;P&gt;Hi, thanks for the reply, yes they are fields. I made them this text format while I was testing something. I can make them into a date again. The main point is that if I write:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Period = P(Q1),&lt;/P&gt;&lt;P&gt;there will be no error.&lt;/P&gt;&lt;P&gt;But if I write P($3), there is an error...&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 14:28:29 GMT</pubDate>
    <dc:creator>timetraveler</dc:creator>
    <dc:date>2020-12-23T14:28:29Z</dc:date>
    <item>
      <title>Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770029#M59568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The set expression editor is giving me an error when I try to use the P() function in this way:&lt;/P&gt;&lt;P&gt;sum({$ &amp;lt; FIELD_1 = {$1}, FIELD_2 = {$2}, Period = P($3) &amp;gt; } Amount)&lt;/P&gt;&lt;P&gt;I'm "calling" this like:&lt;/P&gt;&lt;P&gt;vFunction(A,B,Q1) , vFunction(A,B,Q2)...&lt;/P&gt;&lt;P&gt;So the third parameter $3 is changing, as it's a date. Q1 and Q2 are text(date#) format and&lt;BR /&gt;Period is a date format. So the expression does what I want, but it's giving me an error and I would like to write it properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 15:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770029#M59568</guid>
      <dc:creator>timetraveler</dc:creator>
      <dc:date>2020-12-22T15:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770260#M59586</link>
      <description>&lt;P&gt;Are Q1 and Q2 fields within your datamodel? Further comparing real dates with strings will only work in some very specific cases and should be therefore in general avoided.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770260#M59586</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-23T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770269#M59587</link>
      <description>&lt;P&gt;Hi, thanks for the reply, yes they are fields. I made them this text format while I was testing something. I can make them into a date again. The main point is that if I write:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Period = P(Q1),&lt;/P&gt;&lt;P&gt;there will be no error.&lt;/P&gt;&lt;P&gt;But if I write P($3), there is an error...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770269#M59587</guid>
      <dc:creator>timetraveler</dc:creator>
      <dc:date>2020-12-23T14:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770276#M59589</link>
      <description>&lt;P&gt;Try it in this way:&amp;nbsp;&lt;SPAN&gt;vFunction(A,B,[Q1])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770276#M59589</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-23T14:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770281#M59591</link>
      <description>&lt;P&gt;Hi, the call of the function (within a master item) is not causing an error. It's the function itself (where P($3)) .&amp;nbsp; I tried with P([$3]) and all kinds of different brackets but I guess I didn't find the right one, or it's a bug in the expression checker itself.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770281#M59591</guid>
      <dc:creator>timetraveler</dc:creator>
      <dc:date>2020-12-23T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P() function</title>
      <link>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770285#M59592</link>
      <description>&lt;P&gt;If it's worked you could ignore the expression checker which is a good indicator but is independent from the executing engine and therefore not mandatory the truth.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 15:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-the-P-function/m-p/1770285#M59592</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-23T15:12:21Z</dc:date>
    </item>
  </channel>
</rss>

