<?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 field equals to dimension value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057568#M354337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following structure where the red circles indicated the relevant part relating my problem: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="export.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120548_export.png" style="height: 381px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the 'Old Part' values and the 'New Part' values of the 'ENG Part Details' table are all found in PartID of the Parts table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the set analysis I want to get the 'StockQuantityOnHand' where the PartID is equal to the value of the corresponding 'Old Part' dimension value&amp;nbsp; (and the second set analysis is the same but for the new part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 13:32:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-05T13:32:50Z</dc:date>
    <item>
      <title>Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057566#M354335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have often read that “Set analysis does not evaluate data per dimension but once per chart”. However I know that this is not always the case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have the following table where the first 4 fields are dimensions and the last 2 fields are expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="359" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;1&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 607px; height: 369px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" colspan="4" height="17" style="text-align: center; padding: 1px; background-color: #c0c0c0;" width="409"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimensions&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl70" colspan="2" style="border-right-width: 0.5pt; border-right-style: solid; border-right-color: black; text-align: center; padding: 1px; background-color: #ffcc99;" width="262"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Expressions&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;CN Submission Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;CN Number&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Old Part&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;New Part&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; Old Part Held Stock&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl73" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;New Part Held Stock&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-05/02/2016-15:21:57&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-05/02/2016-15:25:39&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-05/02/2016-16:42:42&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-11/02/2016-10:04:46&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-24/02/2016-12:28:57&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250-D1-L1-01/03/2016-12:53:41&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E14250&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63606-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;836&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;899&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E15264C-D1-L1-05/02/2016-16:26:33&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E15264C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;19040-01&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;19040-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;87&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;318&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E16025-D1-L1-17/02/2016-14:58:07&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E16025&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;52582-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;52582-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;789&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;786&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E16025-D1-L1-18/02/2016-14:17:08&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;E16025&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;52582-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;52582-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;789&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;786&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035-D1-L1-05/02/2016-15:27:21&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;434&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;761&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035-D1-L1-05/02/2016-15:27:42&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;434&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;761&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035-D1-L1-05/02/2016-15:27:52&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S14035&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;16335-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;434&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;761&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="17" style="border-top-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S15031-D1-L1-05/02/2016-15:24:49&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S15031&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;S63550-03&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;63550-04&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;426&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-top-style: none; border-left-style: none; padding: 1px; text-align: center;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;211&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;For the two expressions in the table above I want to write a set analysis similar to the one below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;PartID= [Old Part] &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockHeldFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = {'Y'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockQuantityOnHand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;And &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;PartID= [New Part] &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockHeldFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = {'Y'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockQuantityOnHand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So if the old part for a particular row is 63606-02, I want to mimic the following expression (but obviously for each and every row in the graph):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;PartID= {‘63606-02’} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockHeldFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = {'Y'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;StockQuantityOnHand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is there a way how one can simply refer to the value of the corresponding dimension in an expression with set analysis?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks Matt &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057566#M354335</guid>
      <dc:creator />
      <dc:date>2016-04-05T13:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057567#M354336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on above table, what output you are expecting after set analysis?&lt;/P&gt;&lt;P&gt;What is PartID here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057567#M354336</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-04-05T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057568#M354337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following structure where the red circles indicated the relevant part relating my problem: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="export.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120548_export.png" style="height: 381px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically the 'Old Part' values and the 'New Part' values of the 'ENG Part Details' table are all found in PartID of the Parts table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the set analysis I want to get the 'StockQuantityOnHand' where the PartID is equal to the value of the corresponding 'Old Part' dimension value&amp;nbsp; (and the second set analysis is the same but for the new part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057568#M354337</guid>
      <dc:creator />
      <dc:date>2016-04-05T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057569#M354338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;matthewvonbrockdorff wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have often read that “Set analysis does not evaluate data per dimension but once per chart”. However I know that this is not always the case.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I believe Set Analysis is evaluated only once per chart, not per dimension line. Could you elaborate further where this is not the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get a per record / dimension value comparison when you choose an appropriate key value in the set expression, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;KEY = {"=FieldA = FieldB"} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this key needs to be granular enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057569#M354338</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-05T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057570#M354339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be if you want row by row check, try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;PartID= ‘63606-02’ and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;StockHeldFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = 'Y', &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;StockQuantityOnHand&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057570#M354339</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-04-05T13:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057571#M354340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on everything I know about QlikView and Set Analysis, this is impossible to achieve in Set Analysis, precisely because of the premise you have started from - the Set Analysis condition is only performed once per chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you can solve the problem by creating meaningful associations between the PartID and the Old and the New values in your data model. This way, you can create a condition that could be verified once per chart and not once for every line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without any substantial data modelling work, the only way to achieve the desired is by replacing the Set Analysis by an IF() condition that can be sensitive to the Dimension values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my new book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=IN55M5EPRHLRBWIQ"&gt;QlikView Your Business&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057571#M354340</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-04-05T13:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057572#M354341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice! I am thinking of restructuring the data model in order to do thing the proper way and for the data structure to be efficient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I already tried to alter the data structure and found some difficulties I created a new post if you want to have a look &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1013518"&gt;Data Model difficulty&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 08:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057572#M354341</guid>
      <dc:creator />
      <dc:date>2016-04-06T08:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057573#M354342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi settu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following did work for me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt; if(PartID = [Old Part] AND StockHeldFlag = 'Y', StockQuantityOnHand)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only drawback is that this is not very efficient and take some time to load the straight table. However at least it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 09:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057573#M354342</guid>
      <dc:creator />
      <dc:date>2016-04-06T09:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057574#M354343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we use Set Analysis in Calculated Dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057574#M354343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T18:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057575#M354344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes we can&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057575#M354344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T18:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057576#M354345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using set expression in Expression and it works fine. But when i use the same as Calculated Dimension, it says "Error in Calculated Dimension''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057576#M354345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057577#M354346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying? Can you share? You might need to wrap it around with Aggr() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057577#M354346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057578#M354347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't post the exact Set Expression but here is the outline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;Demand={'New'}&amp;gt;}(QUANTITY)) = sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)),&lt;/P&gt;&lt;P&gt;'All' &amp;amp; ' ' &amp;amp; '(Provided' &amp;amp; ' ' &amp;amp; ((sum({$&amp;lt;Demand={'Old'}&amp;gt;}(QUANTITY))/sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)))*100) &amp;amp; '%' &amp;amp; ')',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and two more if's similar to the one above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057578#M354347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T19:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057579#M354348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactely what you need to do when you want to use set analysis in a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis can only be applied to aggregation functions, and to&amp;nbsp; be able to use aggregation functions in a dimension, you need to use advanced aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Only(&lt;STRONG&gt;{&amp;lt;Product = {A}&amp;gt;}&lt;/STRONG&gt; Customer), Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057579#M354348</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-26T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057580#M354349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the dimension you want to check the if statement on for your calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Aggr(&lt;/SPAN&gt;if(sum({$&amp;lt;Demand={'New'}&amp;gt;}(QUANTITY)) = sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'All' &amp;amp; ' ' &amp;amp; '(Provided' &amp;amp; ' ' &amp;amp; ((sum({$&amp;lt;Demand={'Old'}&amp;gt;}(QUANTITY))/sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)))*100) &amp;amp; '%' &amp;amp; ')'&lt;SPAN style="color: #ff0000;"&gt;, DimensionName)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057580#M354349</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T19:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057581#M354350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of this Set Analysis is to create a new Column. When I do this in Expressions, it works perfect. But I need to place this column with other Dimensions, not with Expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057581#M354350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T19:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057582#M354351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What were the dimension you used when you were using this as a dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057582#M354351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T19:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057583#M354352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many dimensions which are straight up Columns coming from database&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057583#M354352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-26T19:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis field equals to dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057584#M354353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try adding all of them where I have DimensionName separated by a comma (,):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Aggr(&lt;/SPAN&gt;if(sum({$&amp;lt;Demand={'New'}&amp;gt;}(QUANTITY)) = sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'All' &amp;amp; ' ' &amp;amp; '(Provided' &amp;amp; ' ' &amp;amp; ((sum({$&amp;lt;Demand={'Old'}&amp;gt;}(QUANTITY))/sum({$&amp;lt;Demand={'New','Old'}&amp;gt;}(QUANTITY)))*100) &amp;amp; '%' &amp;amp; ')'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, DimensionName)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Also it would be better if you can start a new thread for your question. It is not nice for us to spam somebody else unfinished business.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-field-equals-to-dimension-value/m-p/1057584#M354353</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T19:37:16Z</dc:date>
    </item>
  </channel>
</rss>

