<?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: Creating a guage from text field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719357#M1075927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that field is the result of a calculation?&lt;/P&gt;&lt;P&gt;Just create a traffic light gauge and assign five segments to it - untick the checkboxes at the bottom, then you can assign a starting_value for each segment. They need not necessarily be equally distributed, but since you have five values, that seems the easiest.&lt;/P&gt;&lt;P&gt;The only problem is, you cannot assign text_values to those segments, so you need to map them with numeric values - you can do that via a mapping table and the ApplyMap() command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 13:44:15 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-07-21T13:44:15Z</dc:date>
    <item>
      <title>Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719356#M1075926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field with 5 possible text values -&lt;/P&gt;&lt;P&gt;Far ahead&lt;/P&gt;&lt;P&gt;Ahead&lt;/P&gt;&lt;P&gt;On track&lt;/P&gt;&lt;P&gt;Behind&lt;/P&gt;&lt;P&gt;Far behind&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a traffic light gauge with a colour for each of the five values e.g. red for 'far behind', green for 'far ahead' etc.&amp;nbsp; How do I do this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719356#M1075926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719357#M1075927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that field is the result of a calculation?&lt;/P&gt;&lt;P&gt;Just create a traffic light gauge and assign five segments to it - untick the checkboxes at the bottom, then you can assign a starting_value for each segment. They need not necessarily be equally distributed, but since you have five values, that seems the easiest.&lt;/P&gt;&lt;P&gt;The only problem is, you cannot assign text_values to those segments, so you need to map them with numeric values - you can do that via a mapping table and the ApplyMap() command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719357#M1075927</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-21T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719358#M1075928</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;May be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719358#M1075928</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-21T13:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719359#M1075929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. &lt;/P&gt;&lt;P&gt;The field is the result of management judgement rather than a calculation.&lt;/P&gt;&lt;P&gt;I am not familiar with mapping tables or the ApplyMap() command.&amp;nbsp; Would you be willing to supply an example?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719359#M1075929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T13:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719360#M1075930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can always use pick(match()). Then just use different segments for what you want. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(FIELD, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Far ahead', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Ahead', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;On track', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Behind', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Far behind'), 5, 4, 3, 2, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719360#M1075930</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-07-21T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719361#M1075931</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;Have you look at my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719361#M1075931</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-21T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719362#M1075932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; How would I apply your expression to work out a traffic light value for each of the areas in the following data:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Fields.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/62794_Fields.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719362#M1075932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719363#M1075933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YOU MEAN THIS?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can always use pick(match()). Then just use different segments for what you want. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;pick(match(FIELD, '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;Far ahead', '&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;Ahead', '&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;On track', '&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;Behind', '&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;Far behind'), 5, 4, 3, 2, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 19:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719363#M1075933</guid>
      <dc:creator />
      <dc:date>2014-07-21T19:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719364#M1075934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. So this applies a numeric value to the FIELD values and I can now get the gauge to work nicely. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I introduce another field into the expression? e.g. &lt;/P&gt;&lt;P&gt;pick(match(([$&amp;lt;OTHERFIELD={'x'}&amp;gt;} FIELD, 'Far ahead', 'Ahead', 'On track', 'Behind', 'Far behind'), 5, 4, 3, 2, 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 10:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719364#M1075934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T10:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719365#M1075935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Match does not allow for set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the only function inside:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pick(match(only({&amp;lt;FIELD2 = {'x'}&amp;gt;}FIELD), '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Far ahead', '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ahead', '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;On track', '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Behind', '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Far behind'), 5, 4, 3, 2, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 14:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719365#M1075935</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-07-22T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a guage from text field</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719366#M1075936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeremiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 15:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-guage-from-text-field/m-p/719366#M1075936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T15:05:47Z</dc:date>
    </item>
  </channel>
</rss>

