<?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 Replacing the existing data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229057#M81024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your [Year/Qtr] is actually a string as QlikView sees it:&lt;/P&gt;&lt;P&gt;Try casting it to numeric:&lt;/P&gt;&lt;P&gt;num#(Replace([Year/Quarter],'/', '')) &lt;B&gt;as&lt;/B&gt; [Year/Quarter1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 09:09:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-06T09:09:56Z</dc:date>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229052#M81019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a field (Year / Quarter) with the following data&lt;/P&gt;&lt;P&gt;Year / Quarter&lt;BR /&gt;2008/01&lt;BR /&gt;2008/02&lt;BR /&gt;2008/03&lt;BR /&gt;2008/04&lt;BR /&gt;2009/01&lt;BR /&gt;2009/02&lt;BR /&gt;2009/03&lt;BR /&gt;2009/04&lt;/P&gt;&lt;P&gt;Now I want to change the data by using if condition like&lt;/P&gt;&lt;P&gt;=If(Year / Quarter='2008/01',200801,0)&lt;/P&gt;&lt;P&gt;the results are&lt;BR /&gt;Year / Quarter&lt;BR /&gt;200801&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;0&lt;BR /&gt;0&lt;/P&gt;&lt;P&gt;But I want the data like this way&lt;BR /&gt;Year / Quarter&lt;BR /&gt;200801&lt;BR /&gt;200802&lt;BR /&gt;200803&lt;BR /&gt;200804&lt;BR /&gt;200901&lt;BR /&gt;200902&lt;BR /&gt;200903&lt;BR /&gt;200904&lt;/P&gt;&lt;P&gt;Can Any one guide me what is the formula?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229052#M81019</guid>
      <dc:creator />
      <dc:date>2010-10-06T07:45:15Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229053#M81020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try, =Text(Year)&amp;amp;Text(Quarter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229053#M81020</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-10-06T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229054#M81021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Ranjit,&lt;/P&gt;&lt;P&gt;its a single field and I want that field should be numeric because I have to use for comparision purpose.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 07:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229054#M81021</guid>
      <dc:creator />
      <dc:date>2010-10-06T07:58:50Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229055#M81022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tims,&lt;/P&gt;&lt;P&gt;i think replace function will work,&lt;/P&gt;&lt;P&gt;Try this, in your load&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Yearquarter:&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; Year,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Quarter,&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;[Year/Quarter],&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Replace([Year/Quarter],'/', '') &lt;B&gt;as&lt;/B&gt; [Year/Quarter1]&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;FROM&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;YearQuarter.xlsx&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pleae let me know , if you have any other issues.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;REn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229055#M81022</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-10-06T08:13:26Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229056#M81023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fine Ranjit,&lt;/P&gt;&lt;P&gt;assume that I have data like this&lt;/P&gt;&lt;P&gt;Year / Quarter&lt;BR /&gt;200801&lt;BR /&gt;200802&lt;BR /&gt;200803&lt;BR /&gt;200804&lt;BR /&gt;200901&lt;BR /&gt;200902&lt;BR /&gt;200903&lt;BR /&gt;200904&lt;/P&gt;&lt;P&gt;I created one formula&lt;/P&gt;&lt;P&gt;=If([Year / Qtr]=[Year / Qtr],'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png')&lt;/P&gt;&lt;P&gt;Its working fine only equal operator if I use less than (&amp;lt;) or greaterthan(&amp;gt;) then its taking else condition.&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 08:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229056#M81023</guid>
      <dc:creator />
      <dc:date>2010-10-06T08:57:21Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229057#M81024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your [Year/Qtr] is actually a string as QlikView sees it:&lt;/P&gt;&lt;P&gt;Try casting it to numeric:&lt;/P&gt;&lt;P&gt;num#(Replace([Year/Quarter],'/', '')) &lt;B&gt;as&lt;/B&gt; [Year/Quarter1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 09:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229057#M81024</guid>
      <dc:creator />
      <dc:date>2010-10-06T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229058#M81025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still same issue, its working only equal operator not for less than or greater than operators.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 09:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229058#M81025</guid>
      <dc:creator />
      <dc:date>2010-10-06T09:27:57Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229059#M81026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post, maybe, your application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 09:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229059#M81026</guid>
      <dc:creator />
      <dc:date>2010-10-06T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Replacing the existing data</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229060#M81027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tims,&lt;/P&gt;&lt;P&gt;Explain your condition you want to perform in your application.&lt;/P&gt;&lt;P&gt;I dont think that condition will work. For eg.( 200801 = 2000801) then first condition will satisfy. and If you want greater than condition. For eg (200801 &amp;gt;2000801), its false, because 200801 is not greater than 200801. it will be always equal.&lt;/P&gt;&lt;P&gt;You can explain the condition you want to do, then we can try.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 10:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-the-existing-data/m-p/229060#M81027</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-10-06T10:09:50Z</dc:date>
    </item>
  </channel>
</rss>

