<?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 Field with two variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777853#M717420</link>
    <description>&lt;P&gt;if that is the behavior you wanted you can use variable triggers in document settings &amp;gt; triggers&lt;BR /&gt;choose teh variables in input add action SELECT FIELD, enter animalID and in expression:&lt;BR /&gt;='(' &amp;amp; concat({1&amp;lt;&lt;SPAN&gt;Peso&lt;/SPAN&gt;={"&amp;gt;=$(&lt;SPAN&gt;vPesoDesde&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN&gt;vPesoHasta&lt;/SPAN&gt;)"}&amp;gt;}&lt;SPAN&gt;IdAnimal&lt;/SPAN&gt;,'|') &amp;amp; ')'&lt;/P&gt;&lt;P&gt;when you enter a value in teh variables, the action will trigger.&amp;nbsp; to test you want to get the values:&lt;BR /&gt;(0111|0123|0234) which are the animal IDs where weight is between the two variables&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 18:06:19 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-01-27T18:06:19Z</dc:date>
    <item>
      <title>Select Field with two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777375#M717416</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;In my application I set the variables "Weight From" and "Weight To" and I need to select the AnimalIDs that are within that weight range wite a button Action.&amp;nbsp;As seen in the image&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777375#M717416</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2024-11-16T17:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select Field with two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777461#M717417</link>
      <description>&lt;P&gt;if the ask is to add this business logic in your expression, add it in set analysis:&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;WEIGHT={"&amp;gt;=$(vWeightFrom)&amp;lt;=$(vWeightTo)"}&amp;gt;}yourmeasure)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 14:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777461#M717417</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-26T14:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select Field with two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777518#M717418</link>
      <description>&lt;P&gt;Hi Edwin.&lt;/P&gt;&lt;P&gt;Thanks for answering.&lt;/P&gt;&lt;P&gt;I need to select the IdAnimal whose weight is within that range.&lt;/P&gt;&lt;P&gt;I had thought of button action.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 17:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777518#M717418</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2021-01-26T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select Field with two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777560#M717419</link>
      <description>&lt;P&gt;I have achieved it through a button action, with the following macro:&lt;/P&gt;&lt;P&gt;Sub Selection&lt;BR /&gt;&amp;nbsp; &amp;nbsp;vFirst= ActiveDocument.Variables("vPesoDesde").GetContent.String&lt;BR /&gt;&amp;nbsp; &amp;nbsp;vLast= ActiveDocument.Variables("vPesoHasta").GetContent.String&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mySelect= "&amp;gt;=" &amp;amp; vFirst &amp;amp; " &amp;lt;=" &amp;amp; vLast&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ActiveDocument.Fields("Peso").Select mySelect&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ActiveDocument.Fields("IdAnimal").SelectPossible&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ActiveDocument.fields("Peso").Clear&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 22:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777560#M717419</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2021-01-26T22:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select Field with two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777853#M717420</link>
      <description>&lt;P&gt;if that is the behavior you wanted you can use variable triggers in document settings &amp;gt; triggers&lt;BR /&gt;choose teh variables in input add action SELECT FIELD, enter animalID and in expression:&lt;BR /&gt;='(' &amp;amp; concat({1&amp;lt;&lt;SPAN&gt;Peso&lt;/SPAN&gt;={"&amp;gt;=$(&lt;SPAN&gt;vPesoDesde&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN&gt;vPesoHasta&lt;/SPAN&gt;)"}&amp;gt;}&lt;SPAN&gt;IdAnimal&lt;/SPAN&gt;,'|') &amp;amp; ')'&lt;/P&gt;&lt;P&gt;when you enter a value in teh variables, the action will trigger.&amp;nbsp; to test you want to get the values:&lt;BR /&gt;(0111|0123|0234) which are the animal IDs where weight is between the two variables&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 18:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Field-with-two-variables/m-p/1777853#M717420</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-27T18:06:19Z</dc:date>
    </item>
  </channel>
</rss>

