<?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: Total qualifier multiple fields within angle brackets &amp;lt; &amp;gt; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577955#M740489</link>
    <description>&lt;P&gt;Dump the string output of&amp;nbsp;&lt;SPAN&gt;vDenomAppsOffers&amp;nbsp;&lt;/SPAN&gt; into a text box and share please.&lt;/P&gt;&lt;P&gt;I am assuming you used&amp;nbsp;&lt;SPAN&gt;TOTAL &amp;lt;$(vDenomAppsOffers)&amp;gt;&amp;nbsp; &amp;nbsp;(without quotes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i did run a test locally and it worked&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 13:17:58 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-05-08T13:17:58Z</dc:date>
    <item>
      <title>Total qualifier multiple fields within angle brackets &lt; &gt;</title>
      <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1576952#M740486</link>
      <description>&lt;P&gt;Hoping someone can help. I'm working on scripting an expression to calculation proportions within a pivot table. I know you can use the total qualifier as below to provide a sub-total related to a particular field. I also know you can have more than one field within the brackets. What I've done is allow the user to specify the field names and store them within a variable (as the pivot table acts as a custom report tool). This works fine when there are no spaces or special characters within the field names and you can have one or multiple field names. However, when there are spaces or special characters present, it will only accept a single field name with the variable also wrapped in double quotes e.g. "$(vDenomAppsOffers)".&lt;/P&gt;&lt;P&gt;Expression to populate vDenomAppsOffers (counts how many fields have been selected and then adds the chosen field names (which have been stored in the variables vNewFieldx). Where more than two fields are bring displayed in the table, the two right most field names are to be added.:&lt;/P&gt;&lt;P&gt;=if(vFieldCounter&amp;lt;2,'Session',if(vNewField4&amp;lt;&amp;gt;'Click to select a field',"vNewField3"&amp;amp;','&amp;amp;"vNewField4",if(vNewField3&amp;lt;&amp;gt;'Click to select a field',"vNewField2"&amp;amp;','&amp;amp;"vNewField3",if(vNewField2&amp;lt;&amp;gt;'Click to select a field',"vNewField2","vNewField1"))))&lt;/P&gt;&lt;P&gt;Proportion expression (counts all the conditional and unconditional offers and divides them by the total conditional and unconditional offers, subtotalled by the specified fields:&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;[Decision]={'CONDITIONAL OFFER', 'UNCONDITIONAL OFFER'}&amp;gt;} [Applicant ID])/count(TOTAL &amp;lt;"$(vDenomAppsOffers)"&amp;gt;{$&amp;lt;Decision={'CONDITIONAL OFFER', 'UNCONDITIONAL OFFER'}&amp;gt;} Decision)&lt;/P&gt;&lt;P&gt;Does anyone have an idea of what I might be doing wrong here?&lt;/P&gt;&lt;P&gt;Any help would be most appreciated.&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;Mattt&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1576952#M740486</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2024-11-16T20:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total qualifier multiple fields within angle brackets &lt; &gt;</title>
      <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577064#M740487</link>
      <description>what is the output for $(vDenomAppsOffers)?&lt;BR /&gt;i would suggest if you can format it as [Field Name #1],[Field Name #2]&lt;BR /&gt;it should work without the quotes</description>
      <pubDate>Mon, 06 May 2019 16:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577064#M740487</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-06T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Total qualifier multiple fields within angle brackets &lt; &gt;</title>
      <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577858#M740488</link>
      <description>&lt;P&gt;Hi, vDenomAppsOffers is meant to display the field name (or names &amp;lt;field1&amp;gt;,&amp;lt;field2&amp;gt;). When I created a text object and made it equal to =vDenomAppsOffers it does this fine. But like I said, the table doesn't like fields with spaces or special characters. I tried adding the square brackets to the 'Set' button which the user clicks on to add their chosen field to the table (Action &amp;gt; Set Variable &amp;gt; vNewField1 =[$Field]) but that hasn't made any difference unfortunately.&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 10:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577858#M740488</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2019-05-08T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total qualifier multiple fields within angle brackets &lt; &gt;</title>
      <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577955#M740489</link>
      <description>&lt;P&gt;Dump the string output of&amp;nbsp;&lt;SPAN&gt;vDenomAppsOffers&amp;nbsp;&lt;/SPAN&gt; into a text box and share please.&lt;/P&gt;&lt;P&gt;I am assuming you used&amp;nbsp;&lt;SPAN&gt;TOTAL &amp;lt;$(vDenomAppsOffers)&amp;gt;&amp;nbsp; &amp;nbsp;(without quotes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i did run a test locally and it worked&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 13:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1577955#M740489</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-08T13:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total qualifier multiple fields within angle brackets &lt; &gt;</title>
      <link>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1578372#M740490</link>
      <description>&lt;P&gt;I managed to figure it out. Turns out the brackets were in the wrong place. See below for the working code:&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;[Response]={'FIRMLY ACCEPT OFFER'}&amp;gt;} [Applicant ID])/count(TOTAL &amp;lt;$(vDenomAppsOffers)&amp;gt;{$&amp;lt;[Response]={'FIRMLY ACCEPT OFFER'}&amp;gt;} Response)&lt;/P&gt;&lt;P&gt;Thanks for the assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 11:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-qualifier-multiple-fields-within-angle-brackets-lt-gt/m-p/1578372#M740490</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2019-05-09T11:10:36Z</dc:date>
    </item>
  </channel>
</rss>

