<?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 to replace entire column matches same Invoice Number and given conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-to-replace-entire-column-matches-same-Invoice-Number/m-p/104913#M16522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;I need a help for below requirements (see attached file for field and other details) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;OL style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Search Desc (column B) - "Perdiem" and replace / change data (SystemData) TO (Expected_Output)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Above condition AcCode&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Note: Expected_Output is not a system generated input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;I am trying following -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;1. Search text "Perdiem" in a column which has same invoice number (which is a different column) and does not contain AcCode = 24 and System Data is "DayCase". If this condition satisfies, then i am expecting system data column to be replace or change as "Inpatient".&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;2. If a column has same invoice number and contains AcCode = 24 and System Data is "DayCase",&amp;nbsp; then i am expecting system data column to be replace or change as "Outpatient".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Note : My code is changing only 1 row and not the entire column (as only 1 row having text as "Perdiem" and other rows having different comments) having the same invoice number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;//If((([AcCode] &amp;lt;&amp;gt; '24' AND [PatType] = 'Day Surgery' AND [Dept_ActivityPhy] = 'HPN Ortho Clinic') AND (WildMatch ([CodeName], 'Perdiem - Day Stay (Day care) Surgical Case - Inclusive.'))),'In Patient', [PatType])) AS [PatType] ;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Abhijit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 09:22:12 GMT</pubDate>
    <dc:creator>aarnkalle</dc:creator>
    <dc:date>2018-07-19T09:22:12Z</dc:date>
    <item>
      <title>Need help to replace entire column matches same Invoice Number and given conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-replace-entire-column-matches-same-Invoice-Number/m-p/104913#M16522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;I need a help for below requirements (see attached file for field and other details) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;OL style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Search Desc (column B) - "Perdiem" and replace / change data (SystemData) TO (Expected_Output)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Above condition AcCode&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Note: Expected_Output is not a system generated input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;I am trying following -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;1. Search text "Perdiem" in a column which has same invoice number (which is a different column) and does not contain AcCode = 24 and System Data is "DayCase". If this condition satisfies, then i am expecting system data column to be replace or change as "Inpatient".&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;2. If a column has same invoice number and contains AcCode = 24 and System Data is "DayCase",&amp;nbsp; then i am expecting system data column to be replace or change as "Outpatient".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Note : My code is changing only 1 row and not the entire column (as only 1 row having text as "Perdiem" and other rows having different comments) having the same invoice number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;//If((([AcCode] &amp;lt;&amp;gt; '24' AND [PatType] = 'Day Surgery' AND [Dept_ActivityPhy] = 'HPN Ortho Clinic') AND (WildMatch ([CodeName], 'Perdiem - Day Stay (Day care) Surgical Case - Inclusive.'))),'In Patient', [PatType])) AS [PatType] ;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt; &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: white;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Abhijit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 09:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-to-replace-entire-column-matches-same-Invoice-Number/m-p/104913#M16522</guid>
      <dc:creator>aarnkalle</dc:creator>
      <dc:date>2018-07-19T09:22:12Z</dc:date>
    </item>
  </channel>
</rss>

