<?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: Exclude/include dimention a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1649007#M48380</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Tried this but the result is not OK in this table.&lt;/P&gt;&lt;P&gt;Calculation used: 'Count({&amp;lt;start_check = {"1"}&amp;gt;}winc_ticket)'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_check1.PNG" style="width: 634px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24046i81C9680F23F64109/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_check1.PNG" alt="start_check1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, this table with more dimensions show the correct result. I can also see that the new 'Month' filter works as it should.&lt;/P&gt;&lt;P&gt;Calculation used: 'if ((year(winc_start_date) &amp;amp;'-'&amp;amp; month(winc_start_date)=Month),1,0)'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_check2.PNG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24048i06A5E132378F913E/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_check2.PNG" alt="start_check2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 10:49:05 GMT</pubDate>
    <dc:creator>stekol61</dc:creator>
    <dc:date>2019-11-20T10:49:05Z</dc:date>
    <item>
      <title>Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648052#M48296</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In my load script i have created two variable:&lt;/P&gt;&lt;P&gt;if ((year(inc_start_date) &amp;amp;'-'&amp;amp; month(inc_start_date)='2019-9'),1,0) as &lt;STRONG&gt;start_check&lt;/STRONG&gt;,&lt;BR /&gt;if ((year(inc_cleared_date) &amp;amp;'-'&amp;amp; month(inc_cleared_date)='2019-9'),1,0) as &lt;STRONG&gt;clear_check&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;In the table I&amp;nbsp;created (see below) these two expression and the result is OK. Only the sum of start and clear without any dimension:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;start_check = {"1"}&amp;gt;}winc_ticket)&lt;BR /&gt;Count({&amp;lt;clear_check = {"1"}&amp;gt;}winc_ticket)&lt;/P&gt;&lt;P&gt;In the load script the month is hard-coded but i want to be able to select one or several months and present the result per month in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_clear table.PNG" style="width: 263px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23870i9D1D7BFAD65802FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_clear table.PNG" alt="start_clear table.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below is the data used with more dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_clear table FULL.PNG" style="width: 505px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23868iA30F13F29E5AE638/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_clear table FULL.PNG" alt="start_clear table FULL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648052#M48296</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-11-18T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648065#M48299</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please bear in mind as long as you've hard-coded the month in how you calculate the field, if you use the expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;start_check = {"1"}&amp;gt;}winc_ticket)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You will always get (the 0s may get suppressed):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Aug = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sep = 117&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Oct = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nov =0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think on your back-end you should create the dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(year(inc_start_date) &amp;amp;'-'&amp;amp; month(inc_start_date) as TicketMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then on the front-end create a bar chart with the Dimension [TicketMonth] and the measure&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count(winc_ticket)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if that's what you are trying to achieve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S.T.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648065#M48299</guid>
      <dc:creator>Stoyan_Terziev</dc:creator>
      <dc:date>2019-11-18T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648066#M48300</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;what do you mean by: the month is hard coded?&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see the stats by month you should be able to create filter pane with the use of this dimension:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month(&lt;SPAN&gt;inc_start_date&lt;/SPAN&gt;) or&amp;nbsp;Month(&lt;SPAN&gt;inc_cleared_date&lt;/SPAN&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;After picking one or more it should filter out the table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648066#M48300</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-11-18T15:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648092#M48304</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I had created in the load script&lt;/P&gt;&lt;P&gt;Year(inc_start_date)&amp;amp;'-'&amp;amp; Month (inc_start_date)as Month,&lt;/P&gt;&lt;P&gt;Year(inc_cleared_date)&amp;amp;'-'&amp;amp; Month (inc_cleared_date)as Month_C&lt;/P&gt;&lt;P&gt;The reason is that start date (Create) and cleared date (Cleared) are calculated differently and this is causing the problems i think&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 16:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648092#M48304</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-11-18T16:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648098#M48306</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;With hard-coded month I mean '2019-9' in the expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;f ((year(inc_start_date) &amp;amp;'-'&amp;amp; month(inc_start_date)='&lt;EM&gt;&lt;STRONG&gt;2019-9&lt;/STRONG&gt;&lt;/EM&gt;'),1,0) as&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;start_check&lt;/STRONG&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that&amp;nbsp;Month(inc_start_date) and Month(inc_cleared_date) are calculated differently&amp;nbsp;and are not always the same&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 16:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648098#M48306</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-11-18T16:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648526#M48342</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I updated the calculations:&lt;/P&gt;&lt;P&gt;Year(inc_start_date)&amp;amp;'-'&amp;amp; Month (inc_start_date)as &lt;STRONG&gt;Month&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Year(inc_cleared_date)&amp;amp;'-'&amp;amp; Month (inc_cleared_date)as &lt;STRONG&gt;Month_C&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;if ((year(inc_start_date) &amp;amp;'-'&amp;amp; month(inc_start_date)=&lt;STRONG&gt;Year(inc_start_date)&amp;amp;'-'&amp;amp; Month (inc_start_date)&lt;/STRONG&gt;),1,0) as start_check,&lt;BR /&gt;if ((year(inc_cleared_date) &amp;amp;'-'&amp;amp; month(inc_cleared_date)=&lt;STRONG&gt;Year(inc_cleared_date)&amp;amp;'-'&amp;amp; Month (inc_cleared_date&lt;/STRONG&gt;)),1,0) as clear_check,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to work if I use two different tables. One for 'Month' and one for 'Month_C'&lt;/P&gt;&lt;P&gt;How can i combine this to one table or graph?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start clear 2.PNG" style="width: 697px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/23950iE3E714D139537956/image-size/large?v=v2&amp;amp;px=999" role="button" title="start clear 2.PNG" alt="start clear 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 13:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648526#M48342</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-11-19T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648579#M48351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can get resolved on the back-end.&lt;/P&gt;&lt;P&gt;The below approach will help you combine the Month and Month_C dimensions into a single field but will also keep the start_check and clear_check as separate fields so you can combine them in a single table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FactTable:

