<?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: Conditionally Display Labels on Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601074#M546341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All suggestions are helpful thanks; the GetPossibleCount() on the time dimension &lt;EM&gt;should&lt;/EM&gt; do what I'm after. GetCurentFeild() is also new to me and while it'll be useful in some cases, GetPossibleCount is more powerful here as it means I can show or hide the labels based on both the selected dimension &lt;STRONG&gt;and&lt;/STRONG&gt; the filters I have applied, rather than always showng or always hiding based on the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I may have been confusing the terminology here - it's not the chart label up the top I'm interested in effecting, rather the individual labels at the top of the bars. When I use GetPossibleCount(Time), where Time is my cyclical dimension, it works fine on the label but not on the value labels which I set with the 'Show Value' expression attribute. Oddly, these seem to show the value regardless of what I put in there, even if I set their expression to something completely unrelated such as "=2", they still show the value itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example. I want the values above each bar to display when there are 2 or fewer bars, and be hidden otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Mar 2014 23:36:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-22T23:36:18Z</dc:date>
    <item>
      <title>Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601070#M546337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have various charts with grouped dimensions which can be cycled through. For example in many, the time dimension can be cycled between year, month or day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have labels display on the chart itself when only a few values are present (less than 10 for example). This would depend both on the data range selected, and the granularity selected (the dimension being used), e.g. one quarter at month granularity would have 3 data points, just as 3 years at year level would. I would like to set the label visible only when up to 10 values are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in QlikView? In Tableau there was no option to directly conditionally hide or display labels, but the labels themself could be any dimension or a calculated expression, so I could effectively do what I want with a condition expression along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if(rowcount() &amp;lt;=10 then value [else nothing])&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- (not real code obviously)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However in QV I can only see the option to label the points with their own value itself, and there appears to be no conditional option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601070#M546337</guid>
      <dc:creator />
      <dc:date>2014-03-20T10:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601071#M546338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView has built in function (getPossibleCount()) using which you can identify the number of possible values present in a field as per your selection. So you can use it while displaying the label.&lt;/P&gt;&lt;P&gt;If you could post a sample QVW then I may try using the function in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601071#M546338</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-03-20T10:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601072#M546339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not?&amp;nbsp; Label, including label in group, can be expression.&amp;nbsp; Just give it a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601072#M546339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T10:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601073#M546340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getcurrentfield(drilldown_name) will work fine(but it will show it red underlined)...&lt;/P&gt;&lt;P&gt;Use the above function to find the granularity it is in and then set the condition with another if statement..&lt;/P&gt;&lt;P&gt;This can be done..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 12:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601073#M546340</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-03-21T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601074#M546341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All suggestions are helpful thanks; the GetPossibleCount() on the time dimension &lt;EM&gt;should&lt;/EM&gt; do what I'm after. GetCurentFeild() is also new to me and while it'll be useful in some cases, GetPossibleCount is more powerful here as it means I can show or hide the labels based on both the selected dimension &lt;STRONG&gt;and&lt;/STRONG&gt; the filters I have applied, rather than always showng or always hiding based on the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I may have been confusing the terminology here - it's not the chart label up the top I'm interested in effecting, rather the individual labels at the top of the bars. When I use GetPossibleCount(Time), where Time is my cyclical dimension, it works fine on the label but not on the value labels which I set with the 'Show Value' expression attribute. Oddly, these seem to show the value regardless of what I put in there, even if I set their expression to something completely unrelated such as "=2", they still show the value itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example. I want the values above each bar to display when there are 2 or fewer bars, and be hidden otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Mar 2014 23:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601074#M546341</guid>
      <dc:creator />
      <dc:date>2014-03-22T23:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601075#M546342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show value should return true/false; use this&lt;/P&gt;&lt;P&gt;=if(GetPossibleCount(Time) &amp;lt;=2 , 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from online help&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Show Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Click on &lt;SPAN class="Bold"&gt;Show Value&lt;/SPAN&gt; in order to enter an attribute expression for calculating whether the data point plot should be complemented with a "value on data point" value, even if &lt;SPAN class="Bold"&gt;Values on Data Points&lt;/SPAN&gt; has not been selected for the main expression. If &lt;SPAN class="Bold"&gt;Values on Data Points&lt;/SPAN&gt; is selected for the main expression the attribute expression will be disregarded. This type of attribute expression only has effect on bar, line and combo charts.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 00:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601075#M546342</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-23T00:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601076#M546343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't realise it was boolean. Now works perfectly, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 08:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601076#M546343</guid>
      <dc:creator />
      <dc:date>2014-03-24T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally Display Labels on Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601077#M546344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible in scatter chart?&lt;/P&gt;&lt;P&gt;Because for that we have checkbox so.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 08:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-Display-Labels-on-Chart/m-p/601077#M546344</guid>
      <dc:creator />
      <dc:date>2014-11-18T08:24:19Z</dc:date>
    </item>
  </channel>
</rss>

