<?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 how to call a calculated value in load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-call-a-calculated-value-in-load/m-p/1783100#M1209726</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calculating "LOB Criticality" value on the load, and i want to call it back on the same load to do another calculation but it is not working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;[name&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;[LOB Field&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;[criticality&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;If&amp;nbsp; ([LOB Field&lt;SPAN&gt;]=1, 'ok','bad') as 'LOB Criticality'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;&lt;SPAN&gt;if (len(trim([LOB Criticality]))=0,'blocked','not blocked') as 'blocked Y/N' -- &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;this line is giving me an error. The "LOB Criticality" calculated field seems to be called in the wrong way but i dont know which should be the appropiate one&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;If someone can help, that will be really helpful&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 15:52:05 GMT</pubDate>
    <dc:creator>sabrina87</dc:creator>
    <dc:date>2021-02-16T15:52:05Z</dc:date>
    <item>
      <title>how to call a calculated value in load</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-call-a-calculated-value-in-load/m-p/1783100#M1209726</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calculating "LOB Criticality" value on the load, and i want to call it back on the same load to do another calculation but it is not working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;[name&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;[LOB Field&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;[criticality&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;If&amp;nbsp; ([LOB Field&lt;SPAN&gt;]=1, 'ok','bad') as 'LOB Criticality'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;&lt;SPAN&gt;if (len(trim([LOB Criticality]))=0,'blocked','not blocked') as 'blocked Y/N' -- &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;this line is giving me an error. The "LOB Criticality" calculated field seems to be called in the wrong way but i dont know which should be the appropiate one&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;If someone can help, that will be really helpful&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-call-a-calculated-value-in-load/m-p/1783100#M1209726</guid>
      <dc:creator>sabrina87</dc:creator>
      <dc:date>2021-02-16T15:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to call a calculated value in load</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-call-a-calculated-value-in-load/m-p/1783188#M1209730</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;preceding load in this.&lt;/P&gt;&lt;P&gt;Please note that field names with spaces should be in square brackets.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Data:
load
	*
	, if (len(trim([LOB Criticality]))=0,'blocked','not blocked') as [blocked Y/N]
;
LOAD 
	[name]
	,[LOB Field]
	,[criticality]
	, If  ([LOB Field]=1, 'ok','bad') as [LOB Criticality]
inline [
	name, LOB Field, criticality
	a, 0, 1
	b, 1, 0
];&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Feb 2021 20:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-call-a-calculated-value-in-load/m-p/1783188#M1209730</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-02-16T20:05:24Z</dc:date>
    </item>
  </channel>
</rss>

