<?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: Complex Logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127639#M759073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan ,&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to run the script you suggested above..&lt;/P&gt;&lt;P&gt;but this is not working ...&lt;/P&gt;&lt;P&gt;I want to skip the whole release when the status is something else than completed or accepted ..&lt;/P&gt;&lt;P&gt;The data will be dynamic ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 10:12:00 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2018-08-28T10:12:00Z</dc:date>
    <item>
      <title>Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127637#M759069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Expertise&lt;/P&gt;&lt;P&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="line-height: 1.5em;"&gt;Please find the attachment of QVW file and csv file .&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;I am trying to show a bar graph for release by hours .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hear i need to show only those whose status is completed&amp;nbsp; or accepted .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Everything is working fine ..&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But if you observer the release number R-18.9 is showing 78 hours ..which actually should not be displayed .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My requirement is like if any release number has a status other than completed or accepted it should not be displayed in the bar graph .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if you refer the Excel file ...and filter it by 18.9 data under status i have the status &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;defined&lt;/STRONG&gt;&lt;/SPAN&gt; and in &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;progress&lt;/STRONG&gt;&lt;/SPAN&gt; in such case the r-18.9 release should not be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;as shown in the below scrceen shot the release 18.9 has a status of defined and in progress&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Therefore this release should be neglected&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/legacyfs/online/211944_Capture.PNG" target="_blank"&gt;&lt;IMG __jive_id="211944" alt="Capture.PNG" class="jive-image image-1" height="210" src="https://community.qlik.com/legacyfs/online/211944_Capture.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="511" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;only i need to show the releases which has complete status either accepted or completed .&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;how can i handle this at the script level ?&lt;/P&gt;&lt;P&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Please some one help me on this .....&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Thanks in advance&lt;/SPAN&gt;&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/Complex-Logic/m-p/127637#M759069</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127638#M759071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do it in the script, try to create a list of your release names that you don't want to retrieve and then use a WHERE NOT EXISTS() filter for the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filter:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp; if(WildMatch(Release,'18.6*'),'R-18.6',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.7*'),'R-18.7',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.8*','18.08 T2*'),'R-18.8',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.9*','18.09 T2*'),'R-18.9',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.10*'),'R-18.10',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.11*'),'R-18.11')))))) as Release2Exclude&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Test1 (2).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;WHERE not match(Status,'COMPLETED','ACCEPTED');&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;where not exists(Release2Exclude, Release_Name);&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD Hours, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Release,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch(Release,'18.6*'),'R-18.6',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.7*'),'R-18.7',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.8*','18.08 T2*'),'R-18.8',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.9*','18.09 T2*'),'R-18.9',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.10*'),'R-18.10',&lt;/P&gt;&lt;P&gt;if(WildMatch(Release,'18.11*'),'R-18.11'))))))as Release_Name,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Test1 (2).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127638#M759071</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-08-28T10:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127639#M759073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan ,&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to run the script you suggested above..&lt;/P&gt;&lt;P&gt;but this is not working ...&lt;/P&gt;&lt;P&gt;I want to skip the whole release when the status is something else than completed or accepted ..&lt;/P&gt;&lt;P&gt;The data will be dynamic ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127639#M759073</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-08-28T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127640#M759074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with not working, can you give an example where the output is not as expected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached the QVW with the updated data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127640#M759074</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-08-28T10:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127641#M759075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add a new field '(ReleaseNumber):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Hours",&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Release,' ',1) as ReleaseNumber,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Release,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;FROM [lib://downloads/Test1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(count( total &amp;lt;ReleaseNumber&amp;gt;distinct Status) &amp;lt;=2 and (Status='COMPLETED' or Status='ACCEPTED'), sum(Hours))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211957_Capture.PNG" style="height: 276px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127641#M759075</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-08-28T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127642#M759076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 10:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Logic/m-p/127642#M759076</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-08-28T10:42:07Z</dc:date>
    </item>
  </channel>
</rss>

