<?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 gauge problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334005#M572030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem creating a gauge using data in a specific set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gauge is ment to display a percentage of used data in a month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to allways display data in the current month and year, no matter what the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is displayed in cdr_data_in_kb and it is separated in different categories. I only need it to display data in the category DBS1, the category is named dataservice_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so far i created this analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;dataservice_type={$(='dbs1')}&amp;gt;}cdr_data_in_kb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not display the correct data when i select the month and the year mannualy and it does not change when i select no month or year (which it should)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what i am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bonusquestion; how do i show the data in MB in stead of KB? /1024 does not seem to work with the gauges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2012 11:48:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-02T11:48:54Z</dc:date>
    <item>
      <title>gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334005#M572030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem creating a gauge using data in a specific set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gauge is ment to display a percentage of used data in a month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to allways display data in the current month and year, no matter what the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is displayed in cdr_data_in_kb and it is separated in different categories. I only need it to display data in the category DBS1, the category is named dataservice_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so far i created this analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;dataservice_type={$(='dbs1')}&amp;gt;}cdr_data_in_kb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not display the correct data when i select the month and the year mannualy and it does not change when i select no month or year (which it should)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what i am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bonusquestion; how do i show the data in MB in stead of KB? /1024 does not seem to work with the gauges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334005#M572030</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334006#M572031</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; What i understood is you want to have a gauge chart which shows you the percentage usage of the category DBS1 in comparision with over all usage. And that too only for current Month and Year. If yes then try this expression in guage chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;dataservice_type = {"dbs1"},Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"}&amp;gt;}cdr_data_in_kb)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"}&amp;gt;}cdr_data_in_kb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And go to Number tab of the chart properties and select the show in percentage option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bonus Answer. When you are taking the percentage it doesnt matter whether the data is in KB or in MB. For example If I have 10240 KB /&amp;nbsp; 1024000 KB will give me 10% and same if i Use in MB 10 MB / 100 MB will also give me 10%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334006#M572031</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-02T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334007#M572032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer but i need the gauge to show the amount of data used in the DBS1 category compared by the maximum availablein the DBS1 (max available would be bundle_size_mb * amount of DBS1 connections in database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the amount of data used in MB on average&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am guessing the AVG function is a better solution, but i do not know for sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334007#M572032</guid>
      <dc:creator />
      <dc:date>2012-08-02T12:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334008#M572033</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;&amp;nbsp;&amp;nbsp; If possible pls give us some exaple of your data so that we can help you to get what you exactly looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334008#M572033</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-02T12:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334009#M572034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have different categories of data users&lt;/P&gt;&lt;P&gt;one of those categories is DBS1&lt;/P&gt;&lt;P&gt;they all use different amounts of MB's but users in this category cannot exeed an average of 100MB&lt;/P&gt;&lt;P&gt;so i need the total amount of MB's used divided by the amount of users in the category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MB's used = "cdr_data_in_kb"&lt;/P&gt;&lt;P&gt;"DBS1" users are in category "dataservice_type"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached file of what i want the function to do, i did it in excel, i hope thats okay!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334009#M572034</guid>
      <dc:creator />
      <dc:date>2012-08-02T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334010#M572035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe this one is better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334010#M572035</guid>
      <dc:creator />
      <dc:date>2012-08-02T12:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334011#M572036</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;&amp;nbsp;&amp;nbsp; You can use this expression for the excel sheet you have given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"} &amp;gt;}cdr_data_in_kb)&lt;/P&gt;&lt;P&gt; / count({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"},dataservice_type = {"dbs1"}&amp;gt;}distinct user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This will give you the desired output for the current month Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334011#M572036</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-02T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334012#M572037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Sum({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"} &amp;gt;}cdr_data_in_kb)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; / count({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"},dataservice_type = {"dbs1"}&amp;gt;}distinct user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first bold part of the syntax still needs the limitation to the dataservice_type right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334012#M572037</guid>
      <dc:creator />
      <dc:date>2012-08-02T12:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334013#M572038</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;&amp;nbsp;&amp;nbsp; Yes sorry I missed Try this updated expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"}, dataservice_type = {"dbs1"}&amp;gt;}cdr_data_in_kb)&amp;nbsp; &lt;/P&gt;&lt;P&gt;/ count({&amp;lt;Month = {"$(=Max(Month))"},Year = {"$(=Max(Year))"},dataservice_type = {"dbs1"}&amp;gt;}distinct user)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334013#M572038</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-08-02T12:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334014#M572039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it does seem to work! &lt;/P&gt;&lt;P&gt;now the only problem is, i think, a database problem. The syntax gives me a different answer then when i try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;avg&lt;/STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-ansi-language: EN; mso-fareast-language: NL;"&gt;({&amp;lt;Month =&lt;BR /&gt;{"$(=Max(Month))"},Year =&lt;BR /&gt;{"$(=Max(Year))"},dataservice_type = {"dbs1"}&amp;gt;}cdr_data_in_kb)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or when i divide the amount of data used with the amount of users i have in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to disable the "distinct user" part of the syntax? if this gives a other result we now we have duplicates in the databases&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 13:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334014#M572039</guid>
      <dc:creator />
      <dc:date>2012-08-02T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: gauge problem</title>
      <link>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334015#M572040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind i allready found the problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help kaushik!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 13:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/gauge-problem/m-p/334015#M572040</guid>
      <dc:creator />
      <dc:date>2012-08-02T13:14:46Z</dc:date>
    </item>
  </channel>
</rss>

