<?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: How to show 'No data available' message whenever there is no data available in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-No-data-available-message-whenever-there-is-no-data/m-p/992248#M338026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use the macro as mentioned below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;No data available isn't a error - it meant there isn't any data in your object for your certain selection. Therefore you need another approach. A very simply way is to count/sum the main-calculation from your object in a variable and if the result is greater then 0 then there are data available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var CheckData = if(sum(VALUE) &amp;gt; 0, true(), false())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If ActiveDocument.Variables("CheckData").GetContent.String = true Then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'your Export&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;else&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'nothing&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End If&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="9506" data-externalid="" data-online="false" data-presence="null" data-userid="27943" data-username="Marcus_Sommer" href="https://community.qlik.com/people/Marcus_Sommer" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline;"&gt;Marcus Sommer&lt;/A&gt;'s answer at &lt;A href="https://community.qlik.com/message/604111"&gt;Re: Macro to check for "No data available" Error&lt;/A&gt;&lt;SPAN class="icon-status-icon icon-mvp" style="margin: 0 0 0 4px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b;" title="Mvp"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b8b8b; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Oct 2015 23:45:16 GMT</pubDate>
    <dc:creator>qlikviewwizard</dc:creator>
    <dc:date>2015-10-04T23:45:16Z</dc:date>
    <item>
      <title>How to show 'No data available' message whenever there is no data available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-No-data-available-message-whenever-there-is-no-data/m-p/992247#M338025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a request like this:&lt;/P&gt;&lt;P&gt;by default the chart or tablebox will show the content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if due to the user selection, there is no data returned,&lt;/P&gt;&lt;P&gt;instead of leave the object blank, user would like to see a message text label, showing 'No data available'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw it is achievable in one qvw, but I cannot find where did it set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 21:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-No-data-available-message-whenever-there-is-no-data/m-p/992247#M338025</guid>
      <dc:creator />
      <dc:date>2015-10-04T21:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to show 'No data available' message whenever there is no data available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-No-data-available-message-whenever-there-is-no-data/m-p/992248#M338026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use the macro as mentioned below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;No data available isn't a error - it meant there isn't any data in your object for your certain selection. Therefore you need another approach. A very simply way is to count/sum the main-calculation from your object in a variable and if the result is greater then 0 then there are data available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var CheckData = if(sum(VALUE) &amp;gt; 0, true(), false())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If ActiveDocument.Variables("CheckData").GetContent.String = true Then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'your Export&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;else&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'nothing&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End If&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="9506" data-externalid="" data-online="false" data-presence="null" data-userid="27943" data-username="Marcus_Sommer" href="https://community.qlik.com/people/Marcus_Sommer" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline;"&gt;Marcus Sommer&lt;/A&gt;'s answer at &lt;A href="https://community.qlik.com/message/604111"&gt;Re: Macro to check for "No data available" Error&lt;/A&gt;&lt;SPAN class="icon-status-icon icon-mvp" style="margin: 0 0 0 4px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b;" title="Mvp"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b8b8b; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 23:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-No-data-available-message-whenever-there-is-no-data/m-p/992248#M338026</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-10-04T23:45:16Z</dc:date>
    </item>
  </channel>
</rss>

