<?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 Help counting in referencing a created dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-counting-in-referencing-a-created-dimension/m-p/1818895#M67135</link>
    <description>&lt;P&gt;I need help with the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/ I have created a dimension, name is newKPI, with the following expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if([Mn-Ponctualité chargement]&amp;gt;$(vTolerancePlateforme)*-1 and [Mn-Ponctualité chargement]&amp;lt;$(vTolerancePlateforme),'Plateforme-A l heure',if([Mn-Ponctualité chargement]&amp;gt;$(vTolerancePlateforme),'Plateforme-En Retard',if([Mn-Ponctualité chargement]&amp;lt;$(vTolerancePlateforme)*-1,'Plateforme-En Avance','nc')))&lt;/P&gt;&lt;P&gt;I will get out of it 4 possibilities&amp;nbsp;Plateforme-A l heure /&amp;nbsp;Plateforme-En Retard /&amp;nbsp;Plateforme-En Avance / nc&lt;/P&gt;&lt;P&gt;it's based on a variable vTolerancePlateforme&lt;/P&gt;&lt;P&gt;2/ I need then a count where I would like to replace the&amp;nbsp;[KPI Tps-Plateforme (old)] (a previous field) by the newKPI (now variable based on the previous formula)&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Q KPI-Ponctualité Plateforme]={'good quality'},[KPI Tps-Plateforme (old)]={'Plateforme-A l heure'}&amp;gt;} VoyageId)&lt;/P&gt;&lt;P&gt;how should I do this ? I have tried multiple attempts wo success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 14:41:46 GMT</pubDate>
    <dc:creator>fmorizur</dc:creator>
    <dc:date>2021-06-30T14:41:46Z</dc:date>
    <item>
      <title>Help counting in referencing a created dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Help-counting-in-referencing-a-created-dimension/m-p/1818895#M67135</link>
      <description>&lt;P&gt;I need help with the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/ I have created a dimension, name is newKPI, with the following expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if([Mn-Ponctualité chargement]&amp;gt;$(vTolerancePlateforme)*-1 and [Mn-Ponctualité chargement]&amp;lt;$(vTolerancePlateforme),'Plateforme-A l heure',if([Mn-Ponctualité chargement]&amp;gt;$(vTolerancePlateforme),'Plateforme-En Retard',if([Mn-Ponctualité chargement]&amp;lt;$(vTolerancePlateforme)*-1,'Plateforme-En Avance','nc')))&lt;/P&gt;&lt;P&gt;I will get out of it 4 possibilities&amp;nbsp;Plateforme-A l heure /&amp;nbsp;Plateforme-En Retard /&amp;nbsp;Plateforme-En Avance / nc&lt;/P&gt;&lt;P&gt;it's based on a variable vTolerancePlateforme&lt;/P&gt;&lt;P&gt;2/ I need then a count where I would like to replace the&amp;nbsp;[KPI Tps-Plateforme (old)] (a previous field) by the newKPI (now variable based on the previous formula)&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;[Q KPI-Ponctualité Plateforme]={'good quality'},[KPI Tps-Plateforme (old)]={'Plateforme-A l heure'}&amp;gt;} VoyageId)&lt;/P&gt;&lt;P&gt;how should I do this ? I have tried multiple attempts wo success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 14:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-counting-in-referencing-a-created-dimension/m-p/1818895#M67135</guid>
      <dc:creator>fmorizur</dc:creator>
      <dc:date>2021-06-30T14:41:46Z</dc:date>
    </item>
  </channel>
</rss>

