<?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: Always 1 selected and Search in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639857#M542934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, that seemed to work, but then I encountered a problem. (in real tool)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed the "Always Select One" checkbox and added the trigger function.&lt;/P&gt;&lt;P&gt;I attempted to "clear all" and it worked and went to my default selected account.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I then searched for a new account, it froze up the entire tool. &lt;/P&gt;&lt;P&gt;It behaved the way it would, if no account was selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "Always Select One" box checked, it does not ever "freeze up".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 20:10:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-04T20:10:18Z</dc:date>
    <item>
      <title>Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639840#M542917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a qlikview tool that allows the user to search by either "Account Name" or "Account ID".&lt;/P&gt;&lt;P&gt;The amount of data has gotten to the point, that I want to make sure that always 1 is selected (either or/ or both).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I make "Account Name" always 1 selected.&amp;nbsp; Then you can no longer search on Account ID, any value that comes up is greyed out, and when selected, it doesn't overwrite current value.&amp;nbsp; And vice versa with "Account ID"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance (see attached example)&lt;/P&gt;&lt;P&gt;Account Name = Beth is selected, which corresponds with account ID = 2.&lt;/P&gt;&lt;P&gt;Account Name is a "always one value selected field"&lt;/P&gt;&lt;P&gt;If someone searches for account ID = 6 (which is frank) I want them to be able to select it, and have it choose frank automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 16:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639840#M542917</guid>
      <dc:creator />
      <dc:date>2014-06-04T16:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639841#M542918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there might be different ways .... below is one way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load AccountName,AccountID,dual(AccountName,AccountID) as Account;&lt;/P&gt;&lt;P&gt;load AccountName,AccountID from .... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the app:&lt;/P&gt;&lt;P&gt;use the Account field for both text boxes one with text refresentation for account name another with expression num(Account) for accountid &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 16:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639841#M542918</guid>
      <dc:creator />
      <dc:date>2014-06-04T16:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639842#M542919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 16:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639842#M542919</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-06-04T16:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639843#M542920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhasps with some trigger on the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639843#M542920</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-04T17:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639844#M542921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the trigger on - Account Name "on select". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639844#M542921</guid>
      <dc:creator />
      <dc:date>2014-06-04T17:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639845#M542922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to clear all filters, which is the issue. &lt;/P&gt;&lt;P&gt;The real document I'm working with has too much data to allow all values to be cleared.&lt;/P&gt;&lt;P&gt;I need to have the always one selected checkbox clicked for Account Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639845#M542922</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639846#M542923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to clear all filters, which is an issue.&amp;nbsp; The document I'm working with is too large for every account to be available, so I need to have the Always Select One checkbox active on Account Name.&amp;nbsp; When I turn that functionality on, the trigger stops working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639846#M542923</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639847#M542924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to have the Always select one checkbox active on Account Name, as there is too much data in my real tool, if they decide to clear all.&amp;nbsp; Once I add the functionality of always select one, then the trigger stops working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639847#M542924</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639848#M542925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You dont have to make it "always one selected value", you can make that happen by using a trigger "on select" of account name, so even if u try to clear account name there will be only one selected value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639848#M542925</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639849#M542926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, sorry, I'm new to triggers.&amp;nbsp; In your example, I am able to "clear all".&amp;nbsp; Can you help me fix your example, so the functionality works, and they cannot clear all the filters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, open up your document, and then search for account 6.&amp;nbsp; After selecting it, hit clear all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639849#M542926</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639850#M542927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how did you clear all filters?&lt;/P&gt;&lt;P&gt;the triggers replace the "always one....."&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"always one....": I suppose you can't have account id and name both with "always one...." checked &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;my 2 ideas were &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- trigger &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- replacing the 2 fields with a &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AccountID &amp;amp; '-' &amp;amp; AccountName&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639850#M542927</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-06-04T18:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639851#M542928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not discouraging but triggers would be last thing i will choose to fix any issue, because it causes unnecessary issues. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639851#M542928</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639852#M542929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now pls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639852#M542929</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639853#M542930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But sometimes you have to rely on triggers to fix issues. I think it depends on the complexity of the issue and whether you have any other option available. In our company we are working on complex disjoint datasets which we have to link together and the only option we have is to send triggers back and forth and we do use some very complicated triggers .They work well. In my opinion as long you understand the triggers well, it should work as it is supposed to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 18:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639853#M542930</guid>
      <dc:creator />
      <dc:date>2014-06-04T18:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639854#M542931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agreed, just saying if there is other solution available why triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that trigger solution might cause issue when you have other field (accountAddress) in the same account table and do select / unselect accountAddress will clear account name. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 19:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639854#M542931</guid>
      <dc:creator />
      <dc:date>2014-06-04T19:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639855#M542932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In thecondition you have given above, the below attachment should work. There is only one trigger her "On any select" and it always goes back to Account Name no matter what you selected and cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is if there is nothing selected at all then it defaults to accountname. Even if u have another field eg:accountaddress and you do a select on that and then you unselect it, it goes back to the accountname.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 19:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639855#M542932</guid>
      <dc:creator />
      <dc:date>2014-06-04T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639856#M542933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one is better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 19:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639856#M542933</guid>
      <dc:creator />
      <dc:date>2014-06-04T19:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639857#M542934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, that seemed to work, but then I encountered a problem. (in real tool)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed the "Always Select One" checkbox and added the trigger function.&lt;/P&gt;&lt;P&gt;I attempted to "clear all" and it worked and went to my default selected account.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I then searched for a new account, it froze up the entire tool. &lt;/P&gt;&lt;P&gt;It behaved the way it would, if no account was selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "Always Select One" box checked, it does not ever "freeze up".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 20:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639857#M542934</guid>
      <dc:creator />
      <dc:date>2014-06-04T20:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639858#M542935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is wierd. I have used more complex trigger with a big dataset and it never happened. How big is your file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a more simple way to do the same thing, but not sure if u r looking for more functionality with it. Select a default accountname and then on the clear button make it "Set clear state". No matter what u choose when u clear it , it always sets it back to that default accountname. Let me know if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 20:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639858#M542935</guid>
      <dc:creator />
      <dc:date>2014-06-04T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Always 1 selected and Search</title>
      <link>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639859#M542936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again, and thank you for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the latest solution with a "set clear state" might be the simplest and therefore most elegant solution.&amp;nbsp; They still can accidentally remove the filter (by using eraser on account name, or clicking the highlighted account name), which will cause the tool to freeze, but I will reinforce in training that they should not... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also allow them to select multiple Accounts at once, which is something they were hoping to be able to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 20:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-1-selected-and-Search/m-p/639859#M542936</guid>
      <dc:creator />
      <dc:date>2014-06-04T20:49:00Z</dc:date>
    </item>
  </channel>
</rss>

