<?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: Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script/m-p/28129#M780762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Consider&amp;nbsp; publish_date is not empty but selling_date&amp;nbsp; emtpy ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Not sure what that means. Is this not what I described in my earlier post?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 06:23:05 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-03-29T06:23:05Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28123#M780754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;IAM writing below condition in the edit script just wanted to know if this is correct&lt;/P&gt;&lt;P&gt;The requirement is like consider&amp;nbsp; dispatch date should be&lt;/P&gt;&lt;P&gt;Publish_date is not empty and&amp;nbsp; selling_date is empty&amp;nbsp; to achieve this IAM writing below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(isnull(selling_date),publish_date) as dispatch_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &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/Script/m-p/28123#M780754</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28124#M780755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(IsNull(TRIM(Selling_date)) =&amp;nbsp; -1, 1,Publish_date)&amp;nbsp; as Dispatchdate&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 05:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28124#M780755</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T05:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28125#M780756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not understood clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: Do you want to consider dispatch_date when publish_date is not empty and selling_date is empty as dispatch_date&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;if(isnull(selling_Date) and not isnull(publish_date),dispatch_date) as dispatch_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2: Do you want to create new field as dispatch_date when publish_date is not empty then publish_date else selling_date as dispatch_Date&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;if(isnull(selling_date),publish_date,selling_date) as dispatch_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28125#M780756</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-03-29T06:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28126#M780757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean: Use selling date if &lt;SPAN style="font-size: 13.3333px;"&gt;selling date &lt;/SPAN&gt;is not null; use publish date if &lt;SPAN style="font-size: 13.3333px;"&gt;selling date is null? Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alt(&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;selling_date, &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;publish_date) as dispatch_Date&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Alt(&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;selling_date, &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;publish_date)) as dispatch_Date&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/alt.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/alt.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/alt.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28126#M780757</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-29T06:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28127#M780758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant&lt;/P&gt;&lt;P&gt;Hi want to create a field called dispatch_date&lt;/P&gt;&lt;P&gt;Which should consist the below condition&amp;nbsp; and that is&lt;/P&gt;&lt;P&gt;Consider&amp;nbsp; publish_date is not empty but selling_date&amp;nbsp; emtpy ..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28127#M780758</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-03-29T06:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28128#M780759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;I want to achieve below described scenario &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; create a field called dispatch_date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Which should consist the below condition&amp;nbsp; and that is&lt;/P&gt;&lt;P&gt;Consider&amp;nbsp; publish_date is not empty but selling_date&amp;nbsp; emtpy ..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28128#M780759</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-03-29T06:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28129#M780762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Consider&amp;nbsp; publish_date is not empty but selling_date&amp;nbsp; emtpy ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Not sure what that means. Is this not what I described in my earlier post?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28129#M780762</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-29T06:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28130#M780764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok then give can you ans below query to help you better way&lt;/P&gt;&lt;P&gt;1 : If your said condition is true, then which field you want to show as dispatch_date?&lt;/P&gt;&lt;P&gt;2: if not true, &lt;SPAN style="font-size: 13.3333px;"&gt;then which field you want to show as dispatch_date?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If possible explain with simple example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 06:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28130#M780764</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-03-29T06:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28131#M780765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Len(publish_date)&amp;gt;0 and Len(Trim(selling_date))=0,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;publish_date) as dispatch_Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 07:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28131#M780765</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-29T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/28132#M780766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Hi John - Use the below code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;If(&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva; font-size: 13.3333px;"&gt;Not isnull(Publish_date) and &lt;/SPAN&gt;Len(Selling_Date) = 0, &lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva; font-size: 13.3333px;"&gt;Publish_date) as Dispatch_Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000000; font-size: 13.3333px; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000000; font-size: 13.3333px; font-family: 'trebuchet ms', geneva;"&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Venkata Sreekanth&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 09:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/28132#M780766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T09:34:27Z</dc:date>
    </item>
  </channel>
</rss>

