<?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 Trigger automatic selection identical to possible values in another field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241679#M92072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed.&lt;/P&gt;&lt;P&gt;I can get it to work with a OnSelect-Trigger on the YearWeek1 field - but only when only one value is selected in YearWeek1, and it's the same problem with the GetFieldSelections(YearWeek1) solution.&lt;/P&gt;&lt;P&gt;But the OnChange-trigger won't do the job.&lt;/P&gt;&lt;P&gt;From the QV-manual:&lt;/P&gt;&lt;P&gt;"OnChange&lt;BR /&gt;The action will be executed each time a selection has been&lt;BR /&gt;made in any field which is logically associated with the&lt;BR /&gt;specified field."&lt;/P&gt;&lt;P&gt;I guess the problem has to do with the output-format of the searchstring?&lt;/P&gt;&lt;P&gt;And to make it even worse - the solution should make a selection in YearWeek2 'mirroring' the possible (not selected) values of YearWeek1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Oct 2010 11:11:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-20T11:11:41Z</dc:date>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241674#M92067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have 2 fields: YearWeek1 and YearWeek2.&lt;/P&gt;&lt;P&gt;And now I would like an working function/trigger - (the best would bee a trigger 'OnAnyChange') -, that automaticly makes a selection in YearWeek2 identical to the possible values in YearWeek1 - that is: the selection in YearWeek2 should always 'mirror' the possible values in YearWeek1.&lt;/P&gt;&lt;P&gt;I guess, it's easy, but I just can't get it to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 08:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241674#M92067</guid>
      <dc:creator />
      <dc:date>2010-10-20T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241675#M92068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;Add a field event trigger on YearWeek1. Add "Select In Field" Action. On field textbox put YearWeek2 and on the search string put =YearWeek1&lt;/P&gt;&lt;P&gt;This will mirror any selection from YearWeek1&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 09:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241675#M92068</guid>
      <dc:creator />
      <dc:date>2010-10-20T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241676#M92069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronald C.&lt;/P&gt;&lt;P&gt;I've tried that (in QV 9.0 SR1 and SR6), and it doesn't work - unfortunately.&lt;/P&gt;&lt;P&gt;(I didn't mention before, that the 2 fields aren't associated in the data model - because I guess that it makes no difference, as long as the selection in YearWeek1 doesn't conflict with the selection in YearWeek2 in a associated data model).&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;P&gt;I've tried to get a Set Analysis in the SearchString to work, but without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 10:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241676#M92069</guid>
      <dc:creator />
      <dc:date>2010-10-20T10:32:02Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241677#M92070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ronalds solution shud work. Try =GetFieldSelection(YearWeek1) instead of just =YearWeek1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 10:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241677#M92070</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-20T10:45:56Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241678#M92071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shed!&lt;/P&gt;&lt;P&gt;Hmmm I'm using V9 SR2. our solution should work. I attached my test qvw here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 10:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241678#M92071</guid>
      <dc:creator />
      <dc:date>2010-10-20T10:54:06Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241679#M92072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed.&lt;/P&gt;&lt;P&gt;I can get it to work with a OnSelect-Trigger on the YearWeek1 field - but only when only one value is selected in YearWeek1, and it's the same problem with the GetFieldSelections(YearWeek1) solution.&lt;/P&gt;&lt;P&gt;But the OnChange-trigger won't do the job.&lt;/P&gt;&lt;P&gt;From the QV-manual:&lt;/P&gt;&lt;P&gt;"OnChange&lt;BR /&gt;The action will be executed each time a selection has been&lt;BR /&gt;made in any field which is logically associated with the&lt;BR /&gt;specified field."&lt;/P&gt;&lt;P&gt;I guess the problem has to do with the output-format of the searchstring?&lt;/P&gt;&lt;P&gt;And to make it even worse - the solution should make a selection in YearWeek2 'mirroring' the possible (not selected) values of YearWeek1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 11:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241679#M92072</guid>
      <dc:creator />
      <dc:date>2010-10-20T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241680#M92073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronald.&lt;/P&gt;&lt;P&gt;I've just had a look at your qvw - and it looks to mee as if it only works with one-value-selections, isn't that true?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 11:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241680#M92073</guid>
      <dc:creator />
      <dc:date>2010-10-20T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241681#M92074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It wud be helpful if you attach an example.&lt;/P&gt;&lt;P&gt;Instead of mirroring the values of YearWeek1 in YearWeek2 you can use indirect set analysis in your expression where you want the YearWeek2.&lt;/P&gt;&lt;P&gt;Eg: Sum({1&amp;lt;YearWeek2=P(YearWeek1)&amp;gt;} Sales2).&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;if both are not associated try a Date Island in which you will have both YearWeek1 and YearWeek2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 11:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241681#M92074</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-20T11:25:48Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241682#M92075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cap,&lt;/P&gt;&lt;P&gt;Do you really need the solution in OnChange Trigger?&lt;/P&gt;&lt;P&gt;And for the mirroring issue you can use this code to display "mirrored" values (but not selecting)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=if(match(YearWeek2,YearWeek1),YearWeek2)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 11:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241682#M92075</guid>
      <dc:creator />
      <dc:date>2010-10-20T11:26:53Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241683#M92076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed and Ronald.&lt;/P&gt;&lt;P&gt;Thanks for the effort.&lt;/P&gt;&lt;P&gt;The different suggestions didn't realy solve the problem, but someone mentioned this thread, that might do the trick - haven't tested it yet:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/media/p/72390.aspx"&gt;http://community.qlik.com/media/p/72390.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 13:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241683#M92076</guid>
      <dc:creator />
      <dc:date>2010-10-20T13:50:08Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241684#M92077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me:&lt;/P&gt;&lt;P&gt;sub FieldToField&lt;BR /&gt; set src=ActiveDocument.Fields("F1")&lt;BR /&gt; set dst=ActiveDocument.Fields("F2")&lt;BR /&gt; set F1Selections=src.GetPossibleValues&lt;BR /&gt; dst.SelectValues F1Selections&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 14:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241684#M92077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-20T14:26:14Z</dc:date>
    </item>
    <item>
      <title>Trigger automatic selection identical to possible values in another field.</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241685#M92078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael S.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I got it to work with a Set Analysis and the concat-function as discribed in the thread:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/media/p/72390.aspx"&gt;http://community.qlik.com/media/p/72390.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 23:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-automatic-selection-identical-to-possible-values-in/m-p/241685#M92078</guid>
      <dc:creator />
      <dc:date>2010-10-20T23:40:55Z</dc:date>
    </item>
  </channel>
</rss>