Load 

Year(inc_start_date)&amp;amp;'-'&amp;amp; Month (inc_start_date)as Month,

if ((year(inc_start_date) &amp;amp;'-'&amp;amp; month(inc_start_date)=Year(inc_start_date)&amp;amp;'-'&amp;amp; Month (inc_start_date)),1,0) as start_check

FROM YourSource.qvd (qvd)

;



CONCATENATE(FactTable)

Load 

Year(inc_cleared_date)&amp;amp;'-'&amp;amp; Month (inc_cleared_date)as Month,
if ((year(inc_cleared_date) &amp;amp;'-'&amp;amp; month(inc_cleared_date)=Year(inc_cleared_date)&amp;amp;'-'&amp;amp; Month (inc_cleared_date)),1,0) as clear_check

FROM YourSource.qvd (qvd)

;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 14:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1648579#M48351</guid>
      <dc:creator>Stoyan_Terziev</dc:creator>
      <dc:date>2019-11-19T14:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude/include dimention a table</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1649007#M48380</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Tried this but the result is not OK in this table.&lt;/P&gt;&lt;P&gt;Calculation used: 'Count({&amp;lt;start_check = {"1"}&amp;gt;}winc_ticket)'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_check1.PNG" style="width: 634px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24046i81C9680F23F64109/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_check1.PNG" alt="start_check1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, this table with more dimensions show the correct result. I can also see that the new 'Month' filter works as it should.&lt;/P&gt;&lt;P&gt;Calculation used: 'if ((year(winc_start_date) &amp;amp;'-'&amp;amp; month(winc_start_date)=Month),1,0)'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start_check2.PNG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24048i06A5E132378F913E/image-size/large?v=v2&amp;amp;px=999" role="button" title="start_check2.PNG" alt="start_check2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 10:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-include-dimention-a-table/m-p/1649007#M48380</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-11-20T10:49:05Z</dc:date>
    </item>
  </channel>
</rss>

