<?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 different condition values in each row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787435#M278505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by creating a different expression for each value. See attached example in my previous post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 08:57:52 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2015-02-12T08:57:52Z</dc:date>
    <item>
      <title>Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787430#M278500</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 have two tables, Fact and Forecast. For each Forecast Date Time in table Forecast there are more Flow Date Time in Fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have to calculate in Pivot Table a value for each single row where for each row I get the correct ForecastIDx in Fact table for ForecastID in Forecast table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Maybe this screenshot can explain more of my problem, I want to obtain the value of column J and to have that I try to create an expression that generate for each row a expression as in column I.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="77653" alt="result.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77653_result.png" style="height: 335px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Luca Jonathan Panetta&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787430#M278500</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2015-02-11T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787431#M278501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luca, set analysis is calculated for the whole table, not row by row, maybe you can use:&lt;/P&gt;&lt;P&gt;sum(If(ForecastIDx=ForecastID, Valore))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787431#M278501</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-02-11T16:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787432#M278502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;valuelist and pick &amp;amp; match is also a good solution in these cases&lt;/P&gt;&lt;P&gt;see attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787432#M278502</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-02-11T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787433#M278503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;thank a lot, this expression solves my problem but I fear that slow down too much because my table could have between 20.000 and 50.000 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you a similar solution more fast?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks a lot.&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787433#M278503</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2015-02-11T16:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787434#M278504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioannis,&lt;/P&gt;&lt;P&gt;how can I use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;valuelist or pick &amp;amp; match in this case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you answer.&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787434#M278504</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2015-02-11T16:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787435#M278505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by creating a different expression for each value. See attached example in my previous post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787435#M278505</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-02-12T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787436#M278506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luca, If it helps, I usually set forecast, budget and real data concatenated in the same table, if you find a way that selections works as expected it solves many issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Ioannis saids, pick is an option, it can be something like:&lt;/P&gt;&lt;P&gt;Pick(ForecastID, &lt;/P&gt;&lt;P&gt; sum({&amp;lt;ForecastIDx={'1'}&amp;gt;} Valore),&lt;/P&gt;&lt;P&gt; sum({&amp;lt;ForecastIDx={'2'}&amp;gt;} Valore),&lt;/P&gt;&lt;P&gt; sum({&amp;lt;ForecastIDx={'3'}&amp;gt;} Valore),&lt;/P&gt;&lt;P&gt; sum({&amp;lt;ForecastIDx={'4'}&amp;gt;} Valore),&lt;/P&gt;&lt;P&gt; sum({&amp;lt;ForecastIDx={'5'}&amp;gt;} Valore)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 09:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787436#M278506</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-02-12T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis different condition values in each row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787437#M278507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;thanks, but I think is impossible for me use Pick in this case becasuse my ForecastIDx and ForecasID are the autonumer's results and the first Pick parameter have to be the position of the expression. So I can't put the number 42578 eg Pick(42578, 'sum(....)', ...., sum(...)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks too Ioannis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 11:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-different-condition-values-in-each-row/m-p/787437#M278507</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2015-02-12T11:53:59Z</dc:date>
    </item>
  </channel>
</rss>

