<?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: Pivot table not behaving as expected - based on constraints of expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204712#M387320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bracket '01) All' is just part of the values within the Field and is derived from a field in a system that I have no control over.&amp;nbsp; It is part of the text of the field value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.&amp;nbsp; 01) All &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02) Spinal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03) Trauma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04) Cancer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 16:00:21 GMT</pubDate>
    <dc:creator>helen_pip</dc:creator>
    <dc:date>2016-11-02T16:00:21Z</dc:date>
    <item>
      <title>Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204704#M387312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a pivot table where the dimension is Month Year and I also have a calculated dimension: &lt;SPAN style="font-size: 13.3333px;"&gt;=$(='['&amp;amp; only($(=vUser)) &amp;amp; ']') &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt; which displays a field which the user selects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_user = GetFieldSelections($Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I have a field called Description selected and therefore my dimension is displaying data by MonthYear and Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my expression I have put a restriction where I want to show just information for Description 1 :&lt;/P&gt;&lt;P&gt;if(Activity = 9999, '-',sum({-&amp;lt;Missing_Date_Flag = {'*'}&amp;gt; * &amp;lt;Variance_Days = {'&amp;lt;= 0'}, Description = {&lt;SPAN style="color: #ff0000;"&gt;'01) All'&lt;/SPAN&gt;}&amp;gt;}Activity))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am expecting my pivot table to just show data for Description 01, however all the descriptions are being displayed in my pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone kindly help me with why my expression is ignoring my command to just show Description '01) All'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this technique elsewhere and the theory works, so I am assuming there is something wrong with my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204704#M387312</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T08:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204705#M387313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does description contain &lt;STRONG&gt;01&lt;/STRONG&gt; or &lt;STRONG&gt;01) All&lt;/STRONG&gt;?&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;STRONG&gt;if(Activity = 9999, '-',sum({-&amp;lt;Missing_Date_Flag = {'*'}&amp;gt; * &amp;lt;Variance_Days = {'&amp;lt;= 0'}, Description = {&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'01) All'&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;}&amp;gt;}Activity))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the portion in red needs to be just &lt;STRONG&gt;'01'&lt;/STRONG&gt;?&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;STRONG&gt;if(Activity = 9999, '-',sum({-&amp;lt;Missing_Date_Flag = {'*'}&amp;gt; * &amp;lt;Variance_Days = {'&amp;lt;= 0'}, Description = {&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'01'&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;}&amp;gt;}Activity))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204705#M387313</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204706#M387314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SunnyT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Description is '01 All' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204706#M387314</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T08:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204707#M387315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this isn't working? Without the closing parenthesis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN 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;if(Activity = 9999, '-',sum({-&amp;lt;Missing_Date_Flag = {'*'}&amp;gt; * &amp;lt;Variance_Days = {'&amp;lt;= 0'}, Description = {&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 14pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;'01 All'&lt;/STRONG&gt;&lt;SPAN 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;}&amp;gt;}Activity))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204707#M387315</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204708#M387316</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;Unfortunately not! I also had a synthetic key, which I thought would solve the issue, but with no avail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least I know now that the expression is not the issue. It may be something to do with my data load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to check that the expression was written accurately, so thank you for confirming this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204708#M387316</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T08:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204709#M387317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean the only other thing you can try is may be try this (although I am 100% sure if that will make any difference):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Activity = 9999, '-',sum({-&amp;lt;Missing_Date_Flag = {'*'}&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;, Description = {'01 All'}&lt;/SPAN&gt;&amp;gt; * &amp;lt;Variance_Days = {'&amp;lt;= 0'}, Description = {'01 All'}&amp;gt;}Activity))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 08:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204709#M387317</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204710#M387318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo SunnyT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank your response earlier, you theory certainly worked for one of my expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I am getting a problem with the equation below, where it appears as though it is ignoring my request and not selecting just description '01 ALL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you kindly take a look at my expression to see how I can get it to work to just show Description '01 All'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Activity = 9999, '-',sum({$-&amp;lt;Missing_Date_Flag={'*'}, Description = {'01) All'}&amp;gt;}Activity)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204710#M387318</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T15:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204711#M387319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you adding ) in your 01) All? I am not sure I understand if it is 01 All or 01) All?&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;STRONG&gt;=if(Activity = 9999, '-',sum({$-&amp;lt;Missing_Date_Flag={'*'}, Description = &lt;SPAN style="color: #ff0000;"&gt;{'01&lt;SPAN style="font-size: 14pt;"&gt;)&lt;/SPAN&gt; All'}&lt;/SPAN&gt;&amp;gt;}Activity))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 15:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204711#M387319</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T15:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204712#M387320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bracket '01) All' is just part of the values within the Field and is derived from a field in a system that I have no control over.&amp;nbsp; It is part of the text of the field value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e.&amp;nbsp; 01) All &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02) Spinal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03) Trauma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04) Cancer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204712#M387320</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T16:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table not behaving as expected - based on constraints of expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204713#M387321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SunnyT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expression which works for me: I took out the set analysis and used If instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Activity = 9999, '-',sum({$-&amp;lt;Missing_Date_Flag={'*'}&amp;gt;} If(Description = '01) All',Activity)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-not-behaving-as-expected-based-on-constraints-of/m-p/1204713#M387321</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-11-02T16:05:24Z</dc:date>
    </item>
  </channel>
</rss>

