<?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: when adding dimensions key attribute gets &amp;quot;lost&amp;quot;? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761318#M270820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your solution is to use this for the background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if(sum(TOTAL&amp;lt;style, color&amp;gt;active)&amp;gt;0,blue(),red())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 22:39:03 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-03-09T22:39:03Z</dc:date>
    <item>
      <title>when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761306#M270808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so this is a little convoluted but bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 2 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 table contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;style&lt;/P&gt;&lt;P&gt;color&lt;/P&gt;&lt;P&gt;active&amp;nbsp; (0/1 flag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd table contacts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;style&lt;/P&gt;&lt;P&gt;color&lt;/P&gt;&lt;P&gt;customer&lt;/P&gt;&lt;P&gt;sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i do a pivot table.. where the natural link between the 2 tables are style/color&lt;/P&gt;&lt;P&gt;heres where it gets wonky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="447" src="https://community.qlik.com/legacyfs/online/80195_pastedImage_0.png" style="width: 714.355px; height: 447px;" width="714" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess since active is on style/color&amp;nbsp;&amp;nbsp;&amp;nbsp; and not style/color/customer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i do a pivot.. and add customer as a dimension..&lt;/P&gt;&lt;P&gt;then do an expression to add total sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it loses active = yes/no&amp;nbsp; for a style color if the customer never purchased the style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my issue is.. the style/color is active.. but i need to know its active even if no one bought the style (within the expressions)&lt;/P&gt;&lt;P&gt;so sales is zero.. but since customer never bought it.. it doesnt know about it.. or loses it within the dimension of 2(customer)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i tell it to check dimension 1 for active/inactive?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 22:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761306#M270808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-06T22:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761307#M270809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the Dimension Tab, check "Show all values" for each Dimension and uncheck "suppress if null". On the Presentation tab, uncheck "suppress zero values". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2015 00:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761307#M270809</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-07T00:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761308#M270810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i think i phrased the question wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did do the suppression uncheck stuff..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the question is this.. in the expression.. i want it to check if active or not active..&amp;nbsp;&amp;nbsp; if its active. make color blue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not active.. make it red..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine.. if customer purchased it.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if no customer purchased it.. it reads it as nonactive.. even though for the style/color table has it as active..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this is due to the cust. dimernsion.. so how do i respect the active/inactive flag.. even with the extra dimension.. that seems to cause the active/inactive to be lost or clouded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 14:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761308#M270810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-08T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761309#M270811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload your sample data or application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 15:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761309#M270811</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T15:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761310#M270812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 15:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761310#M270812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-08T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761311#M270813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try clicking on one the red cells, you can see that the pivot creates a matrix of possible combination for which there are no actual records. e.g there's no such product as Style mp434 in Black, but it appears in the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761311#M270813</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-09T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761312#M270814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi andrew..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes u are correct there is no style mp434/black.. so being red.. is correct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the issue becomes this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;style MP234/BLACK is active.. but since..&amp;nbsp; nord purchased it.. but saks didnt.. under that customer.. it is red. (inactive)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but what i need to display is blue with zero sales in it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to flag the style/color as active even if no sales were made in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats where im stucking..&amp;nbsp; trying to figure out the if statement to force it to go the dimesion 1 where the active/inactive flag lives...&amp;nbsp; or some other way of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761312#M270814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761313#M270815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For it to work you need the Sum(sales) expression to be in a single column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761313#M270815</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-09T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761314#M270816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apologies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do u mean by expression in single column..&amp;nbsp; can u show me an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the users want need to see the customer and how much each customer purchased..&amp;nbsp; so i cannot remove customer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761314#M270816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T16:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761315#M270817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the example on my last reply please &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761315#M270817</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-09T16:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761316#M270818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im a dummy.. missed it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry will look into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761316#M270818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761317#M270819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so theres no way to do.. where i can split the style to be a dimension up top?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the format the users are looking for is.. styles up top.. colors/customers on the side..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like the setup i have where i get this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 17:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761317#M270819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761318#M270820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your solution is to use this for the background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if(sum(TOTAL&amp;lt;style, color&amp;gt;active)&amp;gt;0,blue(),red())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 22:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761318#M270820</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-09T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: when adding dimensions key attribute gets "lost"?</title>
      <link>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761319#M270821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was going down this route.. but i couldnt figure out where the active # went.. by the time i got to the expression..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total ---&amp;nbsp; so simple.. yet so hard..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;thank you sir..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 23:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-adding-dimensions-key-attribute-gets-quot-lost-quot/m-p/761319#M270821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T23:12:55Z</dc:date>
    </item>
  </channel>
</rss>

