<?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 Traffic Light Gauge within Straight Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Traffic-Light-Gauge-within-Straight-Table/m-p/2513430#M105329</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to develop traffic light gauges within a straight table that bases colours off 'Category' rather than hard coded values.&lt;/P&gt;&lt;P&gt;Anyone had any luck achieving this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NickBentley_1-1744081319377.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179438i5907B4173731F920/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NickBentley_1-1744081319377.png" alt="NickBentley_1-1744081319377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NickBentley_0-1744081305774.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179437i35844BC56986B9A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NickBentley_0-1744081305774.png" alt="NickBentley_0-1744081305774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 03:04:46 GMT</pubDate>
    <dc:creator>NickBentley</dc:creator>
    <dc:date>2025-04-08T03:04:46Z</dc:date>
    <item>
      <title>Traffic Light Gauge within Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Traffic-Light-Gauge-within-Straight-Table/m-p/2513430#M105329</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to develop traffic light gauges within a straight table that bases colours off 'Category' rather than hard coded values.&lt;/P&gt;&lt;P&gt;Anyone had any luck achieving this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NickBentley_1-1744081319377.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179438i5907B4173731F920/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NickBentley_1-1744081319377.png" alt="NickBentley_1-1744081319377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NickBentley_0-1744081305774.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179437i35844BC56986B9A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NickBentley_0-1744081305774.png" alt="NickBentley_0-1744081305774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 03:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Traffic-Light-Gauge-within-Straight-Table/m-p/2513430#M105329</guid>
      <dc:creator>NickBentley</dc:creator>
      <dc:date>2025-04-08T03:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic Light Gauge within Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Traffic-Light-Gauge-within-Straight-Table/m-p/2513457#M105334</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let's try one answer. I loaded your data with :&lt;/P&gt;&lt;P&gt;Color:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Category, Color, ValueMin&lt;BR /&gt;Fruit_Veg, 128994, 7&lt;BR /&gt;Fruit_Veg, 128993, 4&lt;BR /&gt;Fruit_Veg, 128992, 0&lt;BR /&gt;Poultry, 128994, 5&lt;BR /&gt;Poultry, 128993, 2&lt;BR /&gt;Poultry, 128992, 0&lt;BR /&gt;Meat, 128994, 6&lt;BR /&gt;Meat, 128993, 5&lt;BR /&gt;Meat, 128992, 0&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;// 128992 = Red bulb, 128993 = Yellow bulb, 128994 = Green bulb&lt;/P&gt;&lt;P&gt;data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ID, Product, Category, Qty&lt;BR /&gt;1, Apple, Fruit_Veg, 3&lt;BR /&gt;2, Apple, Fruit_Veg, 5&lt;BR /&gt;3, Chicken, Poultry, 6&lt;BR /&gt;4, Pear, Fruit_Veg, 7&lt;BR /&gt;5, Steak, Meat, 6&lt;BR /&gt;6, Steak, Meat, 2&lt;BR /&gt;7, Steak, Meat, 3&lt;BR /&gt;8, Duck, Poultry, 9&lt;BR /&gt;9, Chicken, Poultry, 3&lt;BR /&gt;10, Chicken, Poultry, 2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Is this what you are trying to achieve ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SRA_1-1744099267173.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179441iE729CCAED496F657/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SRA_1-1744099267173.png" alt="SRA_1-1744099267173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Quantity measure is :&lt;/P&gt;&lt;P&gt;=Sum(Qty)&lt;/P&gt;&lt;P&gt;Traffic light measure is :&lt;/P&gt;&lt;P&gt;=If(Sum(Qty)&amp;lt;FirstSortedValue(ValueMin,ValueMin,2), Chr(FirstSortedValue(Color,ValueMin,1)),&lt;BR /&gt;If(Sum(Qty)&amp;lt;FirstSortedValue(ValueMin,ValueMin,3), Chr(FirstSortedValue(Color,ValueMin,2)), Chr(FirstSortedValue(Color,ValueMin,3))))&lt;/P&gt;&lt;P&gt;I hope this answer will help you. If yes you can tick the answer as a solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 09:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Traffic-Light-Gauge-within-Straight-Table/m-p/2513457#M105334</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2025-04-08T09:34:30Z</dc:date>
    </item>
  </channel>
</rss>

