<?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: KPI avec condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539919#M109128</link>
    <description>&lt;P&gt;Bonjour,&lt;BR /&gt;&lt;BR /&gt;Je vous remercie pour votre retour.&lt;BR /&gt;La mise en œuvre a été un peu compliqué mais j'y suis parvenue.&lt;/P&gt;
&lt;P&gt;Bonne journée,&lt;/P&gt;
&lt;P&gt;Céline&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Dec 2025 15:17:56 GMT</pubDate>
    <dc:creator>CeMa</dc:creator>
    <dc:date>2025-12-26T15:17:56Z</dc:date>
    <item>
      <title>KPI avec condition</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539815#M109111</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;
&lt;P&gt;J'ai un tableau qui liste des factures avec des dates associées (date arrivée, date de saisie, date de visa...).&lt;BR /&gt;Je souhaite avoir un indicateur (KPI) qui me donne le nombre de factures réglées à plus de 30 jours :&lt;BR /&gt;count(code facture) pour lesquelles date_paiement &amp;gt; date_limite&lt;/P&gt;
&lt;P&gt;Débutante en développement Qlik, je ne parviens pas à trouver comment faire.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Je vous remercie pour votre aide.&lt;/P&gt;
&lt;P&gt;Céline&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 13:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539815#M109111</guid>
      <dc:creator>CeMa</dc:creator>
      <dc:date>2025-12-23T13:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: KPI avec condition</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539820#M109112</link>
      <description>&lt;P&gt;Bonjour&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/359035"&gt;@CeMa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Je recommanderais de définir la condition date_paiement &amp;gt; date_limite dans le script comme un champ indicateur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Comme ceci :&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT size="2" color="#808080"&gt;&lt;EM&gt;If(date_paiement &amp;gt; date_limite, 1, 0) as Flag&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ensuite, dans le front-end, vous n'avez qu'à définir la formule :&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT size="2" color="#808080"&gt;&lt;EM&gt;Count({&amp;lt;Flag = {"1"}&amp;gt;} code facture)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Je ne suis pas sûr de comprendre exactement ce que vous entendez par les 30 jours. Si vous souhaitez compter uniquement les factures des 30 derniers jours, vous pouvez ajouter à la formule quelque chose comme ceci :&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT size="2" color="#808080"&gt;&lt;EM&gt;Count({&amp;lt;Flag = {"1"}, Payment={"&amp;gt;=$(=Date(Today()-30))"}&amp;gt;} Code)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Faites-moi savoir si cela fonctionne pour vous.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cordialement,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 14:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539820#M109112</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2025-12-23T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: KPI avec condition</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539919#M109128</link>
      <description>&lt;P&gt;Bonjour,&lt;BR /&gt;&lt;BR /&gt;Je vous remercie pour votre retour.&lt;BR /&gt;La mise en œuvre a été un peu compliqué mais j'y suis parvenue.&lt;/P&gt;
&lt;P&gt;Bonne journée,&lt;/P&gt;
&lt;P&gt;Céline&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 15:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-avec-condition/m-p/2539919#M109128</guid>
      <dc:creator>CeMa</dc:creator>
      <dc:date>2025-12-26T15:17:56Z</dc:date>
    </item>
  </channel>
</rss>

