<?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 need help for below condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-for-below-condition/m-p/1259923#M851159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI alll ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to calculate the logic for win rate based on below specification is there any suggestion is much apriciated.&lt;/P&gt;&lt;H3&gt;&lt;SPAN style="background: yellow;"&gt;Win Rate&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicates for new deals the percentage of won deals by dividing number of won deals by the number of won + open deals.&amp;nbsp; The calculation is done for three situations: Snapshot, Rolling 1, Rolling 2.&lt;/P&gt;&lt;P&gt;The calculation requires the following actions to take place:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;For each month identify the new deals (indicated by deal version equal to 1)&lt;/LI&gt;&lt;LI&gt;Determine the last known status for a deal within the given time boundary:&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Snapshot: within the same month as the deal was started&lt;/LI&gt;&lt;LI&gt;Rolling 1: snapshot + the first following whole month&lt;/LI&gt;&lt;LI&gt;Rolling 2: rolling 1 + the first following whole month&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If the status is equal to Won or Open then the deal is included in the win rate calculation. All other cases are ignored.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note: currently the win rate is only calculated for EMEA region based upon the 1&lt;SUP&gt;st&lt;/SUP&gt; quote report.&lt;/P&gt;&lt;H4&gt;Examples – Regular Situation&lt;/H4&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: solid #4F81BD 1.0pt; border-bottom: none; border-right: none; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Deal Num&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-top: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Deal Version&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-top: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;First Quote Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: none; border-right: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Status&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-MRT-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none; border-left: solid #4F81BD 1.0pt; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-bottom: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-bottom: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Win Rate for January 2013:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Snapshot = 33%, number of Won Deals = 1, number of Won + Open Deals = 3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded as it is not the first version in the month&lt;/LI&gt;&lt;LI&gt;Deal 2 is included and the last status in the month is Won&lt;/LI&gt;&lt;LI&gt;Deal 3 and 4 are included and the last status in the month is Open&lt;/LI&gt;&lt;LI&gt;Deal 5 is not started in January 2013&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Rolling 1 = 66%, number of Won Deals = 2, number of Won+Open Deals = 3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded&lt;/LI&gt;&lt;LI&gt;Deal 2 and 3 are included and the last status is Won&lt;/LI&gt;&lt;LI&gt;Deal 4 is included and the last status is Open&lt;/LI&gt;&lt;LI&gt;Deal 5 is excluded&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Rolling 2 = 100%, number of Won Deals = 3, number of Won+Open Deals =3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded&lt;/LI&gt;&lt;LI&gt;Deal 2, 3 and 4 are included and the last status is Won&lt;/LI&gt;&lt;LI&gt;Deal 5 is excluded&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the i tried with if condition but it's not giving correct results,&lt;/P&gt;&lt;P&gt;=if( [Snapshot Month Status]&amp;nbsp; ='won' and [Deal Version] = 1, SUM ( {&amp;lt; [Snapshot Month Status] = {'Won'} &amp;gt;} [# Snapshot Month Record] )&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM ( {&amp;lt; [Snapshot Month Status] = {'Won', 'Open'}&amp;gt;} [# Snapshot Month Record] ),if([Snapshot Month Status] = 'won' or&amp;nbsp; [Snapshot Month Status] = 'open' and [Deal Version] &amp;lt;&amp;gt;1,SUM ( {&amp;lt; [Snapshot Month Status] = {'Won'} &amp;gt;} [# Snapshot Month Record] )&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM ( {&amp;lt; [Snapshot Month Status] = {'Won', 'Open'}&amp;gt;} [# Snapshot Month Record] )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Gireesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>need help for below condition</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-for-below-condition/m-p/1259923#M851159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI alll ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to calculate the logic for win rate based on below specification is there any suggestion is much apriciated.&lt;/P&gt;&lt;H3&gt;&lt;SPAN style="background: yellow;"&gt;Win Rate&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicates for new deals the percentage of won deals by dividing number of won deals by the number of won + open deals.&amp;nbsp; The calculation is done for three situations: Snapshot, Rolling 1, Rolling 2.&lt;/P&gt;&lt;P&gt;The calculation requires the following actions to take place:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;For each month identify the new deals (indicated by deal version equal to 1)&lt;/LI&gt;&lt;LI&gt;Determine the last known status for a deal within the given time boundary:&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Snapshot: within the same month as the deal was started&lt;/LI&gt;&lt;LI&gt;Rolling 1: snapshot + the first following whole month&lt;/LI&gt;&lt;LI&gt;Rolling 2: rolling 1 + the first following whole month&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If the status is equal to Won or Open then the deal is included in the win rate calculation. All other cases are ignored.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note: currently the win rate is only calculated for EMEA region based upon the 1&lt;SUP&gt;st&lt;/SUP&gt; quote report.&lt;/P&gt;&lt;H4&gt;Examples – Regular Situation&lt;/H4&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: solid #4F81BD 1.0pt; border-bottom: none; border-right: none; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Deal Num&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-top: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Deal Version&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-top: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;First Quote Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: none; border-right: solid #4F81BD 1.0pt; background: #4F81BD; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: white;"&gt;Status&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-JAN-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: none; border-left: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-MRT-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: solid #4F81BD 1.0pt; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #4f81bd 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Open&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none; border-left: solid #4F81BD 1.0pt; border-bottom: solid #4F81BD 1.0pt; border-right: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="81"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-bottom: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="98"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: none; border-bottom: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="121"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1-FEB-2014&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #4F81BD 1.0pt; border-right: solid #4F81BD 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="62"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Won&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Win Rate for January 2013:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;Snapshot = 33%, number of Won Deals = 1, number of Won + Open Deals = 3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded as it is not the first version in the month&lt;/LI&gt;&lt;LI&gt;Deal 2 is included and the last status in the month is Won&lt;/LI&gt;&lt;LI&gt;Deal 3 and 4 are included and the last status in the month is Open&lt;/LI&gt;&lt;LI&gt;Deal 5 is not started in January 2013&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Rolling 1 = 66%, number of Won Deals = 2, number of Won+Open Deals = 3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded&lt;/LI&gt;&lt;LI&gt;Deal 2 and 3 are included and the last status is Won&lt;/LI&gt;&lt;LI&gt;Deal 4 is included and the last status is Open&lt;/LI&gt;&lt;LI&gt;Deal 5 is excluded&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Rolling 2 = 100%, number of Won Deals = 3, number of Won+Open Deals =3&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Deal 1 is excluded&lt;/LI&gt;&lt;LI&gt;Deal 2, 3 and 4 are included and the last status is Won&lt;/LI&gt;&lt;LI&gt;Deal 5 is excluded&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the i tried with if condition but it's not giving correct results,&lt;/P&gt;&lt;P&gt;=if( [Snapshot Month Status]&amp;nbsp; ='won' and [Deal Version] = 1, SUM ( {&amp;lt; [Snapshot Month Status] = {'Won'} &amp;gt;} [# Snapshot Month Record] )&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM ( {&amp;lt; [Snapshot Month Status] = {'Won', 'Open'}&amp;gt;} [# Snapshot Month Record] ),if([Snapshot Month Status] = 'won' or&amp;nbsp; [Snapshot Month Status] = 'open' and [Deal Version] &amp;lt;&amp;gt;1,SUM ( {&amp;lt; [Snapshot Month Status] = {'Won'} &amp;gt;} [# Snapshot Month Record] )&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM ( {&amp;lt; [Snapshot Month Status] = {'Won', 'Open'}&amp;gt;} [# Snapshot Month Record] )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Gireesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-for-below-condition/m-p/1259923#M851159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

