<?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: condition to a dimension in load script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614085#M45722</link>
    <description>&lt;P&gt;I did!&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I finally came up with this idea.&lt;BR /&gt;Remove those cost centers first and then I add them with the condition of the dates.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 574px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17321i696B873C9F8EA158/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura.PNG" alt="Captura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 03:04:02 GMT</pubDate>
    <dc:creator>arieln93</dc:creator>
    <dc:date>2019-08-20T03:04:02Z</dc:date>
    <item>
      <title>condition to a dimension in load script</title>
      <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614080#M45719</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I need help with a customer requirement&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;There are two cost centers that were discontinued this year,&amp;nbsp;and the client wants to see only until the last month of life of these cost center (there are real data, budgets and adjustments for both centers) .&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I made a link table,and I'm thinking there to do the condition where.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;In normal words it would be something like this:&lt;BR /&gt;"where, cost center 1 is until May 2019 and cost center 2 until August 2019".&lt;BR /&gt;the other cost centers should still be shown anyway.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;it's possible?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 02:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614080#M45719</guid>
      <dc:creator>arieln93</dc:creator>
      <dc:date>2019-08-20T02:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: condition to a dimension in load script</title>
      <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614083#M45721</link>
      <description>&lt;P&gt;I will exclude the data after June in the fact table in the script.&lt;/P&gt;&lt;P&gt;When loading the fact table, I will do like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;load field 1, field 2... from somesource&lt;/P&gt;&lt;P&gt;where not (([Cost centre]=1 and Date&amp;gt;'31/05/2019') or&amp;nbsp;([Cost centre]=2 and Date&amp;gt;'31/05/2019') );&lt;/P&gt;&lt;P&gt;The where clause is all you need, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fei&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 03:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614083#M45721</guid>
      <dc:creator>NZFei</dc:creator>
      <dc:date>2019-08-20T03:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: condition to a dimension in load script</title>
      <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614085#M45722</link>
      <description>&lt;P&gt;I did!&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I finally came up with this idea.&lt;BR /&gt;Remove those cost centers first and then I add them with the condition of the dates.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 574px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17321i696B873C9F8EA158/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura.PNG" alt="Captura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 03:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614085#M45722</guid>
      <dc:creator>arieln93</dc:creator>
      <dc:date>2019-08-20T03:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: condition to a dimension in load script</title>
      <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614089#M45724</link>
      <description>&lt;P&gt;&lt;FONT&gt;xufei123&lt;/FONT&gt;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;T&lt;FONT&gt;hanks for your help&lt;/FONT&gt;&lt;FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Your idea is very similar to what occurred to me later !&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 03:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614089#M45724</guid>
      <dc:creator>arieln93</dc:creator>
      <dc:date>2019-08-20T03:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: condition to a dimension in load script</title>
      <link>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614090#M45725</link>
      <description>&lt;P&gt;Same result with loading once and use this, right?&lt;/P&gt;&lt;P&gt;Where not ((CC='863' and @PeriodoNum&amp;gt;= 40909 and @PeriodoNum&amp;lt;43586) or (CC='861' and @PeriodoNum&amp;gt;= 40909 and @PeriodoNum&amp;lt;43586));&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 03:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/condition-to-a-dimension-in-load-script/m-p/1614090#M45725</guid>
      <dc:creator>NZFei</dc:creator>
      <dc:date>2019-08-20T03:21:34Z</dc:date>
    </item>
  </channel>
</rss>

