<?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: Make Gauge use part of data and make gauge selectable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688757#M249447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've uploaded a .qvw with the solution to your answer: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-7287"&gt;http://community.qlik.com/docs/DOC-7287&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show the average dangerlevel in the gauge you can use the following expression with set analysis, respectively for source01, source02 and source03: =avg({&amp;lt;sourceId={'source01'}&amp;gt;}dangerLevel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gauge.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69635_gauge.jpg" style="width: 620px; height: 239px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, wouter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2014 13:17:46 GMT</pubDate>
    <dc:creator>trappersw</dc:creator>
    <dc:date>2014-10-24T13:17:46Z</dc:date>
    <item>
      <title>Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688754#M249444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I placed my question in the wrong section and I couldn't get it to move here. Excuse me for double post, but here is my question again:&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;Hey Guys,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm a beginner at Qlikview and I couldn't figure this out.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have 2 tables like this:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Danger table:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;dangerId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sourceId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dangerLevel&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.8&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A020&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Source table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sourceId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sourceName&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;source01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exampleName1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;source02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exampleName2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;source03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exampleName3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What is want is three gauges, showing the average danger level per source. And when I click a gauge, a table shows which dangers correspond to that source.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am importing a database from SQL, I could alter the database if that would be better to solve this problem.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sijmen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 07:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688754#M249444</guid>
      <dc:creator />
      <dc:date>2014-10-24T07:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688755#M249445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gauges are not clickable. However you can put a transparent text box on top of it and assign an action to that text box. For example a Select in Field action to select the sourceid corresponding with the underlying gauge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 08:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688755#M249445</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-24T08:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688756#M249446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you, I will try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for the other question, how do I make a gauge show only the average value of dangerLevel of a certain source?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 08:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688756#M249446</guid>
      <dc:creator />
      <dc:date>2014-10-24T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688757#M249447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've uploaded a .qvw with the solution to your answer: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-7287"&gt;http://community.qlik.com/docs/DOC-7287&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show the average dangerlevel in the gauge you can use the following expression with set analysis, respectively for source01, source02 and source03: =avg({&amp;lt;sourceId={'source01'}&amp;gt;}dangerLevel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gauge.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69635_gauge.jpg" style="width: 620px; height: 239px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, wouter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 13:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688757#M249447</guid>
      <dc:creator>trappersw</dc:creator>
      <dc:date>2014-10-24T13:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688758#M249448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand the example, but I still didn't get it to work in my actual app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a SQL database which I import into qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the following statement in your load script really matter:&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Danger);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I could not use that with my SQL statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688758#M249448</guid>
      <dc:creator />
      <dc:date>2014-10-28T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688759#M249449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(ooxml, embedded labels, table is Danger) is a filter that tells the load statement what kind of source file it's dealing with. ooxml means an .xlsx excel file. Embedded labels means to use the column names in the excel table as field names. Danger is the sheet name from the excel file that should be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting data from an SQL database you first open a connection to the database using the CONNECT statement. You then use a SELECT statement to get the data from the database. Optionally you can use a preceding LOAD statement to further process the data you retrieve from the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688759#M249449</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T09:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688760#M249450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I imported the database earlier, that was not a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I change this: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;=avg({&amp;lt;sourceId={'source01'}&amp;gt;}dangerLevel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to this: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;=avg({&amp;lt;TerminalId={'769DC483-C9C5-41A1-83A1-9EDQ00FEF087'}&amp;gt;}DangerLevel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not show anything, giving 'No data to display' in the gauge object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my import statement:&lt;/P&gt;&lt;P&gt;Dangers:&lt;/P&gt;&lt;P&gt;SQL SELECT DangerId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DangerLevel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TerminalId&lt;/P&gt;&lt;P&gt;FROM database.Dangers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The import is succesful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow the Id's get between brackets when imported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following statement worked:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;=avg({&amp;lt;TerminalId={'{769DC483-C9C5-41A1-83A1-9EDQ00FEF087}'}&amp;gt;}DangerLevel)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688760#M249450</guid>
      <dc:creator />
      <dc:date>2014-10-28T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Make Gauge use part of data and make gauge selectable</title>
      <link>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688761#M249451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without looking at the actual data I cannot say why you get that message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 09:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-Gauge-use-part-of-data-and-make-gauge-selectable/m-p/688761#M249451</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-28T09:27:26Z</dc:date>
    </item>
  </channel>
</rss>

