<?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: Expression conditioned by 2 dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482678#M1141343</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(&amp;nbsp; {$&amp;lt;[Sales Vendor]={B}, Products={Apple}&amp;gt;}&amp;nbsp; Volume) / Sum ({$&amp;lt;Products={Apple}&amp;gt;} Volume)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 15:54:08 GMT</pubDate>
    <dc:creator>DavidFoster1</dc:creator>
    <dc:date>2013-09-04T15:54:08Z</dc:date>
    <item>
      <title>Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482677#M1141342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created this chart to view the share of a given dimension (Sales Vendor) that works well :&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;[Sales Vendor]={B}&amp;gt;}Volume)/Sum (Volume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am trying to to view the share of (Sales Vendor) conditioned by another dimension (Products). I am trying the following expression but it does not display the correct %:&lt;/P&gt;&lt;P&gt;Sum(&amp;nbsp; {&amp;lt;[Sales Vendor]={B}&amp;gt;} {&amp;lt;products={Apple}&amp;gt;}&amp;nbsp; Volume) / Sum ({&amp;lt;Products={Apple}&amp;gt;} Volume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression must be wrong as I have listed the 2 dimensions conditions side by side . I am sure there is a way to combine these dimensions so that they display the correct market share . The correct market share that should be displayed in red is in the XCL attached .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482677#M1141342</guid>
      <dc:creator />
      <dc:date>2013-09-04T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482678#M1141343</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(&amp;nbsp; {$&amp;lt;[Sales Vendor]={B}, Products={Apple}&amp;gt;}&amp;nbsp; Volume) / Sum ({$&amp;lt;Products={Apple}&amp;gt;} Volume)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482678#M1141343</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-09-04T15:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482679#M1141344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I have applied your expression and even though the shares get closer to what they should be, it's still does not display the correct shares - see attached. (red line should be between 2 and 14%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for helping me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/46199_pastedImage_0.png" style="width: 620px; height: 267px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482679#M1141344</guid>
      <dc:creator />
      <dc:date>2013-09-04T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482680#M1141345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry there is an error. The $ symbol in the second sum should be inside the { brace. I have corrected my original post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482680#M1141345</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-09-04T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482681#M1141346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Actually, I already did put the $ inside the { bracket :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&amp;nbsp; {$&amp;lt;[Sales Vendor]={B}, products={Apple}&amp;gt;}&amp;nbsp; Volume) / Sum ( {$&amp;lt;Products={Apple}&amp;gt;} Volume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still , it returned the wrong formulas - as per the screenshot above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reattached the QV project updated with your formula but it does not work unfortunately .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what could have gone wrong ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482681#M1141346</guid>
      <dc:creator />
      <dc:date>2013-09-04T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482682#M1141347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry another error. I typed products instead of Products. Again original posting has been corrected. I checked this in your qvw and it works now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482682#M1141347</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-09-04T16:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditioned by 2 dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482683#M1141348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it worked ! Perfect, thank you very much David ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 19:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditioned-by-2-dimensions/m-p/482683#M1141348</guid>
      <dc:creator />
      <dc:date>2013-09-04T19:18:18Z</dc:date>
    </item>
  </channel>
</rss>

