<?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: Set analysis writing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489526#M483071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I getting a result now but it seems that the selection is still applied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created 2 metrics, &lt;/P&gt;&lt;UL&gt;&lt;LI&gt; sum(NB_Xtrem)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum( {&amp;lt;$(=GetCurrentField(UTS))=&amp;gt;} NB_Xtrem)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;And they are giving the same value for a given bubble. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;I would have expected the last one to be the same for all the bubbles of a given value of the X axis (UTS in on the Y axis).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 11:41:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-17T11:41:06Z</dc:date>
    <item>
      <title>Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489524#M483069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am strugling a little bit with a set analysis formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am placing bubble on a chart. The Y axis can be selected using a "cyclic group "&lt;/P&gt;&lt;P&gt;The X axis is based on a static dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the bubble size to correspond to the pourcentage of the record of the columns &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like Sum( X,Y)/Sum (X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a set analysis to calculate the sum X but it's not working &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;UTS = name of the group&lt;/LI&gt;&lt;LI&gt;NB_Xtrem = name of the metrics&lt;/LI&gt;&lt;LI&gt;sum( {&amp;lt;$(=GetSelectedField(UTS))=&amp;nbsp; &amp;gt;} NB_Xtrem);&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;$(=GetSelectedField(UTS))=&amp;nbsp; &amp;gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;}&lt;/SPAN&gt; NB_Xtrem);&lt;/P&gt;&lt;P&gt;the last } in red is underlined in red in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must be stupid but I can't find the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lionel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489524#M483069</guid>
      <dc:creator />
      <dc:date>2013-07-17T09:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489525#M483070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;getcurrentfield&lt;/STRONG&gt;( YourGroup )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;$(=GetCurrentField(UTS))=&amp;gt;} NB_Xtrem)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489525#M483070</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-07-17T09:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489526#M483071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I getting a result now but it seems that the selection is still applied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have created 2 metrics, &lt;/P&gt;&lt;UL&gt;&lt;LI&gt; sum(NB_Xtrem)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;sum( {&amp;lt;$(=GetCurrentField(UTS))=&amp;gt;} NB_Xtrem)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;And they are giving the same value for a given bubble. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;I would have expected the last one to be the same for all the bubbles of a given value of the X axis (UTS in on the Y axis).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489526#M483071</guid>
      <dc:creator />
      <dc:date>2013-07-17T11:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489527#M483072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to "Tres qv" i have made some progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the getCurrentField instruction is working, I can see in a text box that the correct field is listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am still facing an issue, the set analysis doesn't seems to work as I obtain the same value for the 2 metrics (see above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 16:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489527#M483072</guid>
      <dc:creator />
      <dc:date>2013-07-17T16:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489528#M483073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if i have got your point. To have the same value for all X-axis, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(=GetCurrentField(UTS))=&amp;gt;} &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; NB_Xtrem)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489528#M483073</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-07-17T17:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489529#M483074</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;You can try the if statement like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If(GetCurrentField(UTS) ='Dimension1', &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum({&amp;lt;Dimension1=&amp;gt;} &lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; NB_Xtrem),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(GetCurrentField(UTS) ='Dimension2', &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Dimension2&lt;/SPAN&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;TOTAL&lt;/STRONG&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; NB_Xtrem),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489529#M483074</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-07-17T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489530#M483075</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;In Set analysis you can only use field names as a Set Modifier. Here your expression has functions which is not possible. Please Go with &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/jagan" id="jive-2310927461528829723116" style="background-color: #ffffff; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;jagan mohan&lt;/A&gt; suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you cannot use {'1'}={'1'} in set analysis like we are doing in sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489530#M483075</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-17T17:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis writing</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489531#M483076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finaly based on Jagan proposal i have solved the issue with variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the number and value of the X axis are predefined and limited (10) i have created one variable per value of the X axis, each of them dynamcally calculated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can then in the bubble chart use a test to divide the value of each bubble of a given value of the x axis by the&amp;nbsp; cumulated value of all the bubbles for the same value of the x axis (stored in a varible)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 13:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-writing/m-p/489531#M483076</guid>
      <dc:creator />
      <dc:date>2013-07-19T13:06:41Z</dc:date>
    </item>
  </channel>
</rss>

