<?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 Dynamic Update of field depending on Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354249#M834418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an inline for all the dimensions used in the dashboard. I'm showing this fields in a dropdown. Can the dropdown change dynamically based on selected dimensions i.e. dropdown should show only dimensions which are currently selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Inline 1&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="112" style="border: 1px solid rgb(0, 0, 0); width: 123px; height: 115px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Inline 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Market&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Brand&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline 2:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="95" style="border: 1px solid rgb(0, 0, 0); width: 118px; height: 95px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Inline 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;State&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need a dynamic field, which will only show the values that are selected in Inline 1 and Inline 2. Is that Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>polisetti</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354249#M834418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an inline for all the dimensions used in the dashboard. I'm showing this fields in a dropdown. Can the dropdown change dynamically based on selected dimensions i.e. dropdown should show only dimensions which are currently selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Inline 1&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="112" style="border: 1px solid rgb(0, 0, 0); width: 123px; height: 115px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Inline 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Market&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Brand&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline 2:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="95" style="border: 1px solid rgb(0, 0, 0); width: 118px; height: 95px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Inline 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;State&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need a dynamic field, which will only show the values that are selected in Inline 1 and Inline 2. Is that Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354249#M834418</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354250#M834419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaswanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like the example below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Naamloos.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165102_Naamloos.png" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 14:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354250#M834419</guid>
      <dc:creator>RonaldDoes</dc:creator>
      <dc:date>2017-05-29T14:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354251#M834420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also resize the inline list box to show hide excess spaces from demo app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 18:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354251#M834420</guid>
      <dc:creator>tajmohamed30</dc:creator>
      <dc:date>2017-05-29T18:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354252#M834421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jaswanth!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're lookin' for result like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dyn_listbox.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165131_dyn_listbox.png" style="font-size: 13.3333px; height: 188px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;So you may be interested with attached file. There is a ListBox which values are combined from two separate list boxes.&lt;/P&gt;&lt;P&gt;Hope this is it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 19:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354252#M834421</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-29T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354253#M834422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the Field$ to populate an expression based on the field selection &lt;/P&gt;&lt;P&gt;find attached &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 19:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354253#M834422</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2017-05-29T19:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354254#M834423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sergey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for an option you shared. However, I noticed that we are unable to select the values in the dynamic list box. I need those values as a selectable value. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 10:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354254#M834423</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2017-05-30T10:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Update of field depending on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354255#M834424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jaswanth!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's true, the instance above just for visual part of report - User can only see which fields are selected, but can't interact with it.&lt;/P&gt;&lt;P&gt;If you want to make some dynamical and interactive field, please, make the followin:&lt;/P&gt;&lt;P&gt;1. Improve your script a little:&lt;/P&gt;&lt;P&gt;dim1:&lt;/P&gt;&lt;P&gt;Load *, dim1 as k Inline //where k is the first part of our static field which will become a dynamic field&lt;/P&gt;&lt;P&gt;[dim1&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Market,&lt;/P&gt;&lt;P&gt;Brand];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;dim2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load *, dim2 as k Inline //the same for the second part&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[dim2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;State,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Country];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;dim_all:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load distinct k&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,round(rand()*30) as x //I've made this phony data just for checking, it can be omitted&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident dim1;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load distinct k&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,round(rand()*30) as x //this too&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident dim2;&lt;/P&gt;&lt;P&gt;//that's it - our combined field is ready, but it's still a static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. After reloading go to the document properties (Ctrl + Alt + D -&amp;gt; General -&amp;gt; Alternate States) and make two alternate states. I named them State A and State B;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dyn_listbox1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165368_dyn_listbox1.png" style="height: 396px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;3. Create two list boxes and make them alternate selectable. (In the ListBox properties on General tab you will be able to choose the State in the top right corner). So for the first ListBox with the field dim1 it will be State A, and for the second ListBox with the field dim2 it will be State B. Now you can select in dim1 and dim2 separately;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dyn_listbox2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165369_dyn_listbox2.png" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;4. And here is the magic! Create another one ListBox and choose the expression in available fields. Make this expression as field:&lt;/P&gt;&lt;P&gt;=if(aggr(sum({[State A] + [State B]}x),k)&amp;gt;0,k) //I used phony generated data "x" for checkin' values which user will see on clicking dim1 or dim2 fields. There can be another verifying;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here we go. The result will be the field which will be containing the values from selections made by dim1 or dim2 fields.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dyn_listbox3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/165370_dyn_listbox3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And another advantage is - the values of "x" will not be affected until you make selection exact in our dynamic field (dim1 and dim2 doesn't make a sense).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dyn_listbox4.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/165371_dyn_listbox4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you like it, because I feel excited about solving this task =P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 06:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Update-of-field-depending-on-Selection/m-p/1354255#M834424</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-31T06:24:34Z</dc:date>
    </item>
  </channel>
</rss>

