<?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: Complementary Product Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923111#M319669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is the best data model, but it should work using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum([Sheet1-1.MTD])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( TOTAL&amp;lt;[Sheet1-1.Division_Grp]&amp;gt; if([Sheet1-1.Division]= [Sheet1-1.Division_Grp], [Sheet1-1.MTD]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 16:46:11 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-08-05T16:46:11Z</dc:date>
    <item>
      <title>Complementary Product Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923108#M319666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I am facing a problem.&lt;/P&gt;&lt;P&gt;I have a Dimension="&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SECTION&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;another dimension="&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SECTION_Comp"&lt;/SPAN&gt;(Which is created as the renaming of that dimension &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SECTION&lt;/SPAN&gt;" &lt;/SPAN&gt;the resident from the same table where Section is......&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I wanted to dispaly the absolute value of the billcount of the "&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SECTION" where the customer buys other than that section product in a pivot table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i-e-If a section is "Boys" I wanted to display the billcount in which bills other than &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"Boys" means "Girls","Mens" and other divisions occur.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now I have created an expression=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(SECTION=SECTION_Comp,0,count({&amp;lt;SECTION=p(SECTION_Comp), [BILLNO]=p([BILLNO])&amp;gt;}{&amp;lt;@_Date={"&amp;gt;=$(vMonthStartCY)&amp;lt;=$(vMonthEndCY)"},@_Month=,@_FinQuarter=,@_FinFullYear=&amp;gt;}DISTINCT [BILLNO]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the additional requirement is that I want to display the percentage of the two &lt;/P&gt;&lt;P&gt;=(billcount of the sections where other than "Boys" section occurs&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;billcount of the sections where only "Boys" section occurs)*100%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks in advance....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 05:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923108#M319666</guid>
      <dc:creator />
      <dc:date>2015-07-31T05:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complementary Product Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923109#M319667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's unclear in which context you are evaluating these expressions. Since set analysis is evaluated once per chart, not per dimension line, I assume you are using this expression in a text box (or in a chart, but with dimensions SECTION and SECTION_Comp limited to single possible values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small sample application together with the expected result might help us to understand what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just guessing around, maybe something like this could work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= ( &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(SECTION=SECTION_Comp,0,count({&amp;lt;SECTION=p(SECTION_Comp), [BILLNO]=p([BILLNO])&amp;gt;}{&amp;lt;@_Date=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;{"&amp;gt;=$(vMonthStartCY)&amp;lt;=$(vMonthEndCY)"},@_Month=,@_FinQuarter=,@_FinFullYear=&amp;gt;}DISTINCT [BILLNO]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({&amp;lt;@_Date=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"&amp;gt;=$(vMonthStartCY)&amp;lt;=$(vMonthEndCY)"},@_Month=,@_FinQuarter=,@_FinFullYear=&amp;gt;}DISTINCT [BILLNO])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= (&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(SECTION=SECTION_Comp,0,count({&amp;lt;SECTION=p(SECTION_Comp), [BILLNO]=p([BILLNO])&amp;gt;}{&amp;lt;@_Date=&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"&amp;gt;=$(vMonthStartCY)&amp;lt;=$(vMonthEndCY)"},@_Month=,@_FinQuarter=,@_FinFullYear=&amp;gt;}DISTINCT [BILLNO]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count( TOTAL&amp;lt;SECTION&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;@_Date=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"&amp;gt;=$(vMonthStartCY)&amp;lt;=$(vMonthEndCY)"},@_Month=,@_FinQuarter=,@_FinFullYear=&amp;gt;}DISTINCT [BILLNO])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But too much guessing...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 10:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923109#M319667</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-01T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Complementary Product Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923110#M319668</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;I am sending you demo qlikview app with excel data .&lt;/P&gt;&lt;P&gt;Please check the QV App,data and give me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing to write the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sukamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 05:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923110#M319668</guid>
      <dc:creator />
      <dc:date>2015-08-05T05:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Complementary Product Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923111#M319669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is the best data model, but it should work using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum([Sheet1-1.MTD])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( TOTAL&amp;lt;[Sheet1-1.Division_Grp]&amp;gt; if([Sheet1-1.Division]= [Sheet1-1.Division_Grp], [Sheet1-1.MTD]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 16:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complementary-Product-Analysis/m-p/923111#M319669</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-05T16:46:11Z</dc:date>
    </item>
  </channel>
</rss>

