<?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: Value List using column / row no - line chart help Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111695#M18987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works, but it shows all the lines..for each department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence why I was using a pick (...) list expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 14:50:45 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2016-05-20T14:50:45Z</dc:date>
    <item>
      <title>Value List using column / row no - line chart help Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111692#M18984</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;I have successfully created a Value List using column / row no - line chart line chart. This using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension 1 - CalendarYear&lt;/P&gt;&lt;P&gt;Dimension 2- Departments ....has the expression .... ValueList('All', 'Catering', 'Children', 'Travel' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a Measure for %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some of the expression as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Rowno(),&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;[DEPTSALEID] = {"1"}, DEPARTMENT=, CalendarYear = {"&amp;gt;2013"}&amp;gt;}[VALUE])/sum ({$&amp;lt;[DEPTSALEID]= {"1"}, DEPARTMENT=,&amp;nbsp; CalendarYear = {"&amp;gt;2013"}&amp;gt;}[EXVALUE]),&lt;BR /&gt;if(index(GetFieldSelections([DEPARTMENT],'|',1),'Catering'),sum( {$&amp;lt;[DEPTSALEID] = {"1"}, DEPARTMENT={'Catering'}, CalendarYear = {"&amp;gt;2013"}&amp;gt;}[VALUE])/sum ({$&amp;lt;[DEPTSALEID]= {"1"}, DEPARTMENT={'Catering'},&amp;nbsp; CalendarYear = {"&amp;gt;2013"}&amp;gt;}[EXVALUE])),&lt;BR /&gt;if(index(GetFieldSelections([DEPARTMENT],'|',2),'Children'),sum( {$&amp;lt;[DEPTSALEID] = {"1"}, DEPARTMENT={'Children'}, CalendarYear = {"&amp;gt;2013"}&amp;gt;}[VALUE])/sum ({$&amp;lt;[DEPTSALEID]= {"1"}, DEPARTMENT={'Children'},&amp;nbsp; CalendarYear = {"&amp;gt;2013"}&amp;gt;}[EXVALUE]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works well as this only compares 3 or all departments. Also easy to set up the chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this issue I have is I have is for the departments dimension, I want to use a data column called Sub Department for Dimension 2 instead. This list is very long. contains over 100 values. Also thus making the Measure to end up going to be a very large expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there an easier way please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 10:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111692#M18984</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-20T10:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Value List using column / row no - line chart help Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111693#M18985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a $-sign expansion: &lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt; like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=chr39) &amp;amp; concat(distinct [Sub Department], chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to catch the dimension-values. These technique maybe combined with &lt;A href="https://community.qlik.com/docs/DOC-9045"&gt;Variables with Parameters&lt;/A&gt; could shortened your expression. But I'm not sure if you really need these valuelist-stuff or if it's not easier to create this as a normal field within the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 10:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111693#M18985</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-20T10:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Value List using column / row no - line chart help Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111694#M18986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should simply create a amall extra table in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ReportDep:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPARTMENT as ReportDepartment,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPARTMENT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...source_of_department...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENTATE (ReportDep)&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'All departments' as ReportDepartment,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEPARTMENT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...source_of_department...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the new ReportDepartment as the second dimension. If you want instead to use a column Sub Department then create the ReportDep table based on that field. This will work a lot better than a synthetic dimension and a huge pick( ... ) expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111694#M18986</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-20T11:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Value List using column / row no - line chart help Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111695#M18987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works, but it shows all the lines..for each department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence why I was using a pick (...) list expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 14:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111695#M18987</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-05-20T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Value List using column / row no - line chart help Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111696#M18988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like you have two tables in your data model that are not associated. If true then that should be fixed. Rename the relevant fields in the tables so they are associated properly. If it's not the case then please post a small qlikview document that allows us to see what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 15:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-List-using-column-row-no-line-chart-help-Qlik-Sense/m-p/1111696#M18988</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-20T15:03:57Z</dc:date>
    </item>
  </channel>
</rss>

