<?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: Set Analysis Expression Help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725805#M55320</link>
    <description>&lt;P&gt;MU_Perc (1-23 values) is a percentage and ABC_Est_Cost is a number.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 16:19:02 GMT</pubDate>
    <dc:creator>robertsb41</dc:creator>
    <dc:date>2020-07-07T16:19:02Z</dc:date>
    <item>
      <title>Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725764#M55314</link>
      <description>&lt;P&gt;(Sum([ABC_Est_Cost]*[MU_Perc]) + Sum([ABC_Est_Cost]))&lt;/P&gt;&lt;P&gt;This expression works great but I want to only return the sum of this expression when:&lt;/P&gt;&lt;P&gt;([ABC_Est_Cost]*[MU_Perc]) + Sum([ABC_Est_Cost]) is &amp;lt; [Low_Comp_Bid]&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725764#M55314</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2024-11-16T01:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725776#M55315</link>
      <description>&lt;P&gt;count ({&amp;lt;ABC_Est_Cost={"=(ABC_Est_Cost) * (&lt;FONT color="#FF0000"&gt;MU_Perc&lt;/FONT&gt;) + (&lt;FONT color="#FF0000"&gt;ABC_Est_Cost&lt;/FONT&gt;) &amp;lt; Low_Comp_Bid"}&amp;gt;} ABC_Est_Cost)&lt;/P&gt;&lt;P&gt;This was my best effort but it only works if I replace &lt;FONT color="#FF0000"&gt;MU_Perc&lt;/FONT&gt; and &lt;FONT color="#FF0000"&gt;ABC_Est_Cost&lt;/FONT&gt; with numbers.&amp;nbsp; It always returns 0 when I try to use the field names.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725776#M55315</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T15:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725777#M55316</link>
      <description>&lt;P&gt;may be this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count ({&amp;lt;ABC_Est_Cost={"=(sum(ABC_Est_Cost) *sum (&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;MU_Perc&lt;/FONT&gt;&lt;SPAN&gt;) )+ sum(&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;ABC_Est_Cost&lt;/FONT&gt;&lt;SPAN&gt;) &amp;lt;sum( Low_Comp_Bid)"}&amp;gt;} ABC_Est_Cost)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725777#M55316</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725782#M55317</link>
      <description>&lt;P&gt;That still returns 0.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ABC_Est_Cost={"=(sum(ABC_Est_Cost) * sum(&lt;FONT color="#FF0000"&gt;1.01&lt;/FONT&gt;)) + sum(&lt;FONT color="#FF0000"&gt;1000&lt;/FONT&gt;) &amp;lt; sum(Low_Comp_Bid)"}&amp;gt;} ABC_Est_Cost)&lt;/P&gt;&lt;P&gt;But as soon as I replace &lt;FONT color="#FF0000"&gt;1.01&lt;/FONT&gt; with &lt;STRONG&gt;&lt;FONT color="#008000"&gt;MU_Perc&lt;/FONT&gt;&lt;/STRONG&gt; and &lt;FONT color="#FF0000"&gt;1000&lt;/FONT&gt; with &lt;STRONG&gt;&lt;FONT color="#008000"&gt;ABC_Est_Cost&lt;/FONT&gt;&lt;/STRONG&gt; it returns 0 again.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 15:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725782#M55317</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T15:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725803#M55319</link>
      <description>&lt;P&gt;Is your fields&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;MU_Perc &amp;amp;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;ABC_Est_Cost&lt;/FONT&gt;&lt;/STRONG&gt; are in number format? Would you be able to share example?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725803#M55319</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T16:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725805#M55320</link>
      <description>&lt;P&gt;MU_Perc (1-23 values) is a percentage and ABC_Est_Cost is a number.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725805#M55320</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725807#M55321</link>
      <description>&lt;P&gt;Without looking at the data it will be difficult to tell what will be the issue. Is it possible to share sample data?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725807#M55321</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725808#M55322</link>
      <description>&lt;P&gt;This is all dummy data so no worries.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725808#M55322</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725810#M55323</link>
      <description>&lt;P&gt;Sorry, its the markup analysis sheet and # of jobs won column.&amp;nbsp; That number should go down as the Markup% goes up.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725810#M55323</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T16:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725814#M55324</link>
      <description>&lt;P&gt;Can you tell me what could be the expected output with one example?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725814#M55324</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T16:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725818#M55325</link>
      <description>&lt;P&gt;1% Markup should return a value of 53.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725818#M55325</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725820#M55326</link>
      <description>&lt;P&gt;This works and would represent the 1% Markup but I need to use MU_Perc instead of .01 so that the other rows calculate properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ABC_Est_Cost={"=(ABC_Est_Cost) * (.01) + (ABC_Est_Cost) &amp;lt; sum(Low_Comp_Bid)"}&amp;gt;} ABC_Est_Cost)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 17:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725820#M55326</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725839#M55328</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;count(aggr(if(sum(ABC_Est_Cost*MU_Perc)+sum(ABC_Est_Cost)&amp;lt;sum(Low_Comp_Bid),ABC_Est_Cost),ABC_Est_Cost,MU_Perc))&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 18:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725839#M55328</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725853#M55332</link>
      <description>&lt;P&gt;You are a genius!&amp;nbsp; Do you know of any literature on these types of expressions?&amp;nbsp; I'd like to learn the logic that you used to write that.&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 19:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725853#M55332</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-07T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725895#M55334</link>
      <description>&lt;P&gt;Firstly, I am not genius&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;. I am still learning and still waiting to match the other experts over here. Well, best place to learn is this awesome community and also practice. Follow all the posts and answers provided by experts here which will help you to understand lot many new techniques. Try to understand the concepts by reading blogs for many techniques. Like for my answer you many want to learn how aggr function works then search for aggr function for qlik in google and you will find lot many resources. But don't forget to practice. Somebody said it right "Practice makes man perfect"&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 22:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1725895#M55334</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-07T22:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726147#M55356</link>
      <description>&lt;P&gt;I feel like I'm pushing me luck asking for more help but I'm stuck again.&lt;/P&gt;&lt;P&gt;sum(aggr(if(Sum(ABC_Est_Cost*MU_Perc)+Sum(ABC_Est_Cost)&amp;lt;sum(Low_Comp_Bid),ABC_Est_Cost*MU_Perc / (&lt;FONT color="#FF0000"&gt;2-1&lt;/FONT&gt;)),ABC_Est_Cost,MU_Perc))&lt;/P&gt;&lt;P&gt;The above aggr works as expected but when I replace &lt;FONT color="#FF0000"&gt;2-1&amp;nbsp;&lt;FONT color="#000000"&gt;with &lt;STRONG&gt;&lt;FONT color="#FF9900"&gt;Low_Comp_Bid - ABC_Est_Cost&lt;/FONT&gt;&lt;/STRONG&gt; it returns incorrect results.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Any ideas on this one?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 14:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726147#M55356</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-08T14:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726277#M55360</link>
      <description>&lt;P&gt;what should be the result? I am getting 11 for 1%&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 20:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726277#M55360</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-08T20:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726279#M55361</link>
      <description>&lt;P&gt;1% should be 15.2 but I think I got it with the below expression:&lt;/P&gt;&lt;P&gt;sum(aggr(if(Sum(ABC_Est_Cost*MU_Perc)+Sum(ABC_Est_Cost)&amp;lt;sum(Low_Comp_Bid),ABC_Est_Cost*MU_Perc),ABC_Est_Cost,MU_Perc)) /&lt;BR /&gt;sum(aggr(if(Sum(ABC_Est_Cost*MU_Perc)+Sum(ABC_Est_Cost)&amp;lt;sum(Low_Comp_Bid),Low_Comp_Bid - ABC_Est_Cost),ABC_Est_Cost,MU_Perc))&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 20:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Expression-Help/m-p/1726279#M55361</guid>
      <dc:creator>robertsb41</dc:creator>
      <dc:date>2020-07-08T20:56:38Z</dc:date>
    </item>
  </channel>
</rss>

