<?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: Using an Expression as a Set Analysis Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722724#M1086870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached sample .qvw below along with a detailed description. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jun 2014 17:36:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-22T17:36:40Z</dc:date>
    <item>
      <title>Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722718#M1086864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am displaying a line graph of multiple application names and their corresponding "uptime" percentage per month / year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimensions are Year, month in a drill down group and app name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year, month on the X axis and App name on Y axis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need for the graph to show only uptime based on the year 2013 and not the current selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is what I have and I would appreciate any help getting this to work.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum({&amp;lt;Year = {2013}&amp;gt;}(([Minutes MTD] - sum([Total_Impact_Minutes])) / ([Minutes MTD]))) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2014 22:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722718#M1086864</guid>
      <dc:creator />
      <dc:date>2014-06-21T22:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722719#M1086865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 04:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722719#M1086865</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-06-22T04:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722720#M1086866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;pls specify the formula that u want to implement the set analysis.&lt;/P&gt;&lt;P&gt;u don't need to implement the set analysis in only one aggregate function as u have done now.&lt;/P&gt;&lt;P&gt;what u have done now is&lt;/P&gt;&lt;P&gt;(a {set analysis} -b/c).&lt;/P&gt;&lt;P&gt;I would prefer to use it as&lt;/P&gt;&lt;P&gt;((a{Set analysis})-(b{set analysis}))/(c{set analysis})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={$(=max(year))}&amp;gt;}sales) this would return the max year among the selection.&lt;/P&gt;&lt;P&gt; where sum({1&amp;lt;year={$(=max(year))}&amp;gt;}sales) this would return the max year irrespective of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 04:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722720#M1086866</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-06-22T04:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722721#M1086867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;//first formula&lt;/P&gt;&lt;P&gt;= sum({&amp;lt;Year = {2013}&amp;gt;}(([Minutes MTD]&lt;/P&gt;&lt;P&gt;// is this the second formula?&lt;/P&gt;&lt;P&gt;- sum([Total_Impact_Minutes])) / ([Minutes MTD])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting an error at present? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 10:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722721#M1086867</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-06-22T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722722#M1086868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the graph that I want to display that is independent to the current selections. The expression that I am using shows the uptime for the application. The current expression is&amp;nbsp; "=(([Minutes MTD] - sum([Total_Impact_Minutes])) / ([Minutes MTD]))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Minutes MTD] is the number of minutes per month&lt;/P&gt;&lt;P&gt;sum[Total_Impact_Minutes] is the sum of the impact minutes for the application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example for "Internet Availability in July 2013" there was a total of an 2 minute outage. In order to achieve the uptime % for Internet Availability in July 2013 I have to calculate the following. &lt;/P&gt;&lt;P&gt;=(([Minutes MTD] - sum([Total_Impact_Minutes])) / ([Minutes MTD]))"&lt;/P&gt;&lt;P&gt;=(([44640] - sum([2])) / ([44640])) =&amp;nbsp; roughly 0.999955&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is set analysis the best way to achieve this to show only the year 2013 and not based on current selections?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ScreenShot.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60943_ScreenShot.PNG.png" style="width: 620px; height: 279px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 17:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722722#M1086868</guid>
      <dc:creator />
      <dc:date>2014-06-22T17:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722723#M1086869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tab that contains what I need help on is called "uptime 2013"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 17:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722723#M1086869</guid>
      <dc:creator />
      <dc:date>2014-06-22T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722724#M1086870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached sample .qvw below along with a detailed description. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 17:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722724#M1086870</guid>
      <dc:creator />
      <dc:date>2014-06-22T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722725#M1086871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RJ, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help! The suggestion did not work. I have attached sample .qvw below. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jun 2014 17:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722725#M1086871</guid>
      <dc:creator />
      <dc:date>2014-06-22T17:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression as a Set Analysis Value</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722726#M1086872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was a question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm unsure what you are trying to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 06:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-as-a-Set-Analysis-Value/m-p/722726#M1086872</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2014-06-23T06:04:36Z</dc:date>
    </item>
  </channel>
</rss>

