<?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: Add set modifiers in dynamic function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431671#M160936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a missing '}' to close the set analysis part:&lt;/P&gt;&lt;P&gt;LET z_bestand_vSet_1 = 'sum({$&amp;lt;$(vSet)$(vSetAttributes)&amp;gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 18:14:27 GMT</pubDate>
    <dc:creator>fosuzuki</dc:creator>
    <dc:date>2013-01-18T18:14:27Z</dc:date>
    <item>
      <title>Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431666#M160931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have a variable that depends on number of tables of the data model and number of fields per every table. The variable was generated in the script and has this form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/EM&gt; = &lt;STRONG style="color: #0000ff;"&gt;count&lt;/STRONG&gt;({$&amp;lt;f11=, f12=, f13=,....,f1(n-1)=, f1n=&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;f21, f22, f23, ...., f2(m-1), f2m&amp;gt; &lt;STRONG style="color: #808080;"&gt;FIELD_CUSTOMER&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i include&amp;nbsp; new tables and fields the variable grows dinamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set restrictions to &lt;EM&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/EM&gt;, like &amp;lt;age_id= {12},region_id={1}, .... etc&amp;gt;, that is the total number of customers found. I wanted to break down the variable &lt;EM&gt;&lt;STRONG&gt;Z &lt;/STRONG&gt;&lt;/EM&gt;in different components or variables, so that I can add the set modifiers as I want&amp;nbsp; and in an undetermined number, but o not know where. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I break down the &lt;EM&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/EM&gt; variable, taking into account that the expressions in the variable is dynamic, since the length of the variable grows when including new tables. &lt;/P&gt;&lt;P&gt;Would it be possible to create a dynamic variable which is a function of a kind of get field function, so that i can include all set modifiers i want , like "&amp;lt;age_id ={12}, region_id = {1}&amp;gt;", in front of the "f11" list field? like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define variable V = V(getfields())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and include it in&lt;EM&gt;&lt;STRONG&gt; Z&lt;/STRONG&gt;&lt;/EM&gt; as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/EM&gt; = &lt;STRONG style="color: #0000ff;"&gt;count&lt;/STRONG&gt;({$&amp;lt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;$(V),&lt;/STRONG&gt;&lt;/SPAN&gt; f11=, f12=, f13=,....,f1(n-1)=, f1n=&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;f21, f22, f23, ...., f2(m-1), f2m&amp;gt; &lt;STRONG style="color: #808080;"&gt;FIELD_CUSTOMER&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i copy and paste the variable and set the restrictions as an static formula, it will not work if i add new tables.&lt;/P&gt;&lt;P&gt;any suggestion would be very welcome&lt;/P&gt;&lt;P&gt;felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431666#M160931</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2013-01-17T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431667#M160932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're almost there. My suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script, you could create two variables: vSetFields and vTotalFields. Make the script set the values like:&lt;/P&gt;&lt;P&gt;let vSetFields = '&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;f11=, f12=, f13=,....,f1(n-1)=, f1n=';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vTotalFields = '&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;f21, f22, f23, ...., f2(m-1), f2m&lt;/SPAN&gt;';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And then, in the layout, create another variable with your other set modifiers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;vOtherSetFields = ', &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;age_id ={12}, region_id = {1}&lt;/SPAN&gt;' (note the comma at the beginning...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And your final variable can be like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;V = count({$&amp;lt;$(vSetFields) $(vOtherSetFields)&amp;gt;} TOTAL &amp;lt;$(vTotalFields)&amp;gt; FIELD_CUSTOMER)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fernando&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 17:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431667#M160932</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-17T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431668#M160933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Fernando&lt;/P&gt;&lt;P&gt;with let did not work, but with set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vSet&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'transaction_FashionGrade=, transaction_Markdowns_EUR=, transaction_NetSalesinclVAT_EUR=, transaction_Origin=, transaction_Rebates_EUR=, transaction_SalePrice_EUR=, transaction_SalesOrderDetailID=, transaction_SalesOrderID=, transaction_Season=, transaction_SENCode=, transaction_MSNCode=, transaction_TotalPriceReductions_EUR=, transaction_Type=, transaction_type=, transaction_Counter=, transaction_date_yearweek=';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vTotal&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'contact_ActivityEcom, contact_ActivityMultichannel, contact_ActivityRetail, contact_AdvertisingChannel, contact_Age, contact_CommunicationEmail_possible, contact_CommunicationLanguage, contact_CommunicationWhitemail_possible, contact_CustomerExperience, contact_AdvertisingRegistrationStoreName, contact_AdvertisingRegistrationStoreCommunicationName, contact_AdvertisingRegistrationStoreSalesChannel, contact_AdvertisingRegistrationStoreCountry';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vSetAttributes&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '%gender__contact__ID ={'1'}, ';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;z_bestand_vSet&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} total &amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTotal)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; %x_counter_membercontact_ID);&amp;nbsp; // this worked&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;z_bestand_vSet_1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetAttributes)$(vSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; total &amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTotal)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; %x_counter_membercontact_ID); // this did not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;you proposed to use let, but it did not work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;do you know what may be wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;felipe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 12:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431668#M160933</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2013-01-18T12:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431669#M160934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a difference when using SET and LET. The &lt;SPAN class="Bold"&gt;LET&lt;/SPAN&gt; statement, in opposition to the &lt;SPAN class="Bold"&gt;SET&lt;/SPAN&gt; statement, evaluates the expression on the right side of the '=' before it is assigned to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in order to use LETs, it should look like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13585136410233693" jivemacro_uid="_13585136410233693"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;let vSet = 'transaction_FashionGrade=, transaction_Markdowns_EUR=, transaction_NetSalesinclVAT_EUR=, transaction_Origin=, transaction_Rebates_EUR=, transaction_SalePrice_EUR=, transaction_SalesOrderDetailID=, transaction_SalesOrderID=, transaction_Season=, transaction_SENCode=, transaction_MSNCode=, transaction_TotalPriceReductions_EUR=, transaction_Type=, transaction_type=, transaction_Counter=, transaction_date_yearweek=';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vTotal = 'contact_ActivityEcom, contact_ActivityMultichannel, contact_ActivityRetail, contact_AdvertisingChannel, contact_Age, contact_CommunicationEmail_possible, contact_CommunicationLanguage, contact_CommunicationWhitemail_possible, contact_CustomerExperience, contact_AdvertisingRegistrationStoreName, contact_AdvertisingRegistrationStoreCommunicationName, contact_AdvertisingRegistrationStoreSalesChannel, contact_AdvertisingRegistrationStoreCountry';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vSetAttributes = '%gender__contact__ID ={"1"},';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let z_bestand_vSet = 'sum({$&amp;lt;$(vSet)&amp;gt;} total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let z_bestand_vSet_1 = 'sum({$&amp;lt;$(vSetAttributes) $(vSet)&amp;gt; total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can also work with SETs. In this case, modify this line:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13585137020299641" jivemacro_uid="_13585137020299641"&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;EM style="font-size: 8pt; color: #808080;"&gt;vSetAttributes&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; = '%gender__contact__ID ={'1'}, ';&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13585137102203941" jivemacro_uid="_13585137102203941"&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;SET&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;EM style="font-size: 8pt; color: #808080;"&gt;vSetAttributes&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; = %gender__contact__ID ={'1'},;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 12:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431669#M160934</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-18T12:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431670#M160935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i did with let and worked well for the formula summary (z_bestand_vSet), but again not when i include the &lt;/P&gt;&lt;P&gt;vSetAttributes, which include my extra set fields. i change the position of the new defined variables, and changed the comma.&lt;/P&gt;&lt;P&gt;do you see something rare in the formula? i have tried different options, but i do not get a result for the formula, though it runs&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;felipe&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vSet&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'transaction_FashionGrade=, transaction_ProductGenericArticle=, transaction_ProductFormKey=, transaction_ProductForm=, transaction_date=, transaction_date_week=, transaction_date_year=, transaction_date_month=, transaction_date_weekday=, transaction_date_monthyear=, transaction_date_yearweek=';&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vTotal&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'contact_ActivityEcom, contact_ActivityMultichannel, contact_ActivityRetail, contact_AdvertisingChannel, contact_Age, contact_CommunicationEmail_possible, contact_AdvertisingRegistrationStoreSalesChannel, contact_AdvertisingRegistrationStoreCountry';&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vSetAttributes&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = ', %activity__ID ={1}';&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;z_bestand_vSet&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'sum({$&amp;lt;$(vSet)&amp;gt;} total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;z_bestand_vSet_1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'sum({$&amp;lt;$(vSet)$(vSetAttributes)&amp;gt; total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 17:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431670#M160935</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2013-01-18T17:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431671#M160936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a missing '}' to close the set analysis part:&lt;/P&gt;&lt;P&gt;LET z_bestand_vSet_1 = 'sum({$&amp;lt;$(vSet)$(vSetAttributes)&amp;gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; total &amp;lt;$(vTotal)&amp;gt; %x_counter_membercontact_ID)';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 18:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431671#M160936</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-18T18:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431672#M160937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 18:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431672#M160937</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2013-01-18T18:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add set modifiers in dynamic function</title>
      <link>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431673#M160938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;when i use for the same situation, instead of $(vSetAttributes), a concrete field, like %gender__contact__ID, i realized, the system does not recognize the "TOTAL" qualifier.&lt;/P&gt;&lt;P&gt;I cannot discover what is wrong with the formula below (i also changed the position of the comma). QV reads my set variable, but not the total ones, so that when i breakdown the year 2009 (see picture), the number of members works well, but not the male members. The 28.635 shall be broken down into numbers lower than the number of members column. This is, for 5101, it should be less than 585 and so on, and the total shall be 28.635. any idea, would be very helpful&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%gender__contact__ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} Total&amp;nbsp; &amp;lt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTotal)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; %x_counter_membercontact_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="line-height: 115%; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA; mso-no-proof: yes;"&gt;&lt;IMG __jive_id="31620" class="jive-image-thumbnail jive-image" onclick="" alt="tr.png" src="https://community.qlik.com/legacyfs/online/31620_tr.png" width="450" /&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 16:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-set-modifiers-in-dynamic-function/m-p/431673#M160938</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2013-01-23T16:18:20Z</dc:date>
    </item>
  </channel>
</rss>

