<?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 propose a default calculated value in a variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529529#M197928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table to fill in with variables, and 1 of the variables is the "number of working days left in the current month".&lt;/P&gt;&lt;P&gt;i use this to calcultate the remaining effort per day to reach our target set for that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use this i change this value every day and save this value.&lt;/P&gt;&lt;P&gt;But the other users open their qlikview in a mode that they can not save, to avoid that they would delete or change something in the qlikview file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question:&lt;/P&gt;&lt;P&gt;is it possible to have as default this number automatically calculated?&lt;/P&gt;&lt;P&gt;i don't want to put it in a hardcoded formula because we still want the possibility to change the value to calculate&lt;/P&gt;&lt;P&gt;the effect of adding working days . (working on holidyas, weekends,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope my question is explained clearly? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&lt;IMG alt="invultabel.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49029_invultabel.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 08:22:38 GMT</pubDate>
    <dc:creator>chriscools</dc:creator>
    <dc:date>2013-11-15T08:22:38Z</dc:date>
    <item>
      <title>propose a default calculated value in a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529529#M197928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table to fill in with variables, and 1 of the variables is the "number of working days left in the current month".&lt;/P&gt;&lt;P&gt;i use this to calcultate the remaining effort per day to reach our target set for that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use this i change this value every day and save this value.&lt;/P&gt;&lt;P&gt;But the other users open their qlikview in a mode that they can not save, to avoid that they would delete or change something in the qlikview file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question:&lt;/P&gt;&lt;P&gt;is it possible to have as default this number automatically calculated?&lt;/P&gt;&lt;P&gt;i don't want to put it in a hardcoded formula because we still want the possibility to change the value to calculate&lt;/P&gt;&lt;P&gt;the effect of adding working days . (working on holidyas, weekends,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope my question is explained clearly? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&lt;IMG alt="invultabel.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49029_invultabel.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 08:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529529#M197928</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-11-15T08:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: propose a default calculated value in a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529530#M197929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way could be to call the variable using &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(=if(Len(variable)&amp;gt;0,variable,12))&lt;/P&gt;&lt;P&gt;Then it will use the variable value, if there is one. Otherwise use 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 08:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529530#M197929</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-11-15T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: propose a default calculated value in a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529531#M197930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for what i want there should allways be a variable value that is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; precalculated : the remaining working days till the end of this month (how do i calculate this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; manually changed when a different value then the precalculated one is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 09:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529531#M197930</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-11-15T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: propose a default calculated value in a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529532#M197931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i solved it with this expression in the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NetWorkDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grtz,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 14:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/propose-a-default-calculated-value-in-a-variable/m-p/529532#M197931</guid>
      <dc:creator>chriscools</dc:creator>
      <dc:date>2013-11-15T14:05:34Z</dc:date>
    </item>
  </channel>
</rss>

