<?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: Dimension in ValueList in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999700#M339894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you mean Dimension values in Valuelist?&lt;/P&gt;&lt;P&gt;You can create a variable, and you can use that in your Dimension.&lt;/P&gt;&lt;P&gt;Check, if this suits for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCheck :&amp;nbsp; &lt;STRONG&gt;=Concat(DISTINCT chr(39)&amp;amp;Dim1&amp;amp;chr(39),',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dimension : &lt;STRONG&gt;=ValueList($(vCheck))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression :&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14450526188861955" jivemacro_uid="_14450526188861955"&gt;
&lt;P style="font-size: 13.3333px;"&gt;=Pick(Match(ValueList($(vCheck)),$(vCheck)),sum({&amp;lt;Dim1={A}&amp;gt;}Sales),&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;sum({&amp;lt;Dim1={B}&amp;gt;}Sales),sum({&amp;lt;Dim1={C}&amp;gt;}Sales),sum({&amp;lt;Dim1={D}&amp;gt;}Sales))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Oct 2015 03:31:37 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2015-10-17T03:31:37Z</dc:date>
    <item>
      <title>Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999698#M339892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can we add Dimesions in Valuelist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 21:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999698#M339892</guid>
      <dc:creator />
      <dc:date>2015-10-16T21:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999699#M339893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not.&lt;/P&gt;&lt;P&gt;Valuelist can only take static values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 23:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999699#M339893</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-10-16T23:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999700#M339894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you mean Dimension values in Valuelist?&lt;/P&gt;&lt;P&gt;You can create a variable, and you can use that in your Dimension.&lt;/P&gt;&lt;P&gt;Check, if this suits for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCheck :&amp;nbsp; &lt;STRONG&gt;=Concat(DISTINCT chr(39)&amp;amp;Dim1&amp;amp;chr(39),',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dimension : &lt;STRONG&gt;=ValueList($(vCheck))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression :&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14450526188861955" jivemacro_uid="_14450526188861955"&gt;
&lt;P style="font-size: 13.3333px;"&gt;=Pick(Match(ValueList($(vCheck)),$(vCheck)),sum({&amp;lt;Dim1={A}&amp;gt;}Sales),&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;sum({&amp;lt;Dim1={B}&amp;gt;}Sales),sum({&amp;lt;Dim1={C}&amp;gt;}Sales),sum({&amp;lt;Dim1={D}&amp;gt;}Sales))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 03:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999700#M339894</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-10-17T03:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999701#M339895</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;Instead adding dimension field to Value list, add the values to the dimension within the Load script. So that you can simply use&lt;/P&gt;&lt;P&gt;if(field='value1', Expr1,//for value list texts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(field='value2', Expr2,//for value list texts&lt;/P&gt;&lt;P&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; Expr3))//for dimension values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2015 17:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999701#M339895</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-10-17T17:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999702#M339896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my problem is little different, I want to add Total row in Bar Chart. So "Total"&amp;nbsp; should be added to the dimension list.&lt;/P&gt;&lt;P&gt;Could you suggest any workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999702#M339896</guid>
      <dc:creator />
      <dc:date>2015-10-19T16:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999703#M339897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can certainly use settu_periasamy's suggestion but appending the TOTAL to the list :&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;vCheck :&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Concat(DISTINCT chr(39) &amp;amp; Dim1 &amp;amp; chr(39) , ',' ) &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;&amp;amp; ', ''TOTAL'' ' &lt;/SPAN&gt;&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;Dimension : &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=ValueList( $(vCheck) )&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;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or you might be better off making the appending in the load script by just adding the extra TOTAL value there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 17:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999703#M339897</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-19T17:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in ValueList</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999704#M339898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I choose 2nd option. because it is not required to define different expressions for each dimension value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 21:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-ValueList/m-p/999704#M339898</guid>
      <dc:creator />
      <dc:date>2015-10-19T21:01:21Z</dc:date>
    </item>
  </channel>
</rss>

