<?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 Horizontal Listbox Frequency invisible in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Horizontal-Listbox-Frequency-invisible/m-p/1345794#M7732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Horizontal Listbox (you can find the extension in Documents/Qlik/Examples folder by default) I want to show frequencies of the unselected items too. If I select at least 1 item from the listbox only the selected item's frequencies will be shown, all of the others are becoming invisible.&lt;/P&gt;&lt;P&gt;This way I could use horizontal listbox with some CSS config as hybrid "KPI-button".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 14:25:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-26T14:25:52Z</dc:date>
    <item>
      <title>Horizontal Listbox Frequency invisible</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Horizontal-Listbox-Frequency-invisible/m-p/1345794#M7732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Horizontal Listbox (you can find the extension in Documents/Qlik/Examples folder by default) I want to show frequencies of the unselected items too. If I select at least 1 item from the listbox only the selected item's frequencies will be shown, all of the others are becoming invisible.&lt;/P&gt;&lt;P&gt;This way I could use horizontal listbox with some CSS config as hybrid "KPI-button".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Horizontal-Listbox-Frequency-invisible/m-p/1345794#M7732</guid>
      <dc:creator />
      <dc:date>2017-05-26T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Listbox Frequency invisible</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Horizontal-Listbox-Frequency-invisible/m-p/1345795#M7733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are describing is in essence how the Qlik Associative model works.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When you select select one of the dimensions then the count of the other dimensions will by definition not be a number as there are no values available to count and this extension displays it as blank.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If in the extension's file &lt;EM&gt;com-qliktech-horizlist.js&lt;/EM&gt; at line 243 you change the script to&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;layout.qListObject.qDataPages[0].qMatrix.forEach( function ( row ) {&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; html += '&amp;lt;li ' + style + ' class="data state' + row[0].qState + '" data-value="' + row[0].qElemNumber + '"&amp;gt;' + row[0].qText;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; // if ( row[0].qFrequency ) {&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; html += '&amp;lt;span&amp;gt;' + Number(row[0].qFrequency || 0 ) +&amp;nbsp; '&amp;lt;/span&amp;gt;';&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('row[0].qFrequency' , row[0].qFrequency ) ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp; // }&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;} );&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then it will display the blanks as zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 15:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Horizontal-Listbox-Frequency-invisible/m-p/1345795#M7733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T15:57:11Z</dc:date>
    </item>
  </channel>
</rss>

