<?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: Straight Table : Calculated Dimension, IF and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726854#M260558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Customer = {'A*'}, Product = {'P2','P3','P4'}&amp;gt;}&lt;/SPAN&gt; to an expression will fix the selections in Customer and Product to the values you specified. If you want to do additional filtering you should use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Customer *= {'A*'}, Product *= {'P2','P3','P4'}&amp;gt;} so that the 'fixed' values (A*, P2, P3, P4) are intersected (that's what the *= does) with the selections you make in the default state. &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;See attached example.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 17:09:33 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-10-29T17:09:33Z</dc:date>
    <item>
      <title>Straight Table : Calculated Dimension, IF and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726853#M260557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have below Sales Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer, Product, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; AAA, P1, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; AAA, P2, 8000&lt;/P&gt;&lt;P&gt;&amp;nbsp; AAA, P3, 9000&lt;/P&gt;&lt;P&gt;&amp;nbsp; AAA, P4, 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, P2, 2000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, P3, 3000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, P4, 4000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACD, P2, 5000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACD, P3, 6000&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACD, P4, 7000&lt;/P&gt;&lt;P&gt;&amp;nbsp; BFG, P1, 150&lt;/P&gt;&lt;P&gt;&amp;nbsp; BFG, P2, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp; BFG, P3, 340&lt;/P&gt;&lt;P&gt;&amp;nbsp; BFG, P4, 310&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need a Straight Table for Sales with below condition&lt;/P&gt;&lt;P&gt;&amp;nbsp; Only For Customer starting with alphabet A and &lt;/P&gt;&lt;P&gt;&amp;nbsp; Only For Prodcut P2, P3 and P4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two different tables using If, Calculated Dimension and Set Analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customer = {'A*'}, Product = {'P2','P3','P4'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is, now I can't filter data by clicking any cell of this straight table... &lt;/P&gt;&lt;P&gt;i.e. if user click on P2, it should filter Straight Table by Product P2 only....&lt;/P&gt;&lt;P&gt;same way if user click/select ABC, Straight Table should show sales of only ABC.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;Calculated Dimension&lt;/P&gt;&lt;P&gt;=IF(Customer like 'A*',Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculated&lt;/P&gt;&lt;P&gt;=IF(Product = 'P2','P2',Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For both Suppress When When is Null Ticked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;=SUM(IF(Product = 'P2' or Product = 'P3' or Product = 'P4', Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here, I can click on any cell and the Straight Table is filtering data accordingly.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can someone briefly explain about this strange behaviour ?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 16:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726853#M260557</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-29T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table : Calculated Dimension, IF and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726854#M260558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Customer = {'A*'}, Product = {'P2','P3','P4'}&amp;gt;}&lt;/SPAN&gt; to an expression will fix the selections in Customer and Product to the values you specified. If you want to do additional filtering you should use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Customer *= {'A*'}, Product *= {'P2','P3','P4'}&amp;gt;} so that the 'fixed' values (A*, P2, P3, P4) are intersected (that's what the *= does) with the selections you make in the default state. &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;See attached example.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 17:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726854#M260558</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-29T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table : Calculated Dimension, IF and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726855#M260559</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;For this scenario set analysis is used to satisfy all two conditions as a mandatory event.&lt;/P&gt;&lt;P&gt;If you hard-code any condition with any field in set analysis, then this does not effect with any selection except hard-coded value.&lt;/P&gt;&lt;P&gt;Where as If condition satisfies the required step only and work for selection accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 17:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculated-Dimension-IF-and-Set-Analysis/m-p/726855#M260559</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-29T17:23:59Z</dc:date>
    </item>
  </channel>
</rss>

