<?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 Create the QVDs based on the Value availability in Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252194#M867545</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;Need help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the final Data and now I need to create the QVDs based on this data. I have one Field name: Region. So now what I want if the region has NA (North America) then it will create the QVD on the NA region otherwise it will not create its QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Tbl1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Region, Text&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp; SE, Feb&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Mar&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Apr&lt;/P&gt;&lt;P&gt;&amp;nbsp; DACH, Dec&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I want:&lt;/P&gt;&lt;P&gt;If Region='NA' Then&lt;/P&gt;&lt;P&gt;Store &lt;SPAN style="font-size: 13.3333px;"&gt;Tbl1 where Region='NA' into [Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Endif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If Region='SE' Then&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Store &lt;SPAN style="font-size: 13.3333px;"&gt;Tbl1 where Region='NA' into [Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Endif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Create the QVDs based on the Value availability in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252194#M867545</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;Need help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the final Data and now I need to create the QVDs based on this data. I have one Field name: Region. So now what I want if the region has NA (North America) then it will create the QVD on the NA region otherwise it will not create its QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Tbl1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Region, Text&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp; SE, Feb&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Mar&lt;/P&gt;&lt;P&gt;&amp;nbsp; NA, Apr&lt;/P&gt;&lt;P&gt;&amp;nbsp; DACH, Dec&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I want:&lt;/P&gt;&lt;P&gt;If Region='NA' Then&lt;/P&gt;&lt;P&gt;Store &lt;SPAN style="font-size: 13.3333px;"&gt;Tbl1 where Region='NA' into [Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Endif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If Region='SE' Then&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Store &lt;SPAN style="font-size: 13.3333px;"&gt;Tbl1 where Region='NA' into [Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Endif&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Pawan&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/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252194#M867545</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create the QVDs based on the Value availability in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252195#M867546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The store-statement has no option to apply a where-condition. You will need to filter your wanted values in previous loadings like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NA:&lt;/P&gt;&lt;P&gt;noconcatenate load * resident Example where Region = 'NA';&lt;/P&gt;&lt;P&gt;store NA into &lt;SPAN style="font-size: 13.3333px;"&gt;[Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noNA:&lt;/P&gt;&lt;P&gt;noconcatenate load * resident Example where Region &amp;lt;&amp;gt; 'NA';&lt;/P&gt;&lt;P&gt;store noNA into &lt;SPAN style="font-size: 13.3333px;"&gt;[Path] (Qvd);&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;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252195#M867546</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-13T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create the QVDs based on the Value availability in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252196#M867547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will insert these line for every region:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;NA:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;noconcatenate load * resident Example where Region = 'NA';&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;store NA into &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[Path] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if any Region is not available in the table then I will not want that region's QVD to be generated. &lt;/P&gt;&lt;P&gt;So If NA region data if not there in the table then it should not be execute the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;store NA into &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 13.3333px;"&gt;[Path] (Qvd);" line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 11:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252196#M867547</guid>
      <dc:creator />
      <dc:date>2016-12-14T11:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create the QVDs based on the Value availability in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252197#M867548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case would be a loop through the field Region easier. I mean something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 1 to fieldvaluecount('Region')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vRegion = fieldvalue('Region', $(i));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StoreRegion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; noconcatenate load * resident Example where Region = '$(vRegion)';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store StoreRegioninto &lt;SPAN style="font-size: 13.3333px;"&gt;[Path\vRegion.qvd] (Qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;next&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;- Marcus&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252197#M867548</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-14T18:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create the QVDs based on the Value availability in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252198#M867549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I want. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 08:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-the-QVDs-based-on-the-Value-availability-in-Field/m-p/1252198#M867549</guid>
      <dc:creator />
      <dc:date>2016-12-15T08:07:23Z</dc:date>
    </item>
  </channel>
</rss>

