<?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: Seaching the column for a value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604185#M736215</link>
    <description>&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Index(Col1&amp;amp;'|'&amp;amp;Col2&amp;amp;'|'&amp;amp;Col3&amp;amp;'|'&amp;amp;Col4, 'X'), 10, 'No X Present') as New_Column&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 13:50:38 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-07-19T13:50:38Z</dc:date>
    <item>
      <title>Seaching the column for a value</title>
      <link>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604183#M736214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 columns A-E, with values 'X' or blank. (Snapshot attached)&lt;/P&gt;&lt;P&gt;Now I want to&amp;nbsp;check if even one 'X' present in one column, add 10 for that column in a new expression.&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;if(A='X',10,0) + if(B='X',10,0) ........&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Somehow it is only working for one of the columns. Does this not search the entire column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604183#M736214</guid>
      <dc:creator>abhi1693r</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Seaching the column for a value</title>
      <link>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604185#M736215</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Index(Col1&amp;amp;'|'&amp;amp;Col2&amp;amp;'|'&amp;amp;Col3&amp;amp;'|'&amp;amp;Col4, 'X'), 10, 'No X Present') as New_Column&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 13:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604185#M736215</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-07-19T13:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Seaching the column for a value</title>
      <link>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604245#M736216</link>
      <description>&lt;P&gt;If this is on script, instead searching for 'X' try to not find this. Do a resident load&lt;/P&gt;&lt;P&gt;If(Index(Column1, 'X'), 1, 0) as _fgColumn1,&lt;BR /&gt;If(Index(Column2, 'X'), 1, 0) as _fgColumn2,&lt;BR /&gt;If(Index(Column3, 'X'), 1, 0) as _fgColumn3,&lt;BR /&gt;If(Index(Column4, 'X'), 1, 0) as _fgColumn4,&lt;BR /&gt;If(Index(Column5, 'X'), 1, 0) as _fgColumn5&lt;/P&gt;&lt;P&gt;Then make a total sum of each _fgColumnY, save on a variable.&lt;/P&gt;&lt;P&gt;Then if the varaible is 0, keep the value of column (ColumnY as newColumnY); if not, add 10 (Column+10 as newColumnY)&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 16:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604245#M736216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-19T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Seaching the column for a value</title>
      <link>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604696#M736217</link>
      <description>I guess this will only work if X is present as a character value in Excel, right?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2019 14:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seaching-the-column-for-a-value/m-p/1604696#M736217</guid>
      <dc:creator>abhi1693r</dc:creator>
      <dc:date>2019-07-22T14:43:35Z</dc:date>
    </item>
  </channel>
</rss>

