<?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: condition depend on a month in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236971#M8253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Values of Maroc in the dynamique table still change when i select a month (filter Mois)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Mar 2017 09:14:22 GMT</pubDate>
    <dc:creator>zied_ahmed1</dc:creator>
    <dc:date>2017-03-19T09:14:22Z</dc:date>
    <item>
      <title>condition depend on a month</title>
      <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236969#M8251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a problem , i have condition for MAR&lt;/P&gt;&lt;P&gt;this is the values of the MAR that i need to have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="156755" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156755_1.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;the problem is when i select the filter "Mois" (Month) the values change, i added the field Month of date= in the expression and the values of "Maroc" changes:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156756_2.png" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;so this is the expression and thanks to help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 08:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236969#M8251</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-03-19T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: condition depend on a month</title>
      <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236970#M8252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your condition as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Code_Ligne='MAR',&lt;/P&gt;&lt;P&gt;if (&lt;/P&gt;&lt;P&gt;Mod(count( distinct {&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={1}&amp;gt;} Plaque),2)=1,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Groupe_Complet_Vide={C,G},Timeframe=,[Month of date]=,Flag_Doublon={1}&amp;gt;}Dossier)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;count(&amp;nbsp; {&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Groupe_Complet_Vide={C,G},Timeframe=,[Month of date]=,Flag_Doublon={1}&amp;gt;} Plaque)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={0}&amp;gt;}Dossier),&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={1}&amp;gt;}Dossier)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;count( distinct {&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={1}&amp;gt;} Plaque)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={0}&amp;gt;}Dossier)&lt;SPAN style="font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Timeframe=, [Month of date]=,Groupe_Complet_Vide={C,G}&amp;gt;}Dossier))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 08:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236970#M8252</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-03-19T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: condition depend on a month</title>
      <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236971#M8253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Values of Maroc in the dynamique table still change when i select a month (filter Mois)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 09:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236971#M8253</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-03-19T09:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: condition depend on a month</title>
      <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236972#M8254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that we should have something like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have these 3 expressions that result into a value :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Groupe_Complet_Vide={C,G},Timeframe=,[Month of date]=,Flag_Doublon={1}&amp;gt;}Dossier)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(&amp;nbsp; {&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Groupe_Complet_Vide={C,G},Timeframe=,[Month of date]=,Flag_Doublon={1}&amp;gt;} Plaque)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Timeframe=,Groupe_Complet_Vide={C,G},[Month of date]=,Flag_Doublon={0}&amp;gt;}Dossier)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Suppose these 3 combined = a new measure, let's call it MarocDoublons&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The solution, I guess would be : &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;STRONG&gt;{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Year of date]={$(=max([Year of date]))},Code_Ligne={'MAR'},Groupe_Complet_Vide={C,G},Timeframe=,[Month of date]=&amp;gt;&lt;/SPAN&gt;}&lt;/STRONG&gt;MarocDoublons)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;But when I tried to do this, I got null values, as if the expression was wrong &lt;/P&gt;&lt;P&gt;Isn't it possible to proceed as so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 09:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236972#M8254</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-03-19T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: condition depend on a month</title>
      <link>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236973#M8255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MarocDoublons&lt;/SPAN&gt; created in script or is this a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 13:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/condition-depend-on-a-month/m-p/1236973#M8255</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-19T13:24:13Z</dc:date>
    </item>
  </channel>
</rss>

