<?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 Set analysis for a bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863710#M71292</link>
    <description>&lt;P&gt;hi experts,&lt;/P&gt;
&lt;P&gt;i have a formula that i need to include another set analysis expression in it for 2 types of roles.&lt;/P&gt;
&lt;P&gt;this is the current expression:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;Flag={"1"}&amp;gt;} [Total Hours])&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;[Type]=,Flag={"1"}&amp;gt;} total &amp;lt;Week,Year&amp;gt; [SumOfSch Hrs])&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want to update the expression for both sums so that it only takes in values from a field named "Stream" and a value within that field named "new".&lt;/P&gt;
&lt;P&gt;i will then put in the same expression again but this time look for a value named "old" in the field "Stream" .&lt;/P&gt;
&lt;P&gt;my aim here is to have 2 separate bar charts in for each of my x axis months.&lt;/P&gt;
&lt;P&gt;is this possible?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 15:32:45 GMT</pubDate>
    <dc:creator>maarcus_smith</dc:creator>
    <dc:date>2021-11-25T15:32:45Z</dc:date>
    <item>
      <title>Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863710#M71292</link>
      <description>&lt;P&gt;hi experts,&lt;/P&gt;
&lt;P&gt;i have a formula that i need to include another set analysis expression in it for 2 types of roles.&lt;/P&gt;
&lt;P&gt;this is the current expression:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;Flag={"1"}&amp;gt;} [Total Hours])&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;[Type]=,Flag={"1"}&amp;gt;} total &amp;lt;Week,Year&amp;gt; [SumOfSch Hrs])&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want to update the expression for both sums so that it only takes in values from a field named "Stream" and a value within that field named "new".&lt;/P&gt;
&lt;P&gt;i will then put in the same expression again but this time look for a value named "old" in the field "Stream" .&lt;/P&gt;
&lt;P&gt;my aim here is to have 2 separate bar charts in for each of my x axis months.&lt;/P&gt;
&lt;P&gt;is this possible?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863710#M71292</guid>
      <dc:creator>maarcus_smith</dc:creator>
      <dc:date>2021-11-25T15:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863724#M71295</link>
      <description>&lt;P&gt;I'm not sure what you mean by "my aim here is to have 2 separate bar charts in for each of my x axis months.", but there should be no problem adding an extra set analysis into your existing formulas (just add , Stream = {"new"} at the end of the set analysis and likewise for old) and creating one formula each for new and old.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 16:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863724#M71295</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-11-25T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863781#M71303</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry i should have said that when i put it in the expression editor, it says expression ok but no data is coming up.&lt;/P&gt;
&lt;P&gt;i know data is there as when i would select a value in the "stream" field, it changes the chart.&lt;/P&gt;
&lt;P&gt;my expression =&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Flag={"1"} ,[Stream]={'Old'}&amp;gt;} [Total Hours])&lt;BR /&gt;/&lt;BR /&gt;sum({&amp;lt;[Type]=,Flag={"1"}, [Type]={'Old'}&amp;gt;} total &amp;lt;Week,Year&amp;gt; [SumOfSch Hrs])&lt;/P&gt;
&lt;P&gt;any idea where im going wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 20:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863781#M71303</guid>
      <dc:creator>maarcus_smith</dc:creator>
      <dc:date>2021-11-25T20:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863874#M71310</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry i should have said that when i put it in the expression editor, it says expression ok but no data is coming up.&lt;/P&gt;
&lt;P&gt;i know data is there as when i would select a value in the "stream" field, it changes the chart.&lt;/P&gt;
&lt;P&gt;my expression =&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Flag={"1"} ,[Stream]={'Old'}&amp;gt;} [Total Hours])&lt;BR /&gt;/&lt;BR /&gt;sum({&amp;lt;[Type]=,Flag={"1"}, [Type]={'Old'}&amp;gt;} total &amp;lt;Week,Year&amp;gt; [SumOfSch Hrs])&lt;/P&gt;
&lt;P&gt;any idea where im going wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 08:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863874#M71310</guid>
      <dc:creator>maarcus_smith</dc:creator>
      <dc:date>2021-11-26T08:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863877#M71311</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry i should have said that when i put it in the expression editor, it says expression ok but no data is coming up.&lt;/P&gt;
&lt;P&gt;i know data is there as when i would select a value in the "stream" field, it changes the chart.&lt;/P&gt;
&lt;P&gt;my expression =&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;Flag={"1"} ,[Stream]={'Old'}&amp;gt;} [Total Hours])&lt;BR /&gt;/&lt;BR /&gt;sum({&amp;lt;[Type]=,Flag={"1"}, [Type]={'Old'}&amp;gt;} total &amp;lt;Week,Year&amp;gt; [SumOfSch Hrs])&lt;/P&gt;
&lt;P&gt;any idea where im going wrong?B&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 08:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1863877#M71311</guid>
      <dc:creator>maarcus_smith</dc:creator>
      <dc:date>2021-11-26T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for a bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1864049#M71320</link>
      <description>&lt;P&gt;Check each part of the formula individually. At the very least, having Type = and Type = {Old} is redundant in the bottom sum. Shouldn't it be Stream = Old rather than Type = Old?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 19:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-for-a-bar-chart/m-p/1864049#M71320</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-11-26T19:03:47Z</dc:date>
    </item>
  </channel>
</rss>

