![]() This can be achieved in quite an elegant way using techniques that are already well known. Whilst the colour can’t be used to denote the active button, the dot either side of the label makes it clear which the active option is. Once we have this extension installed in Sense we can use it to build a set of toggle buttons that look like this: It does however allow an expression to be used for the button label – this gives us something to work with. This control (which you can get from this Branch Link) allows the setting of variables, but does not allow the colour of the button to be set based on a variable value. Fortunately there is a control for sheet navigation by Qlik staffer Stefan Walther which does some of what I wanted. The best way ahead, as I saw it, was to use an extension that could take a click and set a variable, and was as close to approved by Qlik as I could get. This is something that I believe Qlik will take steps to address at some point, but for now… However, can you give the IT team at your organisation a cast iron guarantee that the extension you have chosen to plug in will continue to work against all new versions of Sense and any data set you throw at it? The truth is perhaps not yet. You can get some really cutting edge visualisations that you can plug in for free, created by talented and driven individuals. The open source ecosystem that has been opened up around Qlik Sense is fantastic in some respects, but is problematic in others. It simply is not possible with Qlik Sense out of the box, so what I needed was some kind of compromise. This is not something I had time to do (they had seen how quick I had done the same in QlikView) and it was not something I was looking to maintain. The stock answer with Sense is that you can do absolutely anything – provided you write your own extension to do it. When I was with a client, who was aware of this approach in QlikView, and they asked me to do the same thing but in Qlik Sense, it struck me that this was not so straight forward. Once you have the ability to set a variable on a click then with Calculated Dimensions and the ability to pick an expression a lot of information can be conveyed through just a few objects. If you are not aware of how you can use buttons and variables in QlikView to have a more dynamic interface then you may want to read my previous post QlikView Buttons, Where, When and How. In QlikView this is straight forward, but in Qlik Sense it is less obvious, but this quick recipe shows how to do it. This gives more flexibility than cycle expressions and cycle groups alone – particularly when you want to affect a number of charts at the same time. One of the techniques that I often use in QlikView is having dynamic dimensions and expressions working off of toggle buttons. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |