<?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 Accumulating across a dimension when certain conditions are met in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Accumulating-across-a-dimension-when-certain-conditions-are-met/m-p/2438104#M97100</link>
    <description>&lt;P&gt;ExampleData:&lt;BR /&gt;load * Inline&lt;BR /&gt;[ &lt;BR /&gt;DATE_STAMP, Group, Value &lt;BR /&gt;01/31/2024, a, 5 &lt;BR /&gt;01/31/2024, b, 10 &lt;BR /&gt;01/31/2024, hist, 8 &lt;BR /&gt;02/29/2024, b, 60 &lt;BR /&gt;02/29/2024, hist, 75 &lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Using the example data above, I need to create a table that calculates "y" by Scenario like shown below.&amp;nbsp;&amp;nbsp;Column "y" should sum values from records where Scenario = 'hist' for all date stamps if the date stamp has data for the specific scenario and for scenario=hist.&amp;nbsp; In this example, Scenario='a' only has data for Jan so the value for y does not include Feb data from Scenario='hist'.&amp;nbsp; It is like joining the Scenario='hist' data to all the other scenarios by date stamp, but I need to do this in the visualization (not the script).&amp;nbsp; Can this be done?&lt;/P&gt;
&lt;TABLE width="170"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="93"&gt;Scenario&lt;/TD&gt;
&lt;TD width="77"&gt;y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;a&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;b&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;83&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;hist&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;83&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Thu, 04 Apr 2024 20:15:30 GMT</pubDate>
    <dc:creator>eabis1</dc:creator>
    <dc:date>2024-04-04T20:15:30Z</dc:date>
    <item>
      <title>Accumulating across a dimension when certain conditions are met</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulating-across-a-dimension-when-certain-conditions-are-met/m-p/2438104#M97100</link>
      <description>&lt;P&gt;ExampleData:&lt;BR /&gt;load * Inline&lt;BR /&gt;[ &lt;BR /&gt;DATE_STAMP, Group, Value &lt;BR /&gt;01/31/2024, a, 5 &lt;BR /&gt;01/31/2024, b, 10 &lt;BR /&gt;01/31/2024, hist, 8 &lt;BR /&gt;02/29/2024, b, 60 &lt;BR /&gt;02/29/2024, hist, 75 &lt;BR /&gt;]&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Using the example data above, I need to create a table that calculates "y" by Scenario like shown below.&amp;nbsp;&amp;nbsp;Column "y" should sum values from records where Scenario = 'hist' for all date stamps if the date stamp has data for the specific scenario and for scenario=hist.&amp;nbsp; In this example, Scenario='a' only has data for Jan so the value for y does not include Feb data from Scenario='hist'.&amp;nbsp; It is like joining the Scenario='hist' data to all the other scenarios by date stamp, but I need to do this in the visualization (not the script).&amp;nbsp; Can this be done?&lt;/P&gt;
&lt;TABLE width="170"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="93"&gt;Scenario&lt;/TD&gt;
&lt;TD width="77"&gt;y&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;a&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;b&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;83&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;hist&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;83&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 04 Apr 2024 20:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulating-across-a-dimension-when-certain-conditions-are-met/m-p/2438104#M97100</guid>
      <dc:creator>eabis1</dc:creator>
      <dc:date>2024-04-04T20:15:30Z</dc:date>
    </item>
  </channel>
</rss>

