<?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: Alt() Function with Applied Filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430718#M34353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read up on those functions and I haven't seen how they would be able to help with this situation. Could you be a little more specific as to how I could convert one of these functions to a sum of the desired field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 18:46:48 GMT</pubDate>
    <dc:creator>acbishop2</dc:creator>
    <dc:date>2017-12-20T18:46:48Z</dc:date>
    <item>
      <title>Alt() Function with Applied Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430716#M34351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a measure in Qlik Sense that is a conversion rate between two stages within a process, but I want to be able to change the stages based on a filter (or another way if it is easier). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My stages are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Prospects]&lt;/P&gt;&lt;P&gt;[Application Started]&lt;/P&gt;&lt;P&gt;[Application Completed]&lt;/P&gt;&lt;P&gt;[Processing]&lt;/P&gt;&lt;P&gt;[Funded]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to see the conversion rate between any two of these stages by applying a filter. For example, the conversion rate between [Prospects] and [Funded] would be Count([Funded]) / Count([Prospects]), and the conversion rate between [Application Started] and [Application Completed] would be Count([Application Completed]) / Count([Application Started]). Easy enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I don't want 10 KPI boxes to be able to show all possible conversion rates. I want one KPI box that will display a different conversion rate depending on what I select (likely in a filter box). For example, if I filter the Stage to [Application Started] and [Funded], the KPI box would automatically display the conversion rate between those two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the Alt() function, but I'm not sure if I'm going in the right direction. I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alt(Sum([Funded]),Sum([Processing]),Sum([Application Completed]),Sum([Application Started]),Sum([Prospects]))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Alt(Sum([Prospects]),Sum([Application Started]),Sum([Application Completed]),Sum([Processing]),Sum([Funded]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured 1) that if there were no filter applied, the KPI box would display the conversion from [Prospects] to [Funded] (first to last), and 2) that if a filter were applied, it would display the conversion rate between the first and last stages selected. The first is true and works just fine; however, if a filter that excludes either [Prospects] or [Funded] is applied, the KPI box displays nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there is a way to fix this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 20:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430716#M34351</guid>
      <dc:creator>acbishop2</dc:creator>
      <dc:date>2017-12-19T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alt() Function with Applied Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430717#M34352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried just using the GetCurrentSelections(), GetFieldSelections() , GetSelectedCount(), etc and then in the KPI apply the appropriate formula based on the selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 01:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430717#M34352</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-20T01:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alt() Function with Applied Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430718#M34353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read up on those functions and I haven't seen how they would be able to help with this situation. Could you be a little more specific as to how I could convert one of these functions to a sum of the desired field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430718#M34353</guid>
      <dc:creator>acbishop2</dc:creator>
      <dc:date>2017-12-20T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alt() Function with Applied Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430719#M34354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would prefer to create a InLine Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Stage,StageNo&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Prospects],1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Application Started],2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Application Completed],3&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Processing],4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Funded],5&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Then write the expression something like this.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(GetSelectedCount(Stage)=0 or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(GetSelectedCount(Stage)&amp;gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Count({&amp;lt;StageNo={"=Min(StageNo"}&amp;gt;}Stage)/&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;StageNo={"=Max(StageNo"}&amp;gt;}Stage)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(GetSelectedCount(Stage)=1,Count({&amp;lt;StageNo={"Only(StageNo)"}&amp;gt;}Stage)/Count({1}Funded)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Mukram&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 19:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-Function-with-Applied-Filter/m-p/1430719#M34354</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-12-20T19:21:19Z</dc:date>
    </item>
  </channel>
</rss>

