<?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: Help: Broken set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1533980#M38471</link>
    <description>&lt;P&gt;Yup I used your expressions and still the same thing, and the data is all from just one table. There are linked tables but those are for something else. Perhaps my Qliksense is broken &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 16:29:01 GMT</pubDate>
    <dc:creator>mcQlikin</dc:creator>
    <dc:date>2019-01-23T16:29:01Z</dc:date>
    <item>
      <title>Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532891#M38383</link>
      <description>&lt;P&gt;I have a table&amp;nbsp;that looks something like this. My goal is to display, by Department, the quarter-to-date sum of actuals, plus the remaining year's forecast, to arrive at the best-guess forecast for the year. For example, if current reported quarter is 2, I would need to sum Q1 + Q2 actual, plus Q3 + Q4 forecast&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Quarter&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Category1&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Category2&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Data&lt;/STRON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&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Revenues&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Actual&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;xxx&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My best attempt at this has left me with a working "forecast" expression, but dysfunctional "actual" expression. The forecast expression works beautifully, but for the actuals, whenever I click on a department or something on the sheet, it goes to zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VNumber is a variable set to a certain number (1-4) to tell it which quarter we are reporting on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOT working (to sum actuals):&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[Quarter]={"&amp;lt;=$(=num($(VNumber)))"}&amp;gt;*1&amp;lt;[Category1]={'Revenues'}&amp;gt;*1&amp;lt;[Category2]={'Actual'}&amp;gt;} Data)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Working (to sum forecast):&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[Quarter]={"&amp;gt;$(=num($(VNumber)))"}&amp;gt;*1&amp;lt;[Category1]={'Revenues'}&amp;gt;*1&amp;lt;[Category2]={'Forecast'}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen a problem like this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 18:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532891#M38383</guid>
      <dc:creator>mcQlikin</dc:creator>
      <dc:date>2021-12-22T18:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532922#M38387</link>
      <description>&lt;P&gt;Maybe this way:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Actual Expenses:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Quarter={"&amp;lt;=$(=$(VNumber))"}, Category1={"Expenses"}, Category2={"Actual"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Forecast Expenses:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Quarter={"&amp;gt;$(=$(VNumber))"}, Category1={"Expenses"}, Category2={"Forecast"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Actual Revenues:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Quarter={"&amp;lt;=$(=$(VNumber))"}, Category1={"Revenues"}, Category2={"Actual"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) Forecast Revenues:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Quarter={"&amp;gt;$(=$(VNumber))"}, Category1={"Revenues"}, Category2={"Forecast"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;P&gt;Screen with example for Q=2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="QTD.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4182i696F0499AE9AD17E/image-size/large?v=v2&amp;amp;px=999" role="button" title="QTD.png" alt="QTD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532922#M38387</guid>
      <dc:creator>Jacek</dc:creator>
      <dc:date>2019-01-21T22:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532927#M38390</link>
      <description>&lt;P&gt;Thank you. It still does the same thing - I break the data into two tables, one for the revenues and one for the expenses. When i click on a random department in the revenues table, the expression calculating actuals returns zero in the other table (the expenses table), but stays the same in the revenues table. and vice versa.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532927#M38390</guid>
      <dc:creator>mcQlikin</dc:creator>
      <dc:date>2019-01-21T22:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532936#M38391</link>
      <description>&lt;P&gt;May I ask you to put example qvf or screen with this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 23:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532936#M38391</guid>
      <dc:creator>Jacek</dc:creator>
      <dc:date>2019-01-21T23:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532941#M38392</link>
      <description>&lt;P&gt;Sure I've taken 3 separate screen shots (separated by the black lines". First one is the Actuals calculation for Revenues and Expenses, they look great! Second one is when I select one of the departments, the Revenues table still looks great, but the Expenses table goes to zero! The third screenshot is the same except I'm selecting something in the Expenses table, and you'll see that the Revenues table go to zero.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4185i8D27BB1CC4B7BFB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="example.jpg" alt="example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 23:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532941#M38392</guid>
      <dc:creator>mcQlikin</dc:creator>
      <dc:date>2019-01-21T23:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532947#M38395</link>
      <description>&lt;P&gt;Did you try my expressions? I just tested for Expenses and not disappear. Question does all data come from one table ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-01-22_09h14_04.png" style="width: 653px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4195i61EB104305B426B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-01-22_09h14_04.png" alt="2019-01-22_09h14_04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 08:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1532947#M38395</guid>
      <dc:creator>Jacek</dc:creator>
      <dc:date>2019-01-22T08:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help: Broken set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1533980#M38471</link>
      <description>&lt;P&gt;Yup I used your expressions and still the same thing, and the data is all from just one table. There are linked tables but those are for something else. Perhaps my Qliksense is broken &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Broken-set-analysis/m-p/1533980#M38471</guid>
      <dc:creator>mcQlikin</dc:creator>
      <dc:date>2019-01-23T16:29:01Z</dc:date>
    </item>
  </channel>
</rss>

