<?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: Validation variable in LOAD QLIKVIEW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212902#M876984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(id_indicador, 45, 46, 56), if(len($(Variable_$(anho))&lt;STRONG&gt;&amp;amp;'Dummy'&lt;/STRONG&gt;) &amp;gt;= &lt;STRONG&gt;6&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;$(Variable_$(anho)),valorInd) as valorInd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 18:55:19 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-10-24T18:55:19Z</dc:date>
    <item>
      <title>Validation variable in LOAD QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212899#M876981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load some fields based on variables, but if this variable does not exist as I can check it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable 'variable_$(anho)' is generated based on some external files, but may exist or not, but in the absence of load failure, so I need to validate if there is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD id_indicador,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unidad,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(id_indicador=45 ,$(Variable_$(anho)),&lt;/P&gt;&lt;P&gt;if(id_indicador=46 ,$(Variable_$(anho)),&lt;/P&gt;&lt;P&gt;if(id_indicador=56 ,$(Variable_$(anho)),valorInd))) as valorInd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meta,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_objetivo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; periodo&lt;/P&gt;&lt;P&gt;FROM $(PathQVDInd)\Ind_indicadores.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need pass of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(id_indicador=45 ,$(Variable_$(anho))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(id_indicador=45 ,if(exist($(Variable_$(anho)),$(Variable_$(anho)),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried, but not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212899#M876981</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Validation variable in LOAD QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212900#M876982</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;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_indicador,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unidad,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(match(id_indicador, 45, 46, 56), if(len($(Variable_$(anho))) &amp;gt;= 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(Variable_$(anho)),valorInd) as valorInd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meta,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_objetivo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; periodo&lt;/P&gt;&lt;P&gt;FROM $(PathQVDInd)\Ind_indicadores.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where you might further need single-quotes around the variable if the content is a string like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;$(Variable_$(anho))&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212900#M876982</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-24T18:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Validation variable in LOAD QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212901#M876983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guy, but not work&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if was created the variable $(Variable_$(2017)) and $(Variable_$(2019)), but not the variable $(Variable_$(2018)), the sentence if(len($(Variable_$(2018))) &amp;gt;= 1 not work because the variable not exists, i need something like isset function of php, but applicable to Qlikview, it's possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212901#M876983</guid>
      <dc:creator />
      <dc:date>2016-10-24T18:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Validation variable in LOAD QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212902#M876984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(id_indicador, 45, 46, 56), if(len($(Variable_$(anho))&lt;STRONG&gt;&amp;amp;'Dummy'&lt;/STRONG&gt;) &amp;gt;= &lt;STRONG&gt;6&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;$(Variable_$(anho)),valorInd) as valorInd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212902#M876984</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-24T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Validation variable in LOAD QLIKVIEW</title>
      <link>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212903#M876985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The case is that the variables was creates previously, and in this LOAD i need to validate if was created or not, something like this in php : isset($(Variable_$(2018)).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;I explain &lt;SPAN&gt;otherwise:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need somethings like this (although exist not work for variable): &lt;/P&gt;&lt;P&gt;if(id_indicador=46 and exists($(QAlumnos_2018)),$(QAlumnos_2018),&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;if(id_indicador=56 and exists($(QAlumnos_2019)),$(QAlumnos_2019),0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 19:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validation-variable-in-LOAD-QLIKVIEW/m-p/1212903#M876985</guid>
      <dc:creator />
      <dc:date>2016-10-24T19:17:39Z</dc:date>
    </item>
  </channel>
</rss>

