<?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 Finding issue to get common id's between two years and calculate the count using p() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440264#M97235</link>
    <description>&lt;P&gt;I am trying to find the count of common id's from two years using P(), but it shows issue with the calculation&lt;/P&gt;
&lt;P&gt;using the calculation like this ,Count({&amp;lt;ID=p({&amp;lt;year={'2022'}&amp;gt;})&amp;gt;*p({&amp;lt;year={'2023'}&amp;gt;})&amp;gt;}distinct ID)&lt;/P&gt;
&lt;P&gt;But issue here is , it shows increase in values initially in a table with all the locations specified but shows correctly when a particular location is selected.&lt;/P&gt;
&lt;P&gt;Any help here to fix the logic to show same numbers with or without selection of location?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:00:24 GMT</pubDate>
    <dc:creator>April1234</dc:creator>
    <dc:date>2024-11-15T21:00:24Z</dc:date>
    <item>
      <title>Finding issue to get common id's between two years and calculate the count using p()</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440264#M97235</link>
      <description>&lt;P&gt;I am trying to find the count of common id's from two years using P(), but it shows issue with the calculation&lt;/P&gt;
&lt;P&gt;using the calculation like this ,Count({&amp;lt;ID=p({&amp;lt;year={'2022'}&amp;gt;})&amp;gt;*p({&amp;lt;year={'2023'}&amp;gt;})&amp;gt;}distinct ID)&lt;/P&gt;
&lt;P&gt;But issue here is , it shows increase in values initially in a table with all the locations specified but shows correctly when a particular location is selected.&lt;/P&gt;
&lt;P&gt;Any help here to fix the logic to show same numbers with or without selection of location?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440264#M97235</guid>
      <dc:creator>April1234</dc:creator>
      <dc:date>2024-11-15T21:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding issue to get common id's between two years and calculate the count using p()</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440376#M97250</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/295391"&gt;@April1234&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;try this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" aria-label="Texto traduzido" data-ved="2ahUKEwi8mZG56LqFAxXVq5UCHUCaDssQ3ewLegQIBRAU"&gt;&lt;SPAN class="Y2IQFc"&gt;Count({&amp;lt;year={'2022'},ID=P({&amp;lt;year={'2023'}&amp;gt;}ID)&amp;gt;}distinct ID)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Regarts, Matheus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440376#M97250</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-04-11T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding issue to get common id's between two years and calculate the count using p()</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440400#M97255</link>
      <description>&lt;P&gt;It is very close to the numbers . I gave a try swapping the numbers and it worked.&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" aria-label="Texto traduzido" data-ved="2ahUKEwi8mZG56LqFAxXVq5UCHUCaDssQ3ewLegQIBRAU"&gt;&lt;SPAN class="Y2IQFc"&gt;Count({&amp;lt;year={'2023'},ID=P({&amp;lt;year={'2022'}&amp;gt;}ID)&amp;gt;}distinct ID)&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Thank you so much Matheus for the logic.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-issue-to-get-common-id-s-between-two-years-and-calculate/m-p/2440400#M97255</guid>
      <dc:creator>April1234</dc:creator>
      <dc:date>2024-04-11T19:52:32Z</dc:date>
    </item>
  </channel>
</rss>

