<?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: Need a help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383198#M1166305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}&amp;gt;} If (Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0, Flights.FlightID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}&amp;gt;} Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Count( Flights.FlightID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You want to use "full" Set Analysis expression, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}, Flights.FlightID={"=Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0"}&amp;gt;} Flights.FlightID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Sep 2012 14:34:03 GMT</pubDate>
    <dc:creator>sebastiandperei</dc:creator>
    <dc:date>2012-09-01T14:34:03Z</dc:date>
    <item>
      <title>Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383196#M1166303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All.&lt;/P&gt;&lt;P&gt;i want to create a bar chart which shows 4 bars without dimension.&lt;/P&gt;&lt;P&gt;four bars as follows Green , Red ,Black ,Yellow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) expression for Green Bar----&amp;gt; count(Flights.FlightID) when ReceptaclesTransactions.ProcedureID=1 and Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) expression for Red Bar----&amp;gt; count(Flights.FlightID) when ReceptaclesTransactions.ProcedureID&amp;lt;&amp;gt;1 and Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) expression for Black Bar----&amp;gt; count(Flights.FlightID) when Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) expression for Yellow Bar----&amp;gt; count(Flights.FlightID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried by using if condition but it's not working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i also tried by creating a variable&amp;nbsp; vCount_DispatchID=count(Dispatches.DispatchID)&lt;/P&gt;&lt;P&gt;like in set anlaysis for 1 expression&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;ReceptaclesTransactions.ProcedureID={1} , vCount_DispatchID-={0} &amp;gt;} Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please help me out to solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2012 11:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383196#M1166303</guid>
      <dc:creator />
      <dc:date>2012-09-01T11:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383197#M1166304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you use a set analysis?&amp;nbsp; Why do you calculate from script four expression whit a group by? if you calcoleted from script le performance is best than calculated from tab .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2012 12:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383197#M1166304</guid>
      <dc:creator />
      <dc:date>2012-09-01T12:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383198#M1166305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}&amp;gt;} If (Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0, Flights.FlightID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}&amp;gt;} Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Count( Flights.FlightID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You want to use "full" Set Analysis expression, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Count({&amp;lt;ReceptaclesTransactions.ProcedureID={"1"}, Flights.FlightID={"=Count(Dispatches.DispatchID)&amp;lt;&amp;gt;0"}&amp;gt;} Flights.FlightID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2012 14:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383198#M1166305</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-09-01T14:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383199#M1166306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;SPAN style="text-decoration: underline;"&gt; &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/sebastiandpereira" id="jive-73742173837462842336" style="background-color: #f9f9f9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;Sebastian Pereira&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried your solution but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21352" alt="export.png" class="jive-image-thumbnail jive-image" height="346" src="https://community.qlik.com/legacyfs/online/21352_export.png" style="width: 648px; height: 345.6px;" width="648" /&gt;&lt;/P&gt;&lt;P&gt; this is some part of the my data model. which i am using in the following scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i need a barchart which show four bars as i discussed in previous reply..&lt;/P&gt;&lt;P&gt;Like RED ,BLACK ,GREEN and ALL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any body need any more details then let me know.&lt;/P&gt;&lt;P&gt;so please some one help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 21:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383199#M1166306</guid>
      <dc:creator />
      <dc:date>2012-09-04T21:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383200#M1166307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please send a copy? reduced at least...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 02:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383200#M1166307</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-09-05T02:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383201#M1166308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bar chart :&lt;/P&gt;&lt;P&gt;i tired the following expression but it's not giving proper solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)For RED Bar Expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;ReceptacleTransactions.ProcedureID -={"1"}, Flights.FlightID={"=Count(Dispatches.DispatchID&amp;lt;&amp;gt;0"}&amp;gt;}Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Black:&lt;/P&gt;&lt;P&gt;&amp;nbsp; =count(If(vCount_DisptachID=0,(Flights.FlightID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For GREEN Exp:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;ReceptacleTransactions.ProcedureID={"1"},Flights.FlightID={"=Count(Dispatches.DispatchID&amp;lt;&amp;gt;0"}&amp;gt;}Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ALL Exp:&lt;/P&gt;&lt;P&gt;==count(Flights.FlightID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so some one please help me to fix the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 06:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383201#M1166308</guid>
      <dc:creator />
      <dc:date>2012-09-05T06:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383202#M1166309</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;kindly somebody help me to solve the above Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 06:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/383202#M1166309</guid>
      <dc:creator />
      <dc:date>2012-09-05T06:57:27Z</dc:date>
    </item>
  </channel>
</rss>

