<?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 Alter Selection - Customize Search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074846#M464855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;I’ve the DaysName defined in Load Script in following way:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SET&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;DayNames&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='M;T;W;Tu;F;S;S'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; (&lt;SPAN style="text-decoration: underline;"&gt;This was a &lt;SPAN lang="EN" style="font-family: inherit, serif; color: #212121;"&gt;requirement of my client)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;In my Dim_Calendar I’ve column that represents the Week Days (W_Day)&lt;/P&gt;&lt;P&gt;Now I have 5 buttons:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Monday &lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘M’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Thursday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘T’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Wednesday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘W’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Tuesday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘T’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Friday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘F’&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The action are ‘Alter Selection’ because I want it to be possible to select all days at same time.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I select the button “Thursday” or “Tuesday” it select both values ‘T’ and don’t how can I solve this…&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 10:36:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-07T10:36:11Z</dc:date>
    <item>
      <title>Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074846#M464855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;I’ve the DaysName defined in Load Script in following way:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SET&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: gray;"&gt;DayNames&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='M;T;W;Tu;F;S;S'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; (&lt;SPAN style="text-decoration: underline;"&gt;This was a &lt;SPAN lang="EN" style="font-family: inherit, serif; color: #212121;"&gt;requirement of my client)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;In my Dim_Calendar I’ve column that represents the Week Days (W_Day)&lt;/P&gt;&lt;P&gt;Now I have 5 buttons:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Monday &lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘M’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Thursday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘T’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Wednesday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘W’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Tuesday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘T’&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Friday&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Alter Selection -&amp;gt; W_Day = ‘F’&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The action are ‘Alter Selection’ because I want it to be possible to select all days at same time.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I select the button “Thursday” or “Tuesday” it select both values ‘T’ and don’t how can I solve this…&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074846#M464855</guid>
      <dc:creator />
      <dc:date>2016-04-07T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074847#M464856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you select Tu for Thursday?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Thursday&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Alter Selection -&amp;gt; W_Day = ‘Tu’&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074847#M464856</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-07T10:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074848#M464857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I propose that to my client, but he wants that distribution (M;T;W;T;F) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074848#M464857</guid>
      <dc:creator />
      <dc:date>2016-04-07T10:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074849#M464858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But up top you have this in your post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;SPAN lang="EN-GB" style="font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;DayNames&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='M;T;W;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;Tu&lt;/SPAN&gt;;F;S;S';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thursday seems to be Tu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074849#M464858</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-07T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074850#M464859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, my mistake.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copy the last proposal that have the 'Tu' for Tuesday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DayNames&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ='M;T;W;T;F;S;S';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074850#M464859</guid>
      <dc:creator />
      <dc:date>2016-04-07T10:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074851#M464860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not quite clear to me how these weekdays will be displayed and selected (beside the why - making easy things complicated)? But anyway, some thoughts which might be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- using from dual-fields with overlapping string-values and different numeric values&lt;/P&gt;&lt;P&gt;- extending the field-values to zero white-space characters&lt;/P&gt;&lt;P&gt;- using from &lt;A href="https://community.qlik.com/docs/DOC-7118"&gt;Current Selection Alternatives&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074851#M464860</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-04-07T10:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alter Selection - Customize Search</title>
      <link>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074852#M464861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create another field in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(WeekDay(Date)) + 1 as WeekDayNum;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this for your button selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="120885" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120885_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Script used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET DayNames='M;T;W;T;F;S;S';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD WeekDay(Date) as WeekDay,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Num(WeekDay(Date)) + 1 as WeekDayNum;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(Today() + RecNo() - 1) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 50;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 10:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alter-Selection-Customize-Search/m-p/1074852#M464861</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-07T10:53:17Z</dc:date>
    </item>
  </channel>
</rss>

