<?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: How to trigger clear all fields from one table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066340#M356482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I don't seem to think it is possible using Clear Field action as that seems to be taking only one field at a time. Maybe you can use &lt;STRONG&gt;SubField(&lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Table&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;={'Calendar'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Field&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;,'|'), '|', 1)&lt;/STRONG&gt;, &lt;STRONG&gt;SubField(&lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Table&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;={'Calendar'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Field&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;,'|'), '|', 2)&lt;/STRONG&gt; and so on... if you don't want to type each of the field name. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 14:35:20 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-03T14:35:20Z</dc:date>
    <item>
      <title>How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066339#M356481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created some calendar buttons in QlikView for Today, Yesterday, Current Week/Month and Previous Week/Month.&lt;/P&gt;&lt;P&gt;These buttons contain a lot of actions, first I use 'Clear Field' for all calendar fields and after that I use 'Select in Field' actions to set the correct date, day, month, week and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it is possible to use the Clear Field action for all fields in my Calendar table!?&lt;/P&gt;&lt;P&gt;In a textbox I can use &lt;SPAN style="font-size: 8pt;"&gt;='['&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;$Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Calendar'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'],[')&amp;amp;']' &lt;SPAN style="font-size: 10pt;"&gt;to show all fieldsfrom the table. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does anyone have a bright idea? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I cannot use Clear All because I do not want to lose selections on fields other than the calendar.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 13:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066339#M356481</guid>
      <dc:creator>roland74</dc:creator>
      <dc:date>2016-05-03T13:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066340#M356482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I don't seem to think it is possible using Clear Field action as that seems to be taking only one field at a time. Maybe you can use &lt;STRONG&gt;SubField(&lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Table&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;={'Calendar'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Field&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;,'|'), '|', 1)&lt;/STRONG&gt;, &lt;STRONG&gt;SubField(&lt;SPAN style="color: #0000ff;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Table&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;={'Calendar'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;$Field&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;,'|'), '|', 2)&lt;/STRONG&gt; and so on... if you don't want to type each of the field name. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 14:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066340#M356482</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066341#M356483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Sunny said you could apply only one clear (or select) action at one time (unless you would use macros which could run this within a loop). But the question for me is - why do you are not using bookmarks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 14:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066341#M356483</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-03T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066342#M356484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/marcus_sommer"&gt;Marcus&lt;/A&gt;‌ is it possible to just put a bookmark on some fields? If not, the bookmark will take the selections at the time of bookmarking as default and as soon as we apply the bookmark those fields will also change, right? Is there a work around?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066342#M356484</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T15:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066343#M356485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌you could add the bookmark-selections on top of existing selections and the selections within the bookmark could be search-expression like: null() for each of the calendar-fields which would clear them. I have never tried these logic within a bookmark only within actions but I think it's a try worth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066343#M356485</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-03T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066344#M356486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. For me it is good opportunity to learn something new. I will see if I can replicate what you just mentioned &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066344#M356486</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T15:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066345#M356487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gave it a shot, but not sure how it would work. Attaching the sample I worked with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 16:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066345#M356487</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066346#M356488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for the sample-file. You are right it's not so easy then I thought it would be. If you simply applied =null() on a field the selection will be cleared without applying the search-expression as selection and therefore there is nothing what you could add to a bookmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I applied a search-expression like: if(1=1, 1) for the fields (I have done this for Date and Month) and created a bookmark with them. Then I exported the bookmark to the desktop, opened it with a editor, searched for the "if(" and changed it to =null() and saved the file. Aterwards I imported the bookmark - and yep - it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same result should be possible with creating and/or changing a bookmark with the macro API but it will be probably not so understandable like my first approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 13:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066346#M356488</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-04T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066347#M356489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your input!!&lt;/P&gt;&lt;P&gt;I am not really familiair with bookmarks. Is it possible to have a dynamic bookmark to filter yesterday/today, last/current week, last/current month, etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user wants to keep the selections other than fields from the calendar when using the buttons!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 12:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066347#M356489</guid>
      <dc:creator>roland74</dc:creator>
      <dc:date>2016-05-09T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger clear all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066348#M356490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you could have dynamic bookmarks which are using search-expressions. Try for example something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date=today()-1 // in Date-field for yesterday&lt;/P&gt;&lt;P&gt;=month(today()) // in Month-field for current month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 08:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-clear-all-fields-from-one-table/m-p/1066348#M356490</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-10T08:22:45Z</dc:date>
    </item>
  </channel>
</rss>

