<?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: Set Analysis - Advanced Search in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532265#M62679</link>
    <description>&lt;P&gt;Yes, it's working ! Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 15:39:24 GMT</pubDate>
    <dc:creator>Ed</dc:creator>
    <dc:date>2019-01-18T15:39:24Z</dc:date>
    <item>
      <title>Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532125#M62669</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing quite an issue right now. I want to calcul the sum of my sales last year on the current month and fix this amout on my dashboard so that it doesn't move. The ultimate goal would be that I directly see this amout when I open my dashboard.&amp;nbsp; I keep putting this formula upside down, I can't find the correct one &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Help&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;MyYear={"=$(=Year(Today())"} , MyMonth={"=$(=Month(Today()))"}}&amp;gt;} [Sales])&lt;BR /&gt;&lt;BR /&gt;Also I tried to put a variable instead of Year(Today()) and Month(Today() but it still didn't work.&lt;BR /&gt;Also MyMonth and MyYear are the same type 1,2,3,...,12 for months and 2016,2017,2018 for years&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532125#M62669</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2021-04-02T07:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532130#M62670</link>
      <description>&lt;P&gt;Remove the = sign before the $ in your set modifier&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;MyYear = {"$(=Year(Today()))"}, MyMonth = {"$(=Month(Today()))"}&amp;gt;} [Sales])&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jan 2019 13:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532130#M62670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532139#M62671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the quick response, unfortunately it doesn't work. It displays 0 for the measure in KPI visualization for this year. I should have 393.&amp;nbsp; I would also like to have last year and not this year, where should I put the -1 ?&lt;/P&gt;&lt;P&gt;I don't calculate MyMonth and MyYear, the both fields comes from an excel sheet, they are allready like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 13:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532139#M62671</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2019-01-18T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532142#M62672</link>
      <description>&lt;P&gt;Few questions&lt;/P&gt;&lt;P&gt;1) This gives you 0 for the current year?&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;MyYear = {"$(=Year(Today()))"}, MyMonth = {"$(=Month(Today()))"}&amp;gt;} [Sales])&lt;/PRE&gt;&lt;P&gt;2) How exactly do you calculate MyYear and MyMonth in the script? Can you share the script code used to create these fields?&lt;/P&gt;&lt;P&gt;3) It might be easier if you are able to share a sample to troubleshoot this better&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 13:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532142#M62672</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T13:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532161#M62673</link>
      <description>1) yes it gives me 0 for the current year and it shouldn't&lt;BR /&gt;2) I don't calculate them, I import them directly from excel sheet&lt;BR /&gt;Mois is MyMonth, Annee is MyYear and Nombre Intervention is sales&lt;BR /&gt;This is the load statement but my problem is within the measure I am trying to create&lt;BR /&gt;INTERVENTIONS :&lt;BR /&gt;LOAD&lt;BR /&gt;"Nombre Intervention",&lt;BR /&gt;Annee,&lt;BR /&gt;Mois&lt;BR /&gt;FROM [lib://Data/RequeteSQLMichel2.2.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Feuil1) ;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532161#M62673</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2019-01-18T14:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532165#M62674</link>
      <description>&lt;P&gt;Can you check if one of the two below gives you a number other than 0?&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;&lt;SPAN&gt;Annee &lt;/SPAN&gt;= {"$(=Year(Today()))"}&amp;gt;} [&lt;SPAN&gt;Nombre Intervention&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;&lt;SPAN&gt;Mois&lt;/SPAN&gt; = {"$(=Month(Today()))"}&amp;gt;} [&lt;SPAN&gt;Nombre Intervention&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;My guess is that the first one might work, but the second one might not... but let's see what you get?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532165#M62674</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T14:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532172#M62675</link>
      <description>You are right. The first line works but not the second one</description>
      <pubDate>Fri, 18 Jan 2019 14:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532172#M62675</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2019-01-18T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532175#M62676</link>
      <description>&lt;P&gt;Can you share a filter object for Mois field? I want to see what format does it have? Is it Jan, Feb or is it 1, 2,... or is it Jan-2018, Feb-2018, ... etc&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532175#M62676</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T14:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532183#M62677</link>
      <description>&lt;P&gt;Sure&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4050i56D0AC6679BB0D37/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532183#M62677</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2019-01-18T14:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532196#M62678</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Current Year&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;&lt;SPAN&gt;Annee &lt;/SPAN&gt;= {"$(=Year(Today()))"}, &lt;SPAN&gt;Mois&lt;/SPAN&gt; = {"$(=Num(Month(Today())))"}&amp;gt;} [&lt;SPAN&gt;Nombre Intervention&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Previous Year&lt;/P&gt;&lt;PRE&gt;Sum({1&amp;lt;&lt;SPAN&gt;Annee &lt;/SPAN&gt;= {"$(=Year(Today())-1)"}, &lt;SPAN&gt;Mois&lt;/SPAN&gt; = {"$(=Num(Month(Today())))"}&amp;gt;} [&lt;SPAN&gt;Nombre Intervention&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532196#M62678</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-18T14:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Advanced Search</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532265#M62679</link>
      <description>&lt;P&gt;Yes, it's working ! Thanks a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 15:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Advanced-Search/m-p/1532265#M62679</guid>
      <dc:creator>Ed</dc:creator>
      <dc:date>2019-01-18T15:39:24Z</dc:date>
    </item>
  </channel>
</rss>

