<?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: Possible to change field - formula with button click in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321962#M118611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my offer,pls to see image adjust&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Sep 2011 18:11:54 GMT</pubDate>
    <dc:creator>llauses243</dc:creator>
    <dc:date>2011-09-04T18:11:54Z</dc:date>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321955#M118604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm working with QlikView 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it's possible to change the field-formula of a listbox in a macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initial field-formula is =if(aggr(sum(BETRAG_VP) &amp;lt;&amp;gt; 0 , [KONTO_LANG]),[KONTO_LANG])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after button click, the formula should be =if(aggr(sum(BETRAG_LP) &amp;lt;&amp;gt; 0 , [KONTO_LANG]),[KONTO_LANG]) (difference is: BETRAG_VP &amp;lt;&amp;gt; BETRAG_LP).&lt;/P&gt;&lt;P&gt;Unfortunately, i don't know, how to do this. Can anybody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 18:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321955#M118604</guid>
      <dc:creator />
      <dc:date>2011-09-03T18:48:00Z</dc:date>
    </item>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321956#M118605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you need a macro here.&amp;nbsp; Put your formula in a variable e.g. vExpression and use the External &amp;gt; Set Variable action within a standard button to change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 22:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321956#M118605</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-03T22:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321957#M118606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my offer,pls to see image adjust&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="trigger flip flag w variable.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6995_trigger+flip+flag+w+variable.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 01:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321957#M118606</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2011-09-04T01:28:56Z</dc:date>
    </item>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321958#M118607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remember that in v10 actions are multi-threaded whereas macros use only a single CPU core. Always best to avoid macros if there's a simple alternative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 06:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321958#M118607</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-04T06:42:29Z</dc:date>
    </item>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321959#M118608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i combined you two solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is: =if(aggr(sum($(vFieldCost)) &amp;lt;&amp;gt; 0 , [KONTO_LANG]),[KONTO_LANG]) &lt;/P&gt;&lt;P&gt;with button click i change the value of vFieldCost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, one question: is it possible to use a condition expression for the value attribute under "External &amp;gt; Set Variable action"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like: =if($(vFieldCost) = 'BETRAG_VP', 'BETRAG_LP', 'BETRAG_VP')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i used the named condition, qlikview set the variable to "-".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 17:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321959#M118608</guid>
      <dc:creator />
      <dc:date>2011-09-04T17:21:51Z</dc:date>
    </item>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321960#M118609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be fine to do that.&amp;nbsp; Can you post your qvw and I'll take a look?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 17:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321960#M118609</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-04T17:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321961#M118610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jo, i created a demo project with the same behavior&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 17:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321961#M118610</guid>
      <dc:creator />
      <dc:date>2011-09-04T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321962#M118611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my offer,pls to see image adjust&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 18:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321962#M118611</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2011-09-04T18:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321963#M118612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's working very fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 18:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321963#M118612</guid>
      <dc:creator />
      <dc:date>2011-09-04T18:29:10Z</dc:date>
    </item>
    <item>
      <title>Possible to change field - formula with button click</title>
      <link>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321964#M118613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep - Luis's solution is what I would also advise. Always try to use the native functionality if possible!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 21:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Possible-to-change-field-formula-with-button-click/m-p/321964#M118613</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-09-04T21:45:57Z</dc:date>
    </item>
  </channel>
</rss>

