<?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: Display chart only if not selection in each field from Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653126#M48784</link>
    <description>&lt;P&gt;Sorry : I have no issue and this works fine. This was just a tip if someone else has the same issue &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 13:18:56 GMT</pubDate>
    <dc:creator>simonaubert</dc:creator>
    <dc:date>2019-12-02T13:18:56Z</dc:date>
    <item>
      <title>Display chart only if not selection in each field from Table</title>
      <link>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653109#M48779</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;Use case : I have to display a chart only when I have no selection at all on each field on a Table. Constraint : the fields in the table can vary.&lt;BR /&gt;&lt;BR /&gt;Here is my solution :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the script&lt;/P&gt;&lt;P&gt;//Initialization variable&lt;BR /&gt;LET vAffichageRestitPrevi = '-1'; //always true&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//I get all my fields in the table through qvd metatata (easiest way in this case)&lt;BR /&gt;TMP_FieldName_MyTable :&lt;BR /&gt;LOAD&lt;BR /&gt;"FieldName" as "FieldName_MyTable"&lt;BR /&gt;FROM [$(v_QLIKMART)MyTable.qvd]&lt;BR /&gt;(XmlSimple, table is [QvdTableHeader/Fields/QvdFieldHeader]);&lt;/P&gt;&lt;P&gt;//loop to build my variable&lt;BR /&gt;FOR Each a in FieldValueList('FieldName_MyTable')&lt;BR /&gt;vAffichageRestitPrevi=vAffichageRestitPrevi &amp;amp; ' and GetSelectedCount('&amp;amp; a &amp;amp;')=0'&lt;BR /&gt;NEXT a&lt;/P&gt;&lt;P&gt;//I drop the temporary table&lt;BR /&gt;drop table TMP_FieldName_MyTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in the chart/Add-ons/ Data Handling/&lt;SPAN class="ui_item"&gt;Calculation condition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;=$(vAffichageRestitPrevi)&lt;/P&gt;&lt;P&gt;Displayed message :&lt;/P&gt;&lt;P&gt;='Please no selection on MyTable fields'&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653109#M48779</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2019-12-02T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display chart only if not selection in each field from Table</title>
      <link>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653122#M48783</link>
      <description>&lt;P&gt;try to share exact script what you've tried, By seeing your expression in script is not computing since you are not using LET and SET properties.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 13:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653122#M48783</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-02T13:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display chart only if not selection in each field from Table</title>
      <link>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653126#M48784</link>
      <description>&lt;P&gt;Sorry : I have no issue and this works fine. This was just a tip if someone else has the same issue &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 13:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-chart-only-if-not-selection-in-each-field-from-Table/m-p/1653126#M48784</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2019-12-02T13:18:56Z</dc:date>
    </item>
  </channel>
</rss>

