<?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: Issue with an expression calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69296#M11399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;(Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;assign_date={"=len(trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;assign_date))&amp;lt;&amp;gt;0&lt;/SPAN&gt;"}&lt;/STRONG&gt;,&lt;/SPAN&gt;ambiente = {'Ambulatorio ASL'}, Cycle = {'Cycle1'}, macro_area_codice = {'Sud'},role -= {'3'} &amp;gt;} DISTINCT assign_date))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 10:08:34 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-03-22T10:08:34Z</dc:date>
    <item>
      <title>Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69291#M11394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm having a table in which I'm calculating the amount of worked days filtered by the type of the activity. The expression formula is correct(I've checked with the database). &lt;BR /&gt;One only had activities during the third work cycle and the QlikView auto-completes the missing values(the missing values of the first and second cycle) with 0. &lt;BR /&gt;My issues are: &lt;BR /&gt;-when I'm exporting the table in Excel via a macro(I have to do extra formatting so using the built-in method would take too much time), the 0 values that are replacing the missing values are not pasted &lt;BR /&gt;-because of that, my expressions that calculate the amount of worked days summed for all 3 cycles return 0(this happens in my pivot tables from QlikView too) &lt;BR /&gt;I have the "Suppress 0 values" option unchecked and I auto-populate the missing or null values with 0. &lt;BR /&gt;I assume the problem is that QlikView recognizes 0 as a char/string instead of int. &lt;BR /&gt;So my questions are: &lt;BR /&gt;-Is there any way I can make QlikView recognize 0 as an integer? &lt;/P&gt;&lt;P&gt;-Alternatively, as a work-around the problem with the totals , how can I make a Set Expression in which a certain table column must be populated with any value? e.g: something like cycle_value -={' '}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69291#M11394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69292#M11395</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;would you be able to share some data here ? or a sample QVW ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69292#M11395</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-22T09:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69293#M11396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would the table exported in Excel help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69293#M11396</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T09:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69294#M11397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case no.. because on the charts, if a NULL a blank is replaced by a char or a numeric value, it will change the original calculations... I was talking about the source, what you really have before you load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69294#M11397</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-22T09:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69295#M11398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't really share the database dump due to privacy issues.&lt;BR /&gt; Anyway, I'm having this following expression:&lt;BR /&gt;(Count({&amp;lt;ambiente = {'Ambulatorio ASL'}, Cycle = {'Cycle1'}, macro_area_codice = {'Sud'},role -= {'3'} &amp;gt;} DISTINCT assign_date))&lt;BR /&gt;How can I change the set expression so that it counts all the assign_dates that have any value different from null in the Cycle field? It would help me a lot with my current problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69295#M11398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69296#M11399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;(Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;assign_date={"=len(trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;assign_date))&amp;lt;&amp;gt;0&lt;/SPAN&gt;"}&lt;/STRONG&gt;,&lt;/SPAN&gt;ambiente = {'Ambulatorio ASL'}, Cycle = {'Cycle1'}, macro_area_codice = {'Sud'},role -= {'3'} &amp;gt;} DISTINCT assign_date))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69296#M11399</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-22T10:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69297#M11400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking more for something like: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Count({&amp;lt;ambiente = {'Ambulatorio ASL'}, Cycle -= {'&amp;lt;however QlikView is interpreting Null&amp;gt;'}, macro_area_codice = {'Sud'},role -= {'3'} &amp;gt;} DISTINCT assign_date))&lt;BR /&gt;&lt;/SPAN&gt;EDIT: I've found a solution by modifying the loading script. Thanks for the help anyway, I'll let this discussion as Assumed Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69297#M11400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T10:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69298#M11401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you asked for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;How can I change the set expression so that it counts all the assign_dates that have any value different from null in the Cycle field?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I give you this:&amp;nbsp; &lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;assign_date={"=len(trim(&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: #f2f2f2;"&gt;assign_date))&amp;lt;&amp;gt;0&lt;/SPAN&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you attach some rows on an excel file to see what you have exactly on every column ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69298#M11401</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-22T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69299#M11402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the excel file I have attached in the replies &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69299#M11402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T10:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69300#M11403</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;I just had a look at your file, I think it is a completely different file from what you described above..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 08:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression-calculation/m-p/69300#M11403</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T08:59:17Z</dc:date>
    </item>
  </channel>
</rss>

