<?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: Exclude non-possible DATES on chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436490#M34540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;{&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; 1&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;&lt;EM&gt;MonthlySales&lt;/EM&gt; = {'&lt;SPAN style="font-size: 13.33px;"&gt;&amp;gt;=$(=0.9*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;)&amp;lt;&lt;SPAN style="font-size: 13.33px;"&gt;=$(=1.1*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;'}&lt;SPAN style="color: #ff0000;"&gt;,date=$::date&lt;/SPAN&gt;&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 14:14:41 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-09-19T14:14:41Z</dc:date>
    <item>
      <title>Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436487#M34537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem I can't solve ...&lt;/P&gt;&lt;P&gt;I want to represent the evolution of sales of one specific shop and compare it to the evolution of the sales of all others shops that have a similar sales revenue last month.&lt;/P&gt;&lt;P&gt;I made a combo chart with these specifications :&lt;/P&gt;&lt;P&gt;- Date as dimension&lt;/P&gt;&lt;P&gt;- Sum(sales) as Measure1&lt;/P&gt;&lt;P&gt;- &lt;SPAN style="font-size: 13.3333px;"&gt;Avg([set analysis] sales) as Measure2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My set analysis was made to pick among all registered shops the ones that have a similar sales revenue. It looks like this :&lt;/P&gt;&lt;P&gt;{&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; 1&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;&lt;EM&gt;MonthlySales&lt;/EM&gt; = {'&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;=$(=0.9*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;=$(=1.1*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt; is a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine for the calculation but my problem is the plotted chart : I have specific Dates where &lt;STRONG&gt;Sum(sales) = 0&lt;/STRONG&gt; for the shop I picked and I don't want these dates to appear on chart.&lt;/P&gt;&lt;P&gt;Unfortunately, dued to the {&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; ....} of my set analysis and the fact that other shops have a &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum(sales) &amp;lt;&amp;gt; 0 &lt;/STRONG&gt;&lt;/SPAN&gt;on these dates, everyting is plotted on chart.&lt;/P&gt;&lt;P&gt;The option "include null values" for the chart is not checked, but it still plots all dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to work around this please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen to clarify the situation.&lt;IMG __jive_id="176957" alt="dates.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176957_dates.PNG" style="height: 208px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;A filter pane shows the possible values for the dimension DATES :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dates2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/176958_dates2.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;i tried to create a new dimension based on the "possible fields", but it's a dead end for me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the consideration !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 17:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436487#M34537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T17:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436488#M34538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use E() in set analysis: &lt;A href="https://help.qlik.com/en-US/sense/2.1/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm" title="https://help.qlik.com/en-US/sense/2.1/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-value-definitions.htm"&gt;https://help.qlik.com/en-US/sense/2.1/Subsystems/Hub/Content/ChartFunctions/SetAnalysis/set-modifiers-implicit-field-val…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436488#M34538</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-09-18T20:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436489#M34539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomasz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the guidance ! Unfortunately, I've never used the P() &amp;amp; E() functions, could you give me a hand on the structure that could help me ? &lt;SPAN style="font-size: 10pt;"&gt;I'm guessing in pseudo code, it would be something like :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Date = E( {&amp;lt;&lt;STRONG&gt;sum(sales) = {0}&lt;/STRONG&gt;&amp;gt;} &lt;STRONG&gt;id_of_specific_shop&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436489#M34539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T14:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436490#M34540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;{&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; 1&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;&lt;EM&gt;MonthlySales&lt;/EM&gt; = {'&lt;SPAN style="font-size: 13.33px;"&gt;&amp;gt;=$(=0.9*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;)&amp;lt;&lt;SPAN style="font-size: 13.33px;"&gt;=$(=1.1*&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;&lt;EM&gt;MonthlySales&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;'}&lt;SPAN style="color: #ff0000;"&gt;,date=$::date&lt;/SPAN&gt;&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436490#M34540</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-19T14:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436491#M34541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other way:&lt;/P&gt;&lt;P&gt;1. for the measure2 use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( [measure1 formula]=0,0,[measure2 formula] )&lt;/P&gt;&lt;P&gt;2. In 'data handling' panel uncheck 'Show zero values'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 10:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436491#M34541</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-09-20T10:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436492#M34542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of these techniques work for me &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't get the proper E() expression in my set analysis&lt;/P&gt;&lt;P&gt;For the IF idea, It plots the line even with the zero values on some dates (very strange ...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436492#M34542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-20T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude non-possible DATES on chart</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436493#M34543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea but it didn't work either &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-non-possible-DATES-on-chart/m-p/1436493#M34543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-20T14:16:03Z</dc:date>
    </item>
  </channel>
</rss>

