<?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 Working with calanders one date field with 2 seperate selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668795#M594338</link>
    <description>&lt;P&gt;&lt;EM&gt;Hi&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can someone please guide me with the issue i am not bale to get the ogic of creating the below .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My data looks as below which has to be loaded,It has one date field.&lt;/P&gt;&lt;P&gt;The user is suppose to see select date range in 2 seperate filters with respect to ID.&lt;/P&gt;&lt;P&gt;USer need ID below 200 for a paticular date range and above 200 for paticular date rage,hence 2 date selections for one date field.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;date1&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;category&lt;/TD&gt;&lt;TD&gt;score&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20-01-2020&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21-01-2020&lt;/TD&gt;&lt;TD&gt;110&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22-01-2020&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22-01-2020&lt;/TD&gt;&lt;TD&gt;190&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23-01-2020&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24-01-2020&lt;/TD&gt;&lt;TD&gt;290&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24-01-2020&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried loading the same tabel twice and concatinating it&amp;nbsp; as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A:&lt;BR /&gt;LOAD date1,&lt;BR /&gt;date1 as Sel1,&lt;BR /&gt;category,&lt;BR /&gt;ID,&lt;BR /&gt;score&lt;BR /&gt;FROM&lt;BR /&gt;test.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where ID&amp;lt;'200'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;B:&lt;BR /&gt;LOAD date1,&lt;/P&gt;&lt;P&gt;date1 as Sel2,&lt;BR /&gt;category,&lt;BR /&gt;ID,&lt;BR /&gt;score&lt;BR /&gt;FROM&lt;BR /&gt;Desktop\test.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where ID&amp;gt;'200'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the front the user must slect the date range &amp;lt;200 so that the table shows the data less than 200 and user also must be able to select a seperate data range for &amp;gt;200 .&lt;/P&gt;&lt;P&gt;the date should be shown together for both ranges with dfferent where clauses in same table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1.JPG" style="width: 732px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27396iDAAB6D55269D60A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="s1.JPG" alt="s1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with the approch or how to acheive it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Vp&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:14:19 GMT</pubDate>
    <dc:creator>vpanchuda</dc:creator>
    <dc:date>2024-11-16T19:14:19Z</dc:date>
    <item>
      <title>Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668795#M594338</link>
      <description>&lt;P&gt;&lt;EM&gt;Hi&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can someone please guide me with the issue i am not bale to get the ogic of creating the below .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My data looks as below which has to be loaded,It has one date field.&lt;/P&gt;&lt;P&gt;The user is suppose to see select date range in 2 seperate filters with respect to ID.&lt;/P&gt;&lt;P&gt;USer need ID below 200 for a paticular date range and above 200 for paticular date rage,hence 2 date selections for one date field.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;date1&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;category&lt;/TD&gt;&lt;TD&gt;score&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20-01-2020&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;21-01-2020&lt;/TD&gt;&lt;TD&gt;110&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22-01-2020&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;22-01-2020&lt;/TD&gt;&lt;TD&gt;190&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23-01-2020&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;dbe&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24-01-2020&lt;/TD&gt;&lt;TD&gt;290&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;TD&gt;exe&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;24-01-2020&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25-01-2020&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;INT&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried loading the same tabel twice and concatinating it&amp;nbsp; as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A:&lt;BR /&gt;LOAD date1,&lt;BR /&gt;date1 as Sel1,&lt;BR /&gt;category,&lt;BR /&gt;ID,&lt;BR /&gt;score&lt;BR /&gt;FROM&lt;BR /&gt;test.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where ID&amp;lt;'200'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;B:&lt;BR /&gt;LOAD date1,&lt;/P&gt;&lt;P&gt;date1 as Sel2,&lt;BR /&gt;category,&lt;BR /&gt;ID,&lt;BR /&gt;score&lt;BR /&gt;FROM&lt;BR /&gt;Desktop\test.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where ID&amp;gt;'200'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the front the user must slect the date range &amp;lt;200 so that the table shows the data less than 200 and user also must be able to select a seperate data range for &amp;gt;200 .&lt;/P&gt;&lt;P&gt;the date should be shown together for both ranges with dfferent where clauses in same table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1.JPG" style="width: 732px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27396iDAAB6D55269D60A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="s1.JPG" alt="s1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with the approch or how to acheive it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Vp&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668795#M594338</guid>
      <dc:creator>vpanchuda</dc:creator>
      <dc:date>2024-11-16T19:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668866#M594339</link>
      <description>&lt;P&gt;"Alternate States" are created for exactly this type of scenario.&lt;/P&gt;&lt;P&gt;If you create an Alternate State called Sel1 and an additional Alternate State&amp;nbsp; called Sel2 you can then set the listbox to the left to belong to Sel1 and the one to the right to belong to Sel2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In an expression you can refer to selections in an alternate state by using the Alternate State name as a set identifier and also within the right hand side within a set modifer for a specific field by prefixing the field with the alternate state name using double colons as a separator:&amp;nbsp; &amp;nbsp;::&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;Sum( {Sel1} Amount )&amp;nbsp; and Sum( {Sel2 } Amount )&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Date=Sel2::Date&amp;gt;} Amount )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For QlikView you can find more here:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Alternate%20States.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Alternate%20States.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Qlik Sense you can find more here:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Visualizations/alternate-states-comparative-analysis.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Visualizations/alternate-states-comparative-analysis.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 11:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668866#M594339</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2020-01-24T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668982#M594340</link>
      <description>&lt;P&gt;Hi Petter&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank yu for the esponse , i understand by creating alternate states i could split the dates and work with different selection but how to show both selections in one table is what i am stuck with.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668982#M594340</guid>
      <dc:creator>vpanchuda</dc:creator>
      <dc:date>2020-01-24T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668995#M594341</link>
      <description>&lt;P&gt;I understand and that is what I tried to explain. All the examples/expressions I showed above&amp;nbsp; run in the default state and can access any alternate state and mix them in the same chart/table.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1668995#M594341</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2020-01-24T14:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1677699#M594342</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post too, and I am posting the base URL to this area below that in case you wish to further search on your own.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If Petter's posts helped, do not forget to use the Accept as Solution button on the one that most helped, or if you have come up with a different solution that worked, consider posting that and then mark that as the solution.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1677699#M594342</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-20T17:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Working with calanders one date field with 2 seperate selections</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1685440#M594343</link>
      <description>&lt;P&gt;Sorry being late, learned the concept from your post and worked well.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 16:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-calanders-one-date-field-with-2-seperate-selections/m-p/1685440#M594343</guid>
      <dc:creator>vpanchuda</dc:creator>
      <dc:date>2020-03-17T16:13:58Z</dc:date>
    </item>
  </channel>
</rss>

