<?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: Filtering by a calculated measure involving multiple fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207086#M462187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologizes as I won't be able to help as I don't have those extensions and I don't mind downloading them, but I have very limited knowledge on how to use them. I hope someone with more expertise in Qlik Sense might help you better here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 16:03:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-11T16:03:21Z</dc:date>
    <item>
      <title>Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207080#M462181</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;I am trying to use a calculated measure as a way to filter my data, but it's looking more difficult than expected. Let me explain through an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data of the following type, with two dimensions - one is a unique ID, the a category - and four measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139970_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first step is to rank each element by its score, where the ranking is evaluated within the same category.&amp;nbsp; I therefore create a new measure (found thanks to the help of another community member, see this &lt;A _jive_internal="true" href="https://community.qlik.com/message/1137867"&gt;question&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;STRONG&gt;=aggr(rank(sum(Score1)), Category, UniqueID)&lt;/STRONG&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this for all three scores, resulting in three new calculated measures. My final calculated measure is the average of the three rankings. Below the example, the calculated measure of interest is the one in bold. Note that in my real world calculation I directly evaluate 'New Measure', without creating the intermediate columns 'RankingScore'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/139971_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note that this measure is tricky, as it changes according to previous selections&lt;/STRONG&gt;. Say, for instance, that I select only entries with 'Amount' &amp;gt; 1000. The relative rankings will change and therefore also 'New Measure':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/139972_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my actual App I need to filter my entries by 'New Measure', after I've done some previous selections on fields like 'Amount'. If it simply were a field, I would normally have created a filter pane, our used the &lt;A href="http://branch.qlik.com/#!/project/56728f52d1e497241ae697f8"&gt;qsVariable &lt;/A&gt;extension to have a slide range, to select only rows with 'New Measure' above a set threshold. Unfortunately it seems I cannot do that with my calculated measure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you approach the problem? I was wondering, for example, if it were possible to 'convert' my new measure to an actual field, after all previous selections have done, but perhaps this is nonsense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance, and apologies for the long post!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 12:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207080#M462181</guid>
      <dc:creator />
      <dc:date>2016-10-07T12:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207081#M462182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First is this QlikView or Qlik Sense?&lt;/P&gt;&lt;P&gt;Second, would you be able to provide a sample to work with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207081#M462182</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T16:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207082#M462183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I am working on Qlik Sense Desktop &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;By sample you mean a raw table (say in csv or excel), or a Qlik work file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207082#M462183</guid>
      <dc:creator />
      <dc:date>2016-10-07T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207083#M462184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A qvf file would be better because then we can look straight into the issue, else we will have to recreate the whole issue before we can offer any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207083#M462184</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207084#M462185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a sample work replicating the issue, you can download it from &lt;A href="https://dl.dropboxusercontent.com/u/64345279/Qlik%20problem.qvf"&gt;here&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;Note that I am using two extensions, &lt;A href="http://branch.qlik.com/#!/project/56728f52d1e497241ae697f8"&gt;qsVariable&lt;/A&gt; and &lt;A href="http://branch.qlik.com/#!/project/56728f52d1e497241ae698a0"&gt;Sheet Navigation + Actions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, I create sliders to filter my data according to fields 'Amount1' and 'Amount2'. I want to be able to do the same with my calculated measure 'Score_Avg', which embeds category-relative rankings as I described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the files works and is clear enough!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 17:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207084#M462185</guid>
      <dc:creator />
      <dc:date>2016-10-07T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207085#M462186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone who can give me their opinion?&lt;/P&gt;&lt;P&gt;I would much appreciate it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 14:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207085#M462186</guid>
      <dc:creator />
      <dc:date>2016-10-11T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207086#M462187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologizes as I won't be able to help as I don't have those extensions and I don't mind downloading them, but I have very limited knowledge on how to use them. I hope someone with more expertise in Qlik Sense might help you better here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 16:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207086#M462187</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-11T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207087#M462188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a solution with the assistance of another user in &lt;A href="http://stackoverflow.com/questions/39917942/filtering-by-a-calculated-measure-involving-multiple-fields-in-qlik-sense/39983623"&gt;Stack Overflow&lt;/A&gt;. Just wanted to share it here with the rest of the Qlik community. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207087#M462188</guid>
      <dc:creator />
      <dc:date>2016-10-18T15:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by a calculated measure involving multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207088#M462189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano, would you mind uploading the same qvf file you posted previously but wit the solution implemented?&amp;nbsp; that would help me understand the workaround you are referring to.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 09:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-a-calculated-measure-involving-multiple-fields/m-p/1207088#M462189</guid>
      <dc:creator>odassier</dc:creator>
      <dc:date>2017-01-06T09:29:28Z</dc:date>
    </item>
  </channel>
</rss>

