<?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: Bar Chart: No selections = New unnamed bar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671105#M1078367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks max, Im not sure if this is best. it eliminates all buckets and creates an error.&amp;nbsp; unfortunately i don't know the len() function well enough to identify the error in your example... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2014 15:22:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-14T15:22:43Z</dc:date>
    <item>
      <title>Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671101#M1078362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a vertical bar chart created from a cross table of info.&amp;nbsp; I have one list box where I can make selections and the chart shows the data distributed across the bars accordingly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no selections are made, I would like the bar chart to display as if 'all options' are selected and distributed throughout the chart.&amp;nbsp; However, when I do not select from my list box (all white options), the vertical bar chart creates a new bar on the far right of my graph with the value "&amp;nbsp; '&amp;nbsp; " and sums all data into this 1 bar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once a selection is made, the values are distributed across the chart, with proper values, as needed. I need the values to distribute when no selection is made.&amp;nbsp; Any help is much appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS my chart has X axis values shown in ranges (10-20, 21-30, etc..).&amp;nbsp; These 'buckets' can be adjusted for size with a slider.&amp;nbsp; When list box selections are made, this slider performs the way I need it to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 13:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671101#M1078362</guid>
      <dc:creator />
      <dc:date>2014-07-14T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671102#M1078363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on the dimension tab check the suppress when value is null option&lt;/P&gt;&lt;P&gt;if you want to display the selections that you made from the list box use the functin concat&lt;/P&gt;&lt;P&gt;concat(distinct your_field,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 14:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671102#M1078363</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-07-14T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671103#M1078365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No change in display after suppressing null values... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my dimensions script.&amp;nbsp; where are you suggesting i add the concat function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',1)&amp;amp;'- '&amp;amp;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 14:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671103#M1078365</guid>
      <dc:creator />
      <dc:date>2014-07-14T14:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671104#M1078366</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;Try with len()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like,&lt;/P&gt;&lt;P&gt;len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',1)&amp;amp;'- '&amp;amp;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',5)&lt;/SPAN&gt;&amp;gt;1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',1)&amp;amp;'- '&amp;amp;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',5)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then tick supress null value in dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 14:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671104#M1078366</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-14T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671105#M1078367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks max, Im not sure if this is best. it eliminates all buckets and creates an error.&amp;nbsp; unfortunately i don't know the len() function well enough to identify the error in your example... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 15:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671105#M1078367</guid>
      <dc:creator />
      <dc:date>2014-07-14T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671106#M1078368</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;My bad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to suggest you to use inside &lt;STRONG&gt;if()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;if(len(yourscript)&amp;gt;1,youscript)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then tick suppress null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;=if(len(SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',1)&amp;amp;'- '&amp;amp;SubField(Class([Income ranges],&lt;/P&gt;&lt;P&gt;IncomeBuckets,'IncomeRange'),' ',5))&amp;gt;1,(SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',1)&amp;amp;'-'&amp;amp;SubField(Class([Income ranges],IncomeBuckets,'IncomeRange'),' ',5)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 15:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671106#M1078368</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-14T15:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671107#M1078369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tks. your string performs the same way...&amp;nbsp; still getting a bar when no selections are made at the end of the chart.&amp;nbsp; value= '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to lock a list box selection so that, when&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; no selection(s) is made, there is a default single selection among 10 choices?&amp;nbsp; This would solve the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 15:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671107#M1078369</guid>
      <dc:creator />
      <dc:date>2014-07-14T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart: No selections = New unnamed bar</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671108#M1078370</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;You can try with&lt;/P&gt;&lt;P&gt;create a trigger.&lt;/P&gt;&lt;P&gt;Go to Sheet Property-&amp;gt;Triggers-&amp;gt;On activate Sheet-&amp;gt;Add Action-&amp;gt;Add-&amp;gt;Selection-&amp;gt;&lt;/P&gt;&lt;P&gt;1)select in field&lt;/P&gt;&lt;P&gt;2) Lock Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 16:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-No-selections-New-unnamed-bar/m-p/671108#M1078370</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-14T16:02:27Z</dc:date>
    </item>
  </channel>
</rss>

