<?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: How to initialize variable with field value ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968218#M331715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By section access be cautious and read the links here &lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&gt; especially the Introductio very carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example won't work because you could only use those fields which are specified for section access like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ACCESS, &lt;STRONG&gt;NT&lt;/STRONG&gt;NAME , &lt;STRONG&gt;OMIT&lt;/STRONG&gt;&lt;SPAN style="text-decoration: line-through;"&gt;GROUP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM myqvd.qvd &lt;STRONG&gt;where 1 = 1&lt;/STRONG&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it couldn't be an optimized qvd-load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your variable-issue isn't quite clear, do you mean something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varUser:&lt;/P&gt;&lt;P&gt;= osuser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2015 07:54:18 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-12-22T07:54:18Z</dc:date>
    <item>
      <title>How to initialize variable with field value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968216#M331713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an section access in my application&amp;nbsp; like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ACCESS ,NAME , OMITGROUP&lt;/P&gt;&lt;P&gt;FROM myqvd.qvd ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for any user , the field omitgroup have a diffrent value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll like to initialize a variable with the value of this field when a user log in my application.&lt;BR /&gt;Is it possible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 07:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968216#M331713</guid>
      <dc:creator />
      <dc:date>2015-12-22T07:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize variable with field value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968217#M331714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you actually want to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 07:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968217#M331714</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-12-22T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize variable with field value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968218#M331715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By section access be cautious and read the links here &lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&gt; especially the Introductio very carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example won't work because you could only use those fields which are specified for section access like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ACCESS, &lt;STRONG&gt;NT&lt;/STRONG&gt;NAME , &lt;STRONG&gt;OMIT&lt;/STRONG&gt;&lt;SPAN style="text-decoration: line-through;"&gt;GROUP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM myqvd.qvd &lt;STRONG&gt;where 1 = 1&lt;/STRONG&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it couldn't be an optimized qvd-load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your variable-issue isn't quite clear, do you mean something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varUser:&lt;/P&gt;&lt;P&gt;= osuser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 07:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968218#M331715</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-22T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize variable with field value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968219#M331716</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ACCESS ,NAME , OMITGROUP&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM myqvd.qvd ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Section Application;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Test:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load DISTINCT&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;OMITGROUP&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM myqvd.qvd ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now in variable just use Only(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OMITGROUP&lt;/SPAN&gt;).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 07:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968219#M331716</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-12-22T07:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize variable with field value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968220#M331717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank yuo , it work now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 08:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-initialize-variable-with-field-value/m-p/968220#M331717</guid>
      <dc:creator />
      <dc:date>2015-12-22T08:00:14Z</dc:date>
    </item>
  </channel>
</rss>

