<?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 Getting buttons to alter formats and filter data selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188727#M1281236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't use buttons. This sounds like standard selection logic, so I would simply use a list box. Get your users used to the standard behavior of QlikView rather than launching right into making things behave differently than default. You'll make things much easier on yourself if you can later add a new product type by, well, doing nothing.&lt;/P&gt;&lt;P&gt;For the chart header, I'd likely load in the colors as script.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Product Type Colors]:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Product Type, R, G, B&lt;BR /&gt;Banana, 255, 255, 200&lt;BR /&gt;Apple, 200, 255, 200&lt;BR /&gt;Strawberry, 255, 200, 200&lt;BR /&gt;All fruit, 200, 200, 200&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And then just use the values from the script (when specified) as the caption background color:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(len(R),rgb(R,G,B))&lt;/P&gt;&lt;P&gt;If you're fairly certain you won't be adding new product types, I might settle for skipping that part of the script and just using this instead:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(match("Product Type",'Banana','Strawberry','Apple','All fruit'),rgb(255,255,200),rgb(255,200,200),rgb(200,255,200),lightgray())&lt;/P&gt;&lt;P&gt;And if you really MUST have buttons, I'd set them up with actions to do the selection for you as Karl said. I think that's a waste, though, both of screen real-estate and of effort. The example includes one such button. I wouldn't use the variable approach for color because if you, say, hit clear, the caption would still be yellow because clear doesn't clear variables. I assume we want the color connected to the Product Type itself, and saying "change color when I press the button" was just shorthand for that.&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 23:32:40 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-04-19T23:32:40Z</dc:date>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188725#M1281231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Really new to qlikview so sorry if this is a basic question, but I was hoping to have a series of buttons which when clicked would change the caption colour and data selections used in charts.&lt;/P&gt;&lt;P&gt;To give a bit more context I have some data which looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 435pt; border-collapse: collapse;" width="579"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;" width="73" /&gt;&lt;COL style="width: 66pt; mso-width-source: userset; mso-width-alt: 3218;" width="88" /&gt;&lt;COL span="3" style="width: 76pt; mso-width-source: userset; mso-width-alt: 3693;" width="101" /&gt;&lt;COL style="width: 86pt; mso-width-source: userset; mso-width-alt: 4205;" width="115" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="background-color: transparent; width: 55pt; height: 15pt; border: windowtext 0.5pt solid;" width="73"&gt;Contact_id&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 66pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="88"&gt;Product Type&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 76pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="101"&gt;Purchases 2009&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 76pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="101"&gt;Purchases 2010&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 76pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="101"&gt;Type2009&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 86pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="115"&gt;Type2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 15pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;Banana&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;0&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;Non purchaser&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;New purchaser&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 15pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;Apple&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;New purchaser&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2yrs consecutive&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 15pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;Strawberry&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;0&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;New purchaser&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;Lapsed Purchaser&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl63" height="20" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 15pt; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;All fruit&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;6&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;New purchaser&lt;/TD&gt;&lt;TD class="xl63" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2yrs consecutive&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And what I was hoping to be able to create was 4 buttons (labelled banana / apple / strawberry / all fruit) each of which would have a colour (i.e. yellow for banana).&lt;/P&gt;&lt;P&gt;I would then need the colour of the chart to be the same as the colour of the button clicked upon, and to only show data relating to that field, so if the user clicks on the yellow banana button, they only see customer data for bananas and all chart headers appear yellow.&lt;/P&gt;&lt;P&gt;Is this something that is possible within qlikview?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Davin &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188725#M1281231</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188726#M1281233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Davin,&lt;/P&gt;&lt;P&gt;The field selection is easy since you can create an action in the button that once clicked selected values in a field. The action is call Select in Field in the group Selection.&lt;/P&gt;&lt;P&gt;Changing the color is not as direct, but it's still possible. First, create a variable called vColor, and then, for example, in the banana button create an action called Set Variable in the External group and assign the vColor variable the value yellow(). Finally, in the caption tab of the chart properties window, click on the background color and enable the Calculated radio button. Put the expression =$(vColor) in the expression field and you should now have a caption color that changes when you click the banan button.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 21:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188726#M1281233</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-04-19T21:03:01Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188727#M1281236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't use buttons. This sounds like standard selection logic, so I would simply use a list box. Get your users used to the standard behavior of QlikView rather than launching right into making things behave differently than default. You'll make things much easier on yourself if you can later add a new product type by, well, doing nothing.&lt;/P&gt;&lt;P&gt;For the chart header, I'd likely load in the colors as script.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Product Type Colors]:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Product Type, R, G, B&lt;BR /&gt;Banana, 255, 255, 200&lt;BR /&gt;Apple, 200, 255, 200&lt;BR /&gt;Strawberry, 255, 200, 200&lt;BR /&gt;All fruit, 200, 200, 200&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And then just use the values from the script (when specified) as the caption background color:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(len(R),rgb(R,G,B))&lt;/P&gt;&lt;P&gt;If you're fairly certain you won't be adding new product types, I might settle for skipping that part of the script and just using this instead:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(match("Product Type",'Banana','Strawberry','Apple','All fruit'),rgb(255,255,200),rgb(255,200,200),rgb(200,255,200),lightgray())&lt;/P&gt;&lt;P&gt;And if you really MUST have buttons, I'd set them up with actions to do the selection for you as Karl said. I think that's a waste, though, both of screen real-estate and of effort. The example includes one such button. I wouldn't use the variable approach for color because if you, say, hit clear, the caption would still be yellow because clear doesn't clear variables. I assume we want the color connected to the Product Type itself, and saying "change color when I press the button" was just shorthand for that.&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 23:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188727#M1281236</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-19T23:32:40Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188728#M1281239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;Thanks for the advice - is the action feature something which is available in qlikview 8.5 (as this is the version I am working with) as I can't see it when clicking on the properties box of a button.&lt;/P&gt;&lt;P&gt;Would it be possible to include a default colour scheme so that when the data is cleared the colour of captions would go back to this colour (in this case the 'all fruit' colour would be the default if no other fruit type would be selected.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;BR /&gt;Davin &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188728#M1281239</guid>
      <dc:creator />
      <dc:date>2011-04-20T10:11:22Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188729#M1281241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thanks for this, it looks like it would do the job fine, and I agree that for the extra effort of using buttons it's probably not worth it!&lt;/P&gt;&lt;P&gt;Could I ask for a little explanation of how the&lt;/P&gt;&lt;P&gt;if(len(R),rgb(R,G,B))&lt;/P&gt;&lt;P&gt;pick(match(...&lt;/P&gt;&lt;P&gt;work?&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 10:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188729#M1281241</guid>
      <dc:creator />
      <dc:date>2011-04-20T10:33:52Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188730#M1281243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure! Let's start with this one, which I've just realized has a minor bug.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(len(R),rgb(R,G,B))&lt;/P&gt;&lt;P&gt;QlikView wants an expression that returns a color. There are a number of color functions, like rgb(), argb(), yellow() and so on. We're using rgb(), which requires three parameters between 0 and 255. Our inline table gives us the values we'd like to use for each of these parameters. Now, normally, with no product type selected, a reference to a field like R will return null, because there are multiple possible values. But if we select a product type, now only one value of R is possible, so it will now be a number. The number could be 0, so we can't just check for R. Instead, we want to check that R is non-null. For that, you might think we'd use "not isnull(R)", except that isnull() doesn't work properly in 64 bit, or at least didn't. I haven't checked version 10. So I've gotten in the habit of using len() as my null test. Len(null()) = 0. Len(anything else) &amp;gt; 0. So basically, if(len(R)...) is my shorthand way of saying "if a product type is selected".&lt;/P&gt;&lt;P&gt;The bug is that I should have just checked product type. If two product types have the same R value, and we select just those two product types, len(R) will be &amp;gt; 0, but we do NOT want to use the color expression. We could do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(len("Product Type"),rgb(R,G,B))&lt;/P&gt;&lt;P&gt;But I think it would actually be better to do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(len(R) and len(G) and len(B), rgb(R,G,B))&lt;/P&gt;&lt;P&gt;The idea here is that if you select two product types with the exact same color, we might as well display that color.&lt;/P&gt;&lt;P&gt;There's no "else" value for our if, so if we haven't selected a product type, it returns null(). In a color expression, null() means "use whatever color you would have used if this expression isn't here". So it defaults the caption background to the normal caption background color.&lt;/P&gt;&lt;P&gt;OK, now on to this expression:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;pick(match("Product Type",'Banana','Strawberry','Apple','All fruit'),rgb(255,255,200),rgb(255,200,200),rgb(200,255,200),lightgray())&lt;/P&gt;&lt;P&gt;First, let's consider the match() function. It returns the position of the first match in the list. So in this case, it will return 1 if Product Type = 'Banana', 2 for Strawberry, etc. The pick() function, on the other hand, returns the value in the given position. So it will return rgb(255,255,200) for 1, rgb(255,200,200) for 2, and so on. Put them together, and it's a way of saying "if product type is banana, use color rgb(255,255,200), else if product type is 'Strawberry', use color rgb(255,200,200)" and so on. Now, we COULD have written that as a nested if, which would have been clearer:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if("Product Type"='Banana' ,rgb(255,255,200)&lt;BR /&gt;,if("Product Type"='Strawberry',rgb(255,200,200)&lt;BR /&gt;,if("Product Type"='Apple' ,rgb(200,255,200)&lt;BR /&gt;,if("Product Type"='All fruit' ,lightgray()))))&lt;/P&gt;&lt;P&gt;But a pick(match()) is a commonly-used shorthand, and one I think people should get used to seeing regardless of how they personally choose to code it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 18:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188730#M1281243</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-20T18:44:08Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188731#M1281245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;DavinRM21 wrote:is the action feature something which is available in qlikview 8.5 (as this is the version I am working with) as I can't see it when clicking on the properties box of a button.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Actions were introduced in version 9 as I recall. For version 8.5, you'd have to code visual basic macros. They're pretty simple macros, but they come with some significant disadvantages. I think in 8.5 ANY macro still flushed all cached data. So your user might be going between charts, and everything's cached so it's fast, and then they hit a button, and poof, all the charts slow to a crawl until QlikView gets them cached again. Click another button, slow again. Now, I've used lots of macros, and continue to do so, and haven't found this to be a big problem in practice, but it's still at least a bit of a problem. So all the more reason to do this with a list box instead of buttons, I'd say.&lt;/P&gt;&lt;P&gt;I think the consensus advice about macros is that if you have any other practical way to solve the problem, do it some other way. A macro is a powerful tool that is sometimes necessary, but reserve it for when it's truly necessary. Think of it as a sledgehammer or a chain saw when you typically want a scalpel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 18:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188731#M1281245</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-20T18:53:26Z</dc:date>
    </item>
    <item>
      <title>Getting buttons to alter formats and filter data selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188732#M1281247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic - thanks for the clear explanation of how the formulae work and taking the time to sort this out for me, works amazingly! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 08:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-buttons-to-alter-formats-and-filter-data-selection/m-p/188732#M1281247</guid>
      <dc:creator />
      <dc:date>2011-04-21T08:37:32Z</dc:date>
    </item>
  </channel>
</rss>

