<?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: Field selection in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744749#M265896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Alexandros17"&gt;Alexandros17&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 15:05:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-21T15:05:18Z</dc:date>
    <item>
      <title>Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744747#M265894</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;&lt;/P&gt;&lt;P&gt;In a table i have a Value in a field , i want to only get (filter) that field in new field, its throwing error.&lt;/P&gt;&lt;P&gt;in 'Event Type' field i want to only load 'Date Change' values and want it in new field.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;i need it in script level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75835_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 14:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744747#M265894</guid>
      <dc:creator />
      <dc:date>2015-01-21T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744748#M265895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;If([Event Type] = 'Date Change', [Event Type], Null()) as SSG_Event_Type&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744748#M265895</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-21T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744749#M265896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Alexandros17"&gt;Alexandros17&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744749#M265896</guid>
      <dc:creator />
      <dc:date>2015-01-21T15:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744750#M265897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alessandro i have a similar expression i need to write in script, its showing null &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression for Event Date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch([Event Phase Review Name],'*Phase*'), &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;date([Event Date],'MM/DD/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744750#M265897</guid>
      <dc:creator />
      <dc:date>2015-01-21T15:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744751#M265898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try With&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch([Event Phase Review Name],'*Phase*') &amp;gt; 0, &lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;date([Event Date],'MM/DD/YYYY'), 'NoValue') as myField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Let me know&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744751#M265898</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-21T15:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744752#M265899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is working fine , but not iam expecting&amp;nbsp; this result.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Calculated Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Eventdate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch([Event Phase Review Name],'*Phase*'),&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;date([Event Date],'MM/DD/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Its populating 2 records &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75840_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But After writing in script its showing too many other records even Checked 'Supress Null values'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744752#M265899</guid>
      <dc:creator />
      <dc:date>2015-01-21T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744753#M265900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not think that this depends on the new field, it depends on the tables and how they are linked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Are you using the =if(wildmatch([Event Phase Review Name],'*Phase*'),&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;date([Event Date],'MM/DD/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;as a dimension? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Let me know&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744753#M265900</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-21T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744754#M265901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ys they are using the same as for Event date&lt;/P&gt;&lt;P&gt;Calculated Dim&lt;/P&gt;&lt;P&gt;=if(wildmatch([Event Phase Review Name],'*Phase*'),&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;date([Event Date],'MM/DD/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;used same in Expression for comparison.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch([Event Phase Review Name],'*Phase*'),&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Max(date([Event Date],'MM/DD/YYYY')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;first 2 field are calculated Dim, and last 2 are Expression &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75843_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;After the scripting&lt;/P&gt;&lt;P&gt;first 2 fields are Dim, other 2 are expressions.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/75844_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744754#M265901</guid>
      <dc:creator />
      <dc:date>2015-01-21T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744755#M265902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i scripted the same function to a dimension as you posted before.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(wildmatch([Event Phase Review Name],'*Phase*') &amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;date([Event Date],'MM/DD/YYYY'), 'NoValue') as myField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;But if i use this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if(wildmatch([Event Phase Review Name],'*Phase*'),&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;date([Event Date],'MM/DD/YYYY'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;its showing the same result as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744755#M265902</guid>
      <dc:creator />
      <dc:date>2015-01-21T16:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744756#M265903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The script itself is correct, maybe the field &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Event Phase Review Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; is still not available, that is:&lt;BR /&gt; &lt;BR /&gt; If you do&lt;BR /&gt; &lt;BR /&gt; Load&lt;BR /&gt; ...&lt;BR /&gt; if(....) as myField,&lt;BR /&gt; If(MyField = ...) as myNewField&lt;BR /&gt; ...&lt;BR /&gt; &lt;BR /&gt; the script will throw an error because the field myField is not available for another test &lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;the second if in the example.&lt;BR /&gt; &lt;BR /&gt; In these cases:&lt;BR /&gt; &lt;BR /&gt; Load&lt;BR /&gt; ...&lt;BR /&gt; If(MyField = ...) as myNewField&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ...&lt;BR /&gt; if(....) as myField,&lt;BR /&gt; ...&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744756#M265903</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-21T16:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field selection in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744757#M265904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the script, can u suggest me further .&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75848_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-selection-in-Script/m-p/744757#M265904</guid>
      <dc:creator />
      <dc:date>2015-01-21T16:50:00Z</dc:date>
    </item>
  </channel>
</rss>

