<?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 Text box showing 0 while data is present in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981186#M80965</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a client-based QlikView report which we are hosting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The report is built at the client's end and hosted by the company i work for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having a issue where the Client is able to see data inside a text object in their environment, but when I run a reload in my environment the text object just shows 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried turning the section access off and it didn't help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have asked the client to send me the reloaded version from his environment and I am able to view the data without reload.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me with this?&lt;/P&gt;
&lt;P&gt;this is the express inside :&amp;nbsp;=Count({&amp;lt;[CAC_InvoiceDate] = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Date(Addmonths(Today(),-2)))) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Date(Addmonths(Today(),-2)))))"}&amp;gt;} [CAC_InvoiceDate])&lt;/P&gt;
&lt;P&gt;My environment after reload:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shekkyBoi_0-1663205442016.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89127i5416797716F7D06F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shekkyBoi_0-1663205442016.png" alt="shekkyBoi_0-1663205442016.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Client environment when they do the reload:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shekkyBoi_1-1663205490441.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89128i9C5C5176D1AA02E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shekkyBoi_1-1663205490441.png" alt="shekkyBoi_1-1663205490441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data is in the report, can verify as there is a table in the same report with the data as rows in a table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 01:32:45 GMT</pubDate>
    <dc:creator>shekkyBoi</dc:creator>
    <dc:date>2022-09-15T01:32:45Z</dc:date>
    <item>
      <title>Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981186#M80965</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a client-based QlikView report which we are hosting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The report is built at the client's end and hosted by the company i work for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having a issue where the Client is able to see data inside a text object in their environment, but when I run a reload in my environment the text object just shows 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried turning the section access off and it didn't help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have asked the client to send me the reloaded version from his environment and I am able to view the data without reload.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me with this?&lt;/P&gt;
&lt;P&gt;this is the express inside :&amp;nbsp;=Count({&amp;lt;[CAC_InvoiceDate] = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Date(Addmonths(Today(),-2)))) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Date(Addmonths(Today(),-2)))))"}&amp;gt;} [CAC_InvoiceDate])&lt;/P&gt;
&lt;P&gt;My environment after reload:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shekkyBoi_0-1663205442016.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89127i5416797716F7D06F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shekkyBoi_0-1663205442016.png" alt="shekkyBoi_0-1663205442016.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Client environment when they do the reload:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shekkyBoi_1-1663205490441.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89128i9C5C5176D1AA02E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shekkyBoi_1-1663205490441.png" alt="shekkyBoi_1-1663205490441.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data is in the report, can verify as there is a table in the same report with the data as rows in a table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 01:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981186#M80965</guid>
      <dc:creator>shekkyBoi</dc:creator>
      <dc:date>2022-09-15T01:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981377#M80978</link>
      <description>&lt;P&gt;Maybe the invoice date isn't loaded as date else as a string - then the set analysis condition couldn't be resolved.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 09:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981377#M80978</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-09-15T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981768#M81013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did another test on the same field as =Count(&lt;SPAN&gt;CAC_InvoiceDate&lt;/SPAN&gt;) and it populates the count.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when using the expression it doesn't work and shows 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you think its a developer version issue?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 04:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981768#M81013</guid>
      <dc:creator>shekkyBoi</dc:creator>
      <dc:date>2022-09-16T04:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981805#M81017</link>
      <description>&lt;P&gt;If the pure counting of:&amp;nbsp;&lt;SPAN&gt;Count(&lt;/SPAN&gt;&lt;SPAN&gt;CAC_InvoiceDate&lt;/SPAN&gt;&lt;SPAN&gt;) is working but not with your applied condition it means that the condition becomes never true. This might have various causes (and maybe more as one), for example: no relevant data are there, the comparison failed because of comparing numeric statements against a string or the syntax is wrong.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your case you may start by doing a simplified check with something like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt; CAC_InvoiceDate = {"&amp;lt;=$(=today())"}&amp;gt;} CAC_InvoiceDate)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What happens?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 06:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981805#M81017</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-09-16T06:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981821#M81018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i get a 0 again when using that expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=&lt;SPAN&gt;Count({&amp;lt; CAC_InvoiceDate = {"&amp;lt;=$(=today())"}&amp;gt;} CAC_InvoiceDate)&lt;/SPAN&gt;&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="shekkyBoi_0-1663310063756.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89234i22CA9FA97585E0C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shekkyBoi_0-1663310063756.png" alt="shekkyBoi_0-1663310063756.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 06:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981821#M81018</guid>
      <dc:creator>shekkyBoi</dc:creator>
      <dc:date>2022-09-16T06:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Text box showing 0 while data is present</title>
      <link>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981859#M81022</link>
      <description>&lt;P&gt;This indicates that your date isn't a date. You could check it within a table-chart with this date-field as dimension and num(YourDateField) as expression - if it's returned NULL it's not date. In this case you need to convert this field within the script, for example with something like:&lt;/P&gt;
&lt;P&gt;date(date#(YourDateField, 'YourFormatPattern')) as&amp;nbsp;YourDateField&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 07:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-box-showing-0-while-data-is-present/m-p/1981859#M81022</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-09-16T07:39:46Z</dc:date>
    </item>
  </channel>
</rss>

