<?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 generate dynamic data fields based upon users' selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509480#M190404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use expressions in your front end objects in combination with variables. You can use input boxes to let users change the values of the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;vThreshold1: 2&lt;/P&gt;&lt;P&gt;vThreshold2: 0&lt;/P&gt;&lt;P&gt;vThreshold3: 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;BlnA: =if([a.field1]&amp;gt; $(vThreshold1),1,0)&lt;/P&gt;&lt;P&gt;BlnB: =if([a.field2]&amp;gt; $(vThreshold2),1,0)&lt;/P&gt;&lt;P&gt;BlnC: =if([a.field3]&amp;lt; $(vThreshold3),1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 17:35:49 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-14T17:35:49Z</dc:date>
    <item>
      <title>How to generate dynamic data fields based upon users' selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509479#M190403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used the following query to load data from SQL server into my QV app and would like to make this query dynamic using variables for the number in red and bigger font without reloading the data.&lt;/P&gt;&lt;P&gt;Select ID,&amp;nbsp; a.field1, a.field2, a.field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; case when a.field1 &amp;gt;&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;2&lt;/STRONG&gt; then 1 else 0 end as BlnA&lt;/P&gt;&lt;P&gt;, case when a.field2 &amp;gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;0&lt;/SPAN&gt; then 1 else 0 end as blnB&lt;/P&gt;&lt;P&gt;, case when a.fiedd3 &amp;lt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;5&lt;/SPAN&gt; then 1 else 0 end as blnC&lt;/P&gt;&lt;P&gt;from Table1 a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I want users to make selection in the front end in order for them to explore the possibilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it might be done in LOAD section by creating new dynamic data fields. I have no clue now and really need experts' input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509479#M190403</guid>
      <dc:creator />
      <dc:date>2014-01-14T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate dynamic data fields based upon users' selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509480#M190404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use expressions in your front end objects in combination with variables. You can use input boxes to let users change the values of the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;vThreshold1: 2&lt;/P&gt;&lt;P&gt;vThreshold2: 0&lt;/P&gt;&lt;P&gt;vThreshold3: 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;BlnA: =if([a.field1]&amp;gt; $(vThreshold1),1,0)&lt;/P&gt;&lt;P&gt;BlnB: =if([a.field2]&amp;gt; $(vThreshold2),1,0)&lt;/P&gt;&lt;P&gt;BlnC: =if([a.field3]&amp;lt; $(vThreshold3),1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509480#M190404</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-14T17:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate dynamic data fields based upon users' selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509481#M190405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your solution works just fine. Thanks.&lt;/P&gt;&lt;P&gt;Is there any way I can generate a new field at record level based upon user's input without data reloading. For example, use FOR LOOP in memory. Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 22:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-generate-dynamic-data-fields-based-upon-users-selection/m-p/509481#M190405</guid>
      <dc:creator />
      <dc:date>2014-01-14T22:58:27Z</dc:date>
    </item>
  </channel>
</rss>

