<?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: Columns with conditional removal of data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448366#M802821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to do it at the application level using Set Analysis. Rather generate them at the Script level and read them as new Column at the application level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 15:09:52 GMT</pubDate>
    <dc:creator>psk180590</dc:creator>
    <dc:date>2017-11-23T15:09:52Z</dc:date>
    <item>
      <title>Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448360#M802815</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 have my sample data in the below format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;REG&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;State&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Present&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AB&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CR&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;VX&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;160&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to generate 4 new Columns here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Count of All Distinct ID's in the country : 9 (Should now change even when a REG or State is selected)&lt;/P&gt;&lt;P&gt;2. Count of Distinct ID's per State&amp;nbsp; Ex: State 100 is 4 (Should not change when REG is selected)&lt;/P&gt;&lt;P&gt;3. Sum of Present in the Country :46 (&lt;SPAN style="font-size: 13.3333px;"&gt;Should now change even when a REG or State is selected)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4. Sum of Present per State Ex:State 100 has 18 &lt;SPAN style="font-size: 13.3333px;"&gt;(Should not change when REG is selected)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my sample app also along with the sample data and Expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I want this columns to be generated in the Script not in the Application using Set Analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&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/Columns-with-conditional-removal-of-data/m-p/1448360#M802815</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448361#M802816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could, in theory, pre-calculate these values for each combination in advance using GROUP BY. However, they will not be responsive to ANY selections if you take this approach. There's no sane way to pre-calculate values during script load for every possible combination of field selections - that's something that should be handled in chart expressions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448361#M802816</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-23T14:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448362#M802817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shoham for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem with this approach is, at the end i want to create a bar chart with all the 3 values stacked against each other.&lt;/P&gt;&lt;P&gt;Due to Section Access say a Person from Region AA logs in to the system he/she would always see the State and Country values equal to his/her.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 14:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448362#M802817</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-23T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448363#M802818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are looking to generate a chart that contains pre-aggregated values that would otherwise be blocked by Section Access? I guess you could create a data island of the pre-aggregated data, but if you want it to respect selections made by the user (and you'd probably only want it to respect specific selections), you'd have to explicitly write those into your set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps someone else has a better approach - I'm not familiar with any, but this isn't something I've had to implement on a large scale before. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448363#M802818</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-23T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448364#M802819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) count(total{&amp;lt;REG&amp;gt;} IDA)&lt;/P&gt;&lt;P&gt;2)count(total &amp;lt;State&amp;gt;&amp;nbsp; IDA)&lt;/P&gt;&lt;P&gt;3)sum(total{&amp;lt;REG&amp;gt;} Present)&lt;/P&gt;&lt;P&gt;4) sum(total&amp;lt;State&amp;gt; Present)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184379_Capture.PNG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448364#M802819</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-11-23T15:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448365#M802820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The basic idea here is every person sees only his/her data. But, just to see the performance we are stacking individual figures against the State and the Country.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448365#M802820</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-23T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448366#M802821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to do it at the application level using Set Analysis. Rather generate them at the Script level and read them as new Column at the application level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448366#M802821</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-23T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448367#M802822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/people/loveisfail"&gt;loveisfail&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/people/mrkachhiaimp"&gt;mrkachhiaimp&lt;/A&gt;&lt;A href="https://community.qlik.com/people/stabben23"&gt;stabben23&lt;/A&gt;&lt;A href="https://community.qlik.com/people/mrkachhiaimp"&gt;mrkachhiaimp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Just in case if you had any such experiences before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448367#M802822</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-23T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448368#M802823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present&lt;/P&gt;&lt;P&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left Join(table)&lt;/P&gt;&lt;P&gt;load sum(Present) as expression4, State Group by State;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;State,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left Join(table)&lt;/P&gt;&lt;P&gt;load count(ID) as expression2, State Group by State;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;State,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left Join(table)&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; sum( Present) as expression3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left Join(table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(ID) as expression1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finale:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;load *&amp;nbsp; Resident table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table table;&lt;/P&gt;&lt;P&gt;let vExp1= Peek('expression1',0, 'finale');&lt;/P&gt;&lt;P&gt;let vExp3= Peek('expression3',0, 'finale');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;load *, '$(vExp1)' as NewExp1,'$(vExp3)' as NewExp3&amp;nbsp; Resident finale;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop fields expression1 , expression3,row;&lt;/P&gt;&lt;P&gt;drop Table finale;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="184380" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184380_Capture.PNG" style="height: 229px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448368#M802823</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-11-23T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448369#M802827</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;table:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reg,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Sample Data]);&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;left Join(table)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load sum(Present) as expression4, State Group by State;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;State,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Present,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&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;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Sample Data]);&lt;/P&gt;&lt;P&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;left Join(table)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load count(ID) as expression2, State Group by State;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;State,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&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;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Sample Data]);&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;left Join(table)&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;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( Present) as expression3,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&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;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Sample Data]);&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;left Join(table)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(ID) as expression1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as row&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;FROM [lib://Mariage/Sample (1).xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is [Sample Data]);&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;finale:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load *&amp;nbsp; Resident table;&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;drop table table;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;let vExp1= Peek('expression1',0, 'finale');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;let vExp3= Peek('expression3',0, 'finale');&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;Last:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NoConcatenate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load *, '$(vExp1)' as NewExp1,'$(vExp3)' as NewExp3&amp;nbsp; Resident finale;&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;drop fields expression1 , expression3;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;drop Table finale;&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;result:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1388165-184380/Capture.PNG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="235" src="https://community.qlik.com/legacyfs/online/184381_Capture.PNG" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="636" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 16:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448369#M802827</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-11-23T16:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448370#M802831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have some limits in scripting. But, In fact we doesn't have concept ignore field concept in Script level. Hence, It can not be done. Can we know the reason why it is not possible in UI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 16:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448370#M802831</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T16:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448371#M802834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/231159"&gt;psk180590&lt;/A&gt;‌ ; did this do the trick?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 10:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448371#M802834</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-11-24T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448372#M802835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much, the solution is almost perfect.&lt;/P&gt;&lt;P&gt;The Sum(Present) works perfectly. Only the Count doesn't seem to be satisfied yet &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 10:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448372#M802835</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-24T10:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448373#M802836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible can you please share the sample app you created&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 10:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448373#M802836</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-24T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448374#M802837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Made slight modifications to the script and it works perfectly. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 12:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448374#M802837</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-24T12:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448375#M802838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good to know !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 12:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448375#M802838</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2017-11-24T12:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Columns with conditional removal of data</title>
      <link>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448376#M802839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.qlik.com/people/omarbensalem"&gt;omarbensalem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing some problems with particular selections in my app. If possible can you share the Test/Sample you created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 09:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Columns-with-conditional-removal-of-data/m-p/1448376#M802839</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-11-29T09:57:50Z</dc:date>
    </item>
  </channel>
</rss>

