<?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: Need help pulling number values from 2 fields to use in new field in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410850#M152943</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 placing the TestValue inside brackets...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(If(TestName = '&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Total Cholesterol&lt;/SPAN&gt;' AND (TestValue&amp;gt;0 AND TestValue &amp;lt;7000),TestValue) AS CholRatioTotal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 18:12:13 GMT</pubDate>
    <dc:creator>vivek_niti</dc:creator>
    <dc:date>2013-04-29T18:12:13Z</dc:date>
    <item>
      <title>Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410849#M152942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've created a couple of fields in my script that I want numerical results to be given.&amp;nbsp; Below is one approach I've tried but it doesn't work.&amp;nbsp; It should give a good idea of what I am going for though.&amp;nbsp; TestName and TestValue are the original field names, I'm just trying to extract the values and create a new field with statements rather than generic load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;='Total Cholesterol' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;7000, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CholRatioTotal&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;='HDL' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;1000, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CholRatioHDL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The fields show up after I load the script, but there is nothing populated in them.&amp;nbsp; I used Dual statements to create messages about whether other items are high or low risk if it falls in a certain numerical range, and those all work, I am just stuck trying to get this one to give me numerical values instead of a message.&amp;nbsp; (I took out the Dual function to try with regular if statements above.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;After I get numbers for CholRatioTotal and CholRatio HDL, I plan to do something like this for a new field in the script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;NewTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(CholRatioTotal / CholRatioHDL &amp;lt;=4.9, Dual('Normal',1),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(CholRatioTotal / CholRatioHDL &amp;gt;4.9, Dual('At Risk, High',2)) as [Cholesterol Ratio]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident &amp;lt;oldtable&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Drop table &amp;lt;oldtable&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;-Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 18:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410849#M152942</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-29T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410850#M152943</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 placing the TestValue inside brackets...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(If(TestName = '&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Total Cholesterol&lt;/SPAN&gt;' AND (TestValue&amp;gt;0 AND TestValue &amp;lt;7000),TestValue) AS CholRatioTotal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 18:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410850#M152943</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2013-04-29T18:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410851#M152944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that worked like a charm technically and the values now show up on my tables, so I gave it a correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an issue I came to after turning that corner.&amp;nbsp; I will post separately, but posting here in case you know this off the cuff as well. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; (You can answer in the other post for more correct answer credit.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total Cholesterol and the HDL values are on two separate lines under the TestValue heading in the original data, so when I try to divide one by the other it only picks up a null beside it and gives error or 1 or some total cholesterol value depending on the formula I try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source data and data on the Qlikview straight table looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ClientAccountName ExternalID TestDate CholRatioTotal CholRatioHDL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cholesterol Ratio&lt;/P&gt;&lt;P&gt;aaa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 190&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Error in calculated dimension&lt;/P&gt;&lt;P&gt;aaa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Error in calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I end up with 190/- or -/190.&amp;nbsp; I'm trying AGGR() to see if that can collapse the CRTotal and CRHDL by the other fields in common, but I'm missing something there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ClientAccountName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ExternalID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CholRatioTotal&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)/&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;TestDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ClientAccountName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;ExternalID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;CholRatioHDL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 21:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410851#M152944</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-29T21:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410852#M152945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;if u can do this calculation at the back end..then try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ClientAccountName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExternalID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TestDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rangemax([CholRatio Total]) AS [CholRatio Total],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeMax([CholRatio HDL]) AS [CholRatio HDL]&lt;/P&gt;&lt;P&gt;FROM.....&lt;/P&gt;&lt;P&gt;GROUP BY ClientAccountName,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExternalID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TestDate;&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, 02 May 2013 03:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410852#M152945</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2013-05-02T03:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410853#M152946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Niti.&amp;nbsp; If you are replying to the secondary issue, I also posted that separately somewhere else (which I should have done initially.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried (a very slight variation of the) script you suggested I received this error message:&lt;/P&gt;&lt;P&gt;Aggregation expressions required by GROUP BY clause&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; TEXT(UserId) as UserId,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ExternalID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TestDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Units,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Source,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rangemax(HDL) AS CholRatioHDLtest,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeMax([Total Cholesterol]) AS CholRatioTotaltest,&lt;/P&gt;&lt;P&gt;FROM Resident Biometrics&lt;/P&gt;&lt;P&gt;Group by UserId, TestDate, Units, Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately what I did as a workaround was:&lt;/P&gt;&lt;P&gt;export HDL and Total Cholesterol values from list boxes to their own excel worksheets&lt;/P&gt;&lt;P&gt;then reload HDL fields as HDL table, Total Cholesterol as Total Cholesterol table&lt;/P&gt;&lt;P&gt;left joined 2nd to 1st&lt;/P&gt;&lt;P&gt;did a Load * with if statements for my cholesterol ratio calculation, resident HDL table, drop HDL table&lt;/P&gt;&lt;P&gt;Boom!&lt;/P&gt;&lt;P&gt;Then my colleague showed me %key to make link tables to stamp over the synthetic joins that appeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also did this to get Systolic / Diastolic together in one field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall continue my quest for script to do this without exporting from listboxes and reloading and leftjoining rigamarole, but I have a workaround now. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(PS&amp;gt; Fields were created from values in another field on a QVD file of millions of last year's records way too big for transformation step or transpose etcetera.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 14:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410853#M152946</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-05-02T14:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410854#M152947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;In the group by function you have to add all the fields in the group by clause which are not used in the aggregate function. you are missing &lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;ExternalID&lt;/SPAN&gt; field. Just add it in the group by function and it should work. There should'nt be any need of exporting the data into an excel and then adding them in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 16:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410854#M152947</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2013-05-02T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410855#M152948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still resisting me I’m afraid.  The overall script is long and I may be missing something that needs to be added or commented out for this piece of script to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post back here if I figure it out or get this solution to work on a simpler script. ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410855#M152948</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-05-02T17:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410856#M152949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible can u send the file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 18:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410856#M152949</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2013-05-02T18:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410857#M152950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can’t give the whole file because it is too big and has specific data I can’t share among the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a notepad file with the background script used to assemble the data, and a png file with the table layout.  No worries if no solution though, I have the workaround and may figure it out from the clues so far when I am more proficient in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 19:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410857#M152950</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-05-02T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help pulling number values from 2 fields to use in new field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410858#M152951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS&amp;gt; Qlikview did an odd job on the image export of the table layout.  On my screen the tables each only appear once, but on the export image I see a few of the biometric tables reappeared unlinked under the office/user tables to the right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From: Lord, Steve&lt;/P&gt;&lt;P&gt;Sent: Thursday, May 02, 2013 3:10 PM&lt;/P&gt;&lt;P&gt;To: 'jive-471286403-2hop-2-7bmm@community.qlik.com'&lt;/P&gt;&lt;P&gt;Subject: RE: &lt;A href="Development (QlikView Desktop)"&gt;&lt;/A&gt; - Re: Need help pulling number values from 2 fields to use in new field in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can’t give the whole file because it is too big and has specific data I can’t share among the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a notepad file with the background script used to assemble the data, and a png file with the table layout.  No worries if no solution though, I have the workaround and may figure it out from the clues so far when I am more proficient in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 19:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-pulling-number-values-from-2-fields-to-use-in-new/m-p/410858#M152951</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-05-02T19:20:42Z</dc:date>
    </item>
  </channel>
</rss>

