<?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: Select the same field value when selected in another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332029#M575785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should not lock your system. What version are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QB22 and el2 are fields in your data model, right? Are they located in the same table as GL_Account_Number_Balance_Sheet3? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that you create a small sample app that you can upload here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: attached is a sample that works at my place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2012 17:17:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-05-31T17:17:48Z</dc:date>
    <item>
      <title>Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332026#M575782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi community, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have two fields in two list boxes.&amp;nbsp; One is a regular field while the other is an expression that yeilds values that are the same as the regular field. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regular List box: &lt;SPAN style="color: #800000; font-size: 12pt;"&gt;GL_Account_Number_Name_Balance_Sheet3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;Expression List box: =&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;QB22&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;el2&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;GL_Account_Number_Name_Balance_Sheet3&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;Is there a way that clicking either one will select the other?&amp;nbsp; Right now a selection in one of the boxes only exlcudes the values that aren't it in the other list box.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 14:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332026#M575782</guid>
      <dc:creator />
      <dc:date>2012-05-31T14:56:25Z</dc:date>
    </item>
    <item>
      <title>Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332027#M575783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this in one of my settings (QV11) using:&lt;/P&gt;&lt;P&gt;=aggr( only({1} if(Value&amp;gt;$(vVal),Product)), Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you might try:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr( only({1} if(match(QB22,el2),GL_Account_Number_Name_Balance_Sheet3)), GL_Account_Number_Name_Balance_Sheet3)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 15:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332027#M575783</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-31T15:29:03Z</dc:date>
    </item>
    <item>
      <title>Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332028#M575784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi swuehl,&amp;nbsp; that might work bu QV desktop locks up when I try it for some reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 16:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332028#M575784</guid>
      <dc:creator />
      <dc:date>2012-05-31T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332029#M575785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should not lock your system. What version are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QB22 and el2 are fields in your data model, right? Are they located in the same table as GL_Account_Number_Balance_Sheet3? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that you create a small sample app that you can upload here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: attached is a sample that works at my place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 17:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332029#M575785</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-31T17:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332030#M575786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a copy of the document&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 18:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332030#M575786</guid>
      <dc:creator />
      <dc:date>2012-05-31T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332031#M575787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is e12? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see it in your expression, but can't see it in your field list or variable list.&lt;/P&gt;&lt;P&gt;If I use a list box with manually entered e12, it says invalid field, if I copy &amp;amp; paste it from your list box expression, it results in some numbers. &lt;/P&gt;&lt;P&gt;I noticed that you read in a similar named fied in your last load but aliased it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming back to your problem, would it be possible that you create a field in your script instead of using that expression? Using fields, there are some methods to copy field values from one list box to another representing another field, but with same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;edit: Some methods are discussed here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/35764"&gt;http://community.qlik.com/thread/35764&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>Thu, 31 May 2012 18:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332031#M575787</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-31T18:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332032#M575788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;el2 not e12, i see that el2 is available as a field when i look at the document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I want the same field minus a bunch of values in the other list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same list box and field in it on different tabs.&amp;nbsp; I want to load only the field values that are selectable on the tab, that is why I have the calculated expression for the one.&amp;nbsp; If there is another or better way, I am open to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 19:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332032#M575788</guid>
      <dc:creator />
      <dc:date>2012-05-31T19:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332033#M575790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; For now I just did an if matching type calculated expression looking at the actual field values and not matching other fields)&amp;nbsp; This works but is a pain in the number of copies and pastes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 20:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332033#M575790</guid>
      <dc:creator />
      <dc:date>2012-05-31T20:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332034#M575792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;me&amp;gt; What is e12?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ah, I was confused by different fonts, quite a stupid mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;you&amp;gt;For now I just did an if matching type calculated expression looking at the actual field values and not matching other fields)&amp;nbsp; This works but is a pain in the number of copies and pastes.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post this line of code? Would like to see your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get my original idea working with your data by joining the QB22 field to the BalanceLinking4 table.&lt;/P&gt;&lt;P&gt;Not sure if this is appropriate for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 11:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332034#M575792</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-01T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select the same field value when selected in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332035#M575793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like I said not pretty, but it works and it really isn't any different in terms of breaking points.&amp;nbsp; If I needed to include another field value to be included in this list box, before I would have had to added it to QB22 in the script.&amp;nbsp; Now I just add it to the match part of the expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GL_Account_Number_Name_Balance_Sheet3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'17010-MATERIALS-WORK IN PROCESS','17020-DIRECT LABOR-WIP','17030-DIRECT LABOR-WIP-LEASED','17250-OVERHEAD-WIP-MACHINE','44010-COMMON STOCK AUTHORIZED','44020-COMMON STOCK UNISSUED','&lt;BR /&gt; 44030-STOCK UNITS','44050-TREASURY STOCK'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GL_Account_Number_Name_Balance_Sheet3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Your joining method works too and I'll make sure to employee that in the future.&amp;nbsp; I don't really come from an SQL background and try to do a lot in the document when there are easier ways.&amp;nbsp; Thanks Swuehl!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 12:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-same-field-value-when-selected-in-another-field/m-p/332035#M575793</guid>
      <dc:creator />
      <dc:date>2012-06-01T12:59:24Z</dc:date>
    </item>
  </channel>
</rss>

