<?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: Calendar setting in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2030571#M84885</link>
    <description>&lt;P&gt;Great &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;, it looks working!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I set also the Date picker object correctly?&lt;/P&gt;
&lt;P&gt;I mean, If I select from 1st to 22th Jan I would like that the&amp;nbsp;&lt;STRONG&gt;Date Picker&lt;/STRONG&gt; object shows from 1st to 22th ignoring the selected excluded.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 20:47:56 GMT</pubDate>
    <dc:creator>danimarc12</dc:creator>
    <dc:date>2023-01-26T20:47:56Z</dc:date>
    <item>
      <title>Calendar setting</title>
      <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029522#M84805</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;I have an issue with my App. I want to display the &lt;STRONG&gt;revenue&lt;/STRONG&gt; of a brand in a specific period selected by the date picker object.&lt;/P&gt;
&lt;P&gt;I have selected the period from &lt;EM&gt;1st of January&lt;/EM&gt; to &lt;EM&gt;22th of January&lt;/EM&gt; and I display my values (Revenue, Revenue PY, Revenue in same period of PY, etc.).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98761iBDB9526499EA0F92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine.png" alt="Immagine.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I select the brand &lt;STRONG&gt;OFF&lt;/STRONG&gt; my Calendar changes:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine2.png" style="width: 976px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/98762i40353198E7C2F6F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine2.png" alt="Immagine2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this change my value&amp;nbsp;&lt;STRONG&gt;Revenue in the same period of the previous year&lt;/STRONG&gt; chages to and I lose the revenue from the 1st of january to the 4th of january.&lt;/P&gt;
&lt;P&gt;This is the expression I use to calculate this measure:&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Data={"&amp;gt;=$(=Date(AddYears(Min(Data),-1)))&amp;lt;=$(=Date(AddYears(Max(Data),-1)))"},Anno=&amp;gt;} netto)&lt;/P&gt;
&lt;P&gt;where:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Data&amp;nbsp;&lt;/STRONG&gt;= date field of my master calendar;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Anno&lt;/STRONG&gt; = year(data), generated by the master calendar;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;netto&lt;/STRONG&gt; = revenue field.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope I've been clear.&lt;/P&gt;
&lt;P&gt;How can I solve this issue to reach my goal?&lt;/P&gt;
&lt;P&gt;Thanks to those who will answer me!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029522#M84805</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2023-01-24T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar setting</title>
      <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029634#M84810</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;This is simply because there is ACTUALLY NO DATA for the selected brand "OFF" from 1-4Jan and 21-22 JAn&lt;/P&gt;
&lt;P&gt;You can verify this in your dataset,&amp;nbsp; the calendar is simply showing &lt;U&gt;possible dates&lt;/U&gt; for the brand selected&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you remove the Brand Selection, your calendar will show your initial selection of 1- 22nd Jan&lt;/P&gt;
&lt;P&gt;The missing dates that were selected initially are simply in "&lt;U&gt;Selected Excluded&lt;/U&gt;" state because of the brand selection as there is no data for that brand for those dates&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;read more here&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Selections/selection-states.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Selections/selection-states.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 03:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029634#M84810</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2023-01-25T03:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar setting</title>
      <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029977#M84840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;, thanks for your answer.&lt;/P&gt;
&lt;P&gt;In this way I cannot display the revenue from the 1st Jan to the 3th Jan of the previous year, so I cannot compare the revenue of this year with the revenue of the previous year . I have values of revenue in the PY from the 1st to the 3th Jan.&lt;/P&gt;
&lt;P&gt;So, how can I solve my issue?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2029977#M84840</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2023-01-25T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar setting</title>
      <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2030161#M84845</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"In this way I cannot display the revenue from the 1st Jan to the 3th Jan of the previous year, so I cannot compare the revenue of this year with the revenue of the previous year&amp;nbsp;"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Previous period comparison is possible by way of set analysis,&amp;nbsp; it doesn't matter if you do not have data for all the dates of a comparing period&lt;/P&gt;
&lt;P&gt;as I mentioned earlier the selections from 1Jan&lt;STRONG&gt;2023&lt;/STRONG&gt;-22Jan&lt;STRONG&gt;2023&lt;/STRONG&gt; are in Selected Excluded state, so you can still use them as below&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Selected Period&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;={"&amp;gt;=$(=Date(Min({1&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;=$::&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;&amp;gt;}&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;)))&amp;lt;=$(=Date(Max({1&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;=$::&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;&amp;gt;}&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;)))"}&amp;gt;}Sale)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Previous Year Period&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;={"&amp;gt;=$(=AddYears(Min({1&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;=$::&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;&amp;gt;}&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;),-1))&amp;lt;=$(=AddYears(Max({1&amp;lt;&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;=$::&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;&amp;gt;}&lt;FONT color="#00CCFF"&gt;DT&lt;/FONT&gt;),-1))"}&amp;gt;}Sale)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;replace DT, with your date field name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 02:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2030161#M84845</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2023-01-26T02:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar setting</title>
      <link>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2030571#M84885</link>
      <description>&lt;P&gt;Great &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;, it looks working!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I set also the Date picker object correctly?&lt;/P&gt;
&lt;P&gt;I mean, If I select from 1st to 22th Jan I would like that the&amp;nbsp;&lt;STRONG&gt;Date Picker&lt;/STRONG&gt; object shows from 1st to 22th ignoring the selected excluded.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 20:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calendar-setting/m-p/2030571#M84885</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2023-01-26T20:47:56Z</dc:date>
    </item>
  </channel>
</rss>

