<?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: Re: Re: Re: Need help on chart table expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786136#M1045361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a small issue with single query 10 plus. It does not return correct values. I've added new parameter to pass number for testing on any numbers. As test used trading on 4 and more frameworks and returns 0 values but should return 1 as there is single member currently trading in on 5 frameworks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same happens with 10 plus. See attachment with red line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2014 09:56:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-27T09:56:07Z</dc:date>
    <item>
      <title>Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786131#M1045356</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;I am trying to convert label array into new table. I've got all values in each label and they OK, but when I am trying to put same label expression into table QlikView executes only first value and other ones ignored. How can I force executing all conditions in expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension expression:&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1416479755176948" jivemacro_uid="_1416479755176948"&gt;
&lt;P&gt;=ValueList( Dual('Previous',1),&amp;nbsp; Dual('Current',2),&amp;nbsp; Dual('Change',3))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression value:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_1416479711821176 jive_macro_code" jivemacro_uid="_1416479711821176"&gt;
&lt;P&gt;=pick(match(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ValueList( Dual('Previous',1),&amp;nbsp; Dual('Current',2),&amp;nbsp; Dual('Change',3))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , Dual('Previous',1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , Dual('Current',2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , Dual('Change',3)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;, // PREVIOUS&lt;/P&gt;
&lt;P&gt;Sum({1}IF(Aggr(Count(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {1&amp;lt;[Member Purchasing Group]={"$(=GetFieldSelections([Purchasing Group]))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , [Posting Date] = {"&amp;gt;=$(=$(vSelPreviousStartDate))&amp;lt;$(=$(vSelPreviousEndDate))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , FrameTransCount = {1}&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DISTINCT [Framework Description]),[Member Code])=1, 1))&lt;/P&gt;
&lt;P&gt;, // CURRENT&lt;/P&gt;
&lt;P&gt;Sum({1}IF(Aggr(Count(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {1&amp;lt;[Member Purchasing Group]={"$(=GetFieldSelections([Purchasing Group]))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , [Posting Date] = {"&amp;gt;=$(=$(vSelCurrentStartDate))&amp;lt;$(=$(vSelCurrentEndDate))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , FrameTransCount = {1}&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DISTINCT [Framework Description]),[Member Code])=1, 1))&lt;/P&gt;
&lt;P&gt;, // CHANGE / DIFFERENCE&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//CURRENT&lt;/P&gt;
&lt;P&gt;Sum({1}IF(Aggr(Count(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {1&amp;lt;[Member Purchasing Group]={"$(=GetFieldSelections([Purchasing Group]))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , [Posting Date] = {"&amp;gt;=$(=$(vSelCurrentStartDate))&amp;lt;$(=$(vSelCurrentEndDate))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , FrameTransCount = {1}&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DISTINCT [Framework Description]),[Member Code])=1, 1))&lt;/P&gt;
&lt;P&gt;- // PREVIOUS&lt;/P&gt;
&lt;P&gt;Sum({1}IF(Aggr(Count(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; {1&amp;lt;[Member Purchasing Group]={"$(=GetFieldSelections([Purchasing Group]))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , [Posting Date] = {"&amp;gt;=$(=$(vSelPreviousStartDate))&amp;lt;$(=$(vSelPreviousEndDate))"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; , FrameTransCount = {1}&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DISTINCT [Framework Description]),[Member Code])=1, 1))&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should return data into 3 different columns: Previous, Current and Change values. Currently it returns only first Previous column. Moving part of expression into label value is displayed correctly. Also I will have to duplicate this formula 10 times as this returns only for framework count 1, then I will need to have 2 and etc up to 10 by changing single numeric value from&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14164802505836859" jivemacro_uid="_14164802505836859"&gt;
&lt;P&gt;DISTINCT [Framework Description]),[Member Code])=1, 1))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;to&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="_jivemacro_uid_14164802723958660 jive_text_macro jive_macro_code" jivemacro_uid="_14164802723958660"&gt;
&lt;P&gt;DISTINCT [Framework Description]),[Member Code])=2, 1))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also tried this using IF statement and did not worked too.&lt;/P&gt;&lt;P&gt;Is it possible to combine all this into single expression maybe?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current results looks like this and contains only Previous values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 800px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="200"&gt; &lt;/TD&gt;&lt;TD class="xl64" width="200"&gt;Previous&lt;/TD&gt;&lt;TD class="xl64" width="200"&gt;Current&lt;/TD&gt;&lt;TD class="xl64" width="200"&gt;Change&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;Periods&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;Apr 2013&amp;nbsp; to Nov 2013&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;Apr 2014&amp;nbsp; to Nov 2014&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 1 framework&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;248&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 2 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 3 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;93&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 4 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;77&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 5 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;35&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 6 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;36&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 7 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;9&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 8 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 9 frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;Trading on 10 or more frameworks&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786131#M1045356</guid>
      <dc:creator />
      <dc:date>2014-11-20T10:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786132#M1045357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a .qvw document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 13:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786132#M1045357</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-21T13:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786133#M1045358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't put original file as too big. I'll maybe try to create a new one and then post it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 13:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786133#M1045358</guid>
      <dc:creator />
      <dc:date>2014-11-21T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786134#M1045359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've create a simple example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added approx. data and created a red table. Trading members on 1 framework previous has 11 members, but current has 0 as well as changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've moved same logic into labels below table for same row and they are displaying correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I've tried to use different approach with blue table but I get wrong results. Did not checked on sample but I am sure the label values are correct as I get same in my live version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 16:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786134#M1045359</guid>
      <dc:creator />
      <dc:date>2014-11-21T16:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786135#M1045360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 09:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786135#M1045360</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-24T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786136#M1045361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a small issue with single query 10 plus. It does not return correct values. I've added new parameter to pass number for testing on any numbers. As test used trading on 4 and more frameworks and returns 0 values but should return 1 as there is single member currently trading in on 5 frameworks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same happens with 10 plus. See attachment with red line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 09:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786136#M1045361</guid>
      <dc:creator />
      <dc:date>2014-11-27T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on chart table expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786137#M1045362</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I found a small issue with single query 10 plus. It does not return correct values.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You changed the expression in the variable to accept a third parameter. The way you did that is almost, but not quite correct. Try this expression instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1&amp;lt; [Member Code]={'=Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {1&amp;lt;[Member Purchasing Group]={"$(=only([Purchasing Group]))"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; , [Posting Date] = {"&amp;gt;=$(=$($1))&amp;lt;$(=$($2))"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; , FrameTransCount = {1}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; DISTINCT [Framework Description])&amp;gt;=&lt;STRONG&gt;$3&lt;/STRONG&gt;'}&amp;gt;} distinct [Member Code] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 18:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-on-chart-table-expression/m-p/786137#M1045362</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-27T18:10:13Z</dc:date>
    </item>
  </channel>
</rss>

