<?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: Creating a new dimension in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998762#M14705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot again for the quick help! All worked out so far, instead of 0 I used ''. &lt;/P&gt;&lt;P&gt;One last question for the moment: &lt;/P&gt;&lt;P&gt;Is there any possible way to not take the "else" statement 'Running Contract' into account? So the Status will only hold the if value 'left'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 14:52:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-27T14:52:10Z</dc:date>
    <item>
      <title>Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998756#M14699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im facing following problem right now: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a date_field in may database which marks the date a person left the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="119" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 105px; height: 101px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: #6690bc;"&gt;Person&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: #6690bc;"&gt;End of duty (Date &lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: #6690bc;"&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;22.01.2015&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;23.12.2015&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;&lt;P&gt;31.07.2015&lt;/P&gt;&lt;/TD&gt;&lt;TD style="color: #000000; text-align: left; padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Now i want to retrieve a new data_field which shows how many person already left the company and how many are left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example today (27.11.2015) the persons '1' and '3' already left but '2' is still on a running contract. &lt;/P&gt;&lt;P&gt;Id like to create a new field giving me the information whether the contract is still running or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; width: 302px; height: 82px;" width="300"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Person &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;End of duty (Date)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22.01.2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;left&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23.12.2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;running contract&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31.07.2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;left&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone having an idea how I can achieve this second table? And maybe some hints how to create the expression for it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998756#M14699</guid>
      <dc:creator />
      <dc:date>2015-11-27T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998757#M14700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what you have provided how did you know that 1 and 3 left, but 2 is running contract? I don't really understand the logic here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998757#M14700</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-27T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998758#M14701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ok my provided information might be a bit confusing. &lt;/P&gt;&lt;P&gt;The given date in the table marks the point when a person left the company. So today (27.11.2015) person 1 and 3 should be marked as 'left', because their contract ended on the 22.01.2015 and 31.07.2015. Person 2 will be with the company until 31.12.2015, so from today point of view he has still a 'running contract'. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So im looking to add the attribute 'left' &amp;amp; 'running'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If [End of Duty(Date)] &amp;lt; 'Today' AND [End of Duty(Date)] = 'empty/null' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;then 'left' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else 'running' &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998758#M14701</guid>
      <dc:creator />
      <dc:date>2015-11-27T12:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998759#M14702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET DateFormat='DD.MM.YYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Person,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [End of duty (Date)]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;[End of duty (Date)] &amp;lt; Today(), 'Left', 'Running Contract') as Status&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM source&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998759#M14702</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-27T12:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998760#M14703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot it worked for me! &lt;/P&gt;&lt;P&gt;Unfortunately I found some NULL in my dataset. In this case NULL means also 'left', how can I add this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998760#M14703</guid>
      <dc:creator />
      <dc:date>2015-11-27T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998761#M14704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;[End of duty (Date)] &amp;lt; Today() &lt;SPAN style="color: #ff0000;"&gt;or Len(Trim(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;[End of duty (Date)])) = 0&lt;/STRONG&gt;, 'Left', 'Running Contract') as Status&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 14:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998761#M14704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-27T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998762#M14705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot again for the quick help! All worked out so far, instead of 0 I used ''. &lt;/P&gt;&lt;P&gt;One last question for the moment: &lt;/P&gt;&lt;P&gt;Is there any possible way to not take the "else" statement 'Running Contract' into account? So the Status will only hold the if value 'left'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 14:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998762#M14705</guid>
      <dc:creator />
      <dc:date>2015-11-27T14:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new dimension in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998763#M14706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[End of duty (Date)] &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;=&lt;/SPAN&gt; Today(), &lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;'Running Contract',&lt;/STRONG&gt; 'Left') as Status&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-new-dimension-in-Qlik-Sense/m-p/998763#M14706</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-27T15:29:50Z</dc:date>
    </item>
  </channel>
</rss>

