<?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 Dynamic measure selection for a line chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423160#M95869</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I would like to make a dynamic measure selection for a line chart, but don't know where to begin. I have about 20 measures and I would like for the user to be able to select as many as they want and be able to compare them in a line chart.&lt;/P&gt;
&lt;P&gt;Example: the user would want to see how waiting time affects customer satisfaction so the user could select the two measures and the line chart would show them. In addition, the user would want to also compare how employee happiness affects these two measures and adds that into the selections.&lt;/P&gt;
&lt;P&gt;In this manner, the user should be able to choose any number of measures between 1-20 and they would show on a line chart.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2024 17:53:31 GMT</pubDate>
    <dc:creator>MariaN</dc:creator>
    <dc:date>2024-02-24T17:53:31Z</dc:date>
    <item>
      <title>Dynamic measure selection for a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423160#M95869</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I would like to make a dynamic measure selection for a line chart, but don't know where to begin. I have about 20 measures and I would like for the user to be able to select as many as they want and be able to compare them in a line chart.&lt;/P&gt;
&lt;P&gt;Example: the user would want to see how waiting time affects customer satisfaction so the user could select the two measures and the line chart would show them. In addition, the user would want to also compare how employee happiness affects these two measures and adds that into the selections.&lt;/P&gt;
&lt;P&gt;In this manner, the user should be able to choose any number of measures between 1-20 and they would show on a line chart.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 17:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423160#M95869</guid>
      <dc:creator>MariaN</dc:creator>
      <dc:date>2024-02-24T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure selection for a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423165#M95870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/260261"&gt;@MariaN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you download and take a look at how I do this in my Instant Sense Application template:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Gallery/Quick-Intelligence-Instant-Sense-App/ba-p/1721815" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Gallery/Quick-Intelligence-Instant-Sense-App/ba-p/1721815&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This application loads dimensions and measures from a spreadsheet and then allows the user to pick dimensions and measures from list boxes to compare values.&lt;/P&gt;
&lt;P&gt;I think the maximum number of measures I have on on object presently is six, but you can copy and paste the measures and change the numbers in the call to the variable. So the expression for the sixth measure is&amp;nbsp;&lt;STRONG&gt;=$(=$(vExpNFmt(6)))&amp;nbsp;&lt;/STRONG&gt;, you can copy that to get up to 20, if you wish. You would also need to set the label and the show condition for the measure accordingly. That will make more sense when you see the app!&lt;/P&gt;
&lt;P&gt;There is a blog post on how the app is created here:&lt;BR /&gt;&lt;A href="https://www.quickintelligence.co.uk/instant-qlik-sense-application/" target="_blank"&gt;https://www.quickintelligence.co.uk/instant-qlik-sense-application/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope you find it useful.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 19:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423165#M95870</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2024-02-24T19:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure selection for a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423369#M95898</link>
      <description>&lt;P&gt;Create as list of all MEasure NAmes in your load script as below&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measures:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Load * inline [&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;MeasuresList&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sales&lt;/P&gt;
&lt;P&gt;Revenue&lt;/P&gt;
&lt;P&gt;Margin&lt;/P&gt;
&lt;P&gt;Stock&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Line Chart &lt;STRONG&gt;Add ALL the MEASURES with calculation condition&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sales&amp;nbsp; = Sum(Sales)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Show Column if =&amp;nbsp; index('$(=GetFieldSelections(MeasuresList,''))','&lt;FONT color="#FF6600"&gt;Sales&lt;/FONT&gt;')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Margin&amp;nbsp; = Sum(Margin)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Show Column if =&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;index('$(=GetFieldSelections(MeasuresList,''))','&lt;FONT color="#FF6600"&gt;Margin&lt;/FONT&gt;')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Stock= Sum(Stock)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Show Column if =&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;index('$(=GetFieldSelections(MeasuresList,''))','&lt;FONT color="#FF6600"&gt;Stock&lt;/FONT&gt;')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Stock ,Margin,&amp;nbsp;Sales should match the &lt;/FONT&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;MeasuresList&lt;/FONT&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt; values&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423369#M95898</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2024-02-26T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure selection for a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423383#M95900</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Thank you for the response, but there is no option in the line chart measures to use the show condition.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423383#M95900</guid>
      <dc:creator>MariaN</dc:creator>
      <dc:date>2024-02-26T08:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic measure selection for a line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423384#M95901</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6748"&gt;@stevedark&lt;/a&gt;&amp;nbsp;, I will look into this.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-measure-selection-for-a-line-chart/m-p/2423384#M95901</guid>
      <dc:creator>MariaN</dc:creator>
      <dc:date>2024-02-26T08:56:50Z</dc:date>
    </item>
  </channel>
</rss>

