<?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: Load &amp; Trim OSUser variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332905#M1169280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what I was looking for, mphekin12; but when I used the search statements you and Rob Wunderlich suggested, nothing happened when I clicked the button. Just to make sure, I did a control experiment with the following entries for the field &amp;amp; search strings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=app_id&lt;/P&gt;&lt;P&gt;=73&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=app_name&lt;/P&gt;&lt;P&gt;="UAR"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, nothing was selected after I pressed the button. I don't understand, since I made doubly sure there were no extraneous values selected on the sheet I was working on. Am I using the wrong syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Aug 2012 15:44:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-05T15:44:03Z</dc:date>
    <item>
      <title>Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332898#M1169273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to implement a "My Assigned Tasks" button whose action selects the currently logged on user (OSUser) from an already existing field (assigned_to). My problem is that the OSUser value needs 11 characters trimmed from the beginning, and this is proving to be difficult. I've put this in the script as a load statement, but get the obvious error that the OSUser field doesn't exist:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Right(OSUser, Len(Trim)-11) as UserName&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I have the OSUser isolated to match the assigned_to field (which will match after the character trim) I might need some advice/suggestions on how to implement this via a button/bookmark combo or other method. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 17:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332898#M1169273</guid>
      <dc:creator />
      <dc:date>2012-08-01T17:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332899#M1169274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you expected something like attached file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332899#M1169274</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-08-01T18:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332900#M1169275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the 'Select in Field' action on the 'Actions' tab of the Button's properties.&amp;nbsp; Set the Field equal to 'Assigned_To' and the Search String equal to '=right(OSUser(),len(OSUser())-11)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332900#M1169275</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2012-08-01T18:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332901#M1169276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to pick off the user portion after the domain name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;domain\user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a more flexible expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(OsUser(),'\',-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 19:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332901#M1169276</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-01T19:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332902#M1169277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the tip.&amp;nbsp; can you tell me what the -1 parameter means?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 19:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332902#M1169277</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2012-08-01T19:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332903#M1169278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-1 means first substring from the right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 20:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332903#M1169278</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-01T20:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332904#M1169279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rob!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 12:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332904#M1169279</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2012-08-02T12:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332905#M1169280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what I was looking for, mphekin12; but when I used the search statements you and Rob Wunderlich suggested, nothing happened when I clicked the button. Just to make sure, I did a control experiment with the following entries for the field &amp;amp; search strings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=app_id&lt;/P&gt;&lt;P&gt;=73&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=app_name&lt;/P&gt;&lt;P&gt;="UAR"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, nothing was selected after I pressed the button. I don't understand, since I made doubly sure there were no extraneous values selected on the sheet I was working on. Am I using the wrong syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2012 15:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332905#M1169280</guid>
      <dc:creator />
      <dc:date>2012-08-05T15:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332906#M1169281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bikeking8,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post a sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 12:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332906#M1169281</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2012-08-06T12:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; Trim OSUser variable</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332907#M1169282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just found out this approach wouldn't work given the field values in the database. Sorry to have wasted your time, but I'll close this up correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 17:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Trim-OSUser-variable/m-p/332907#M1169282</guid>
      <dc:creator />
      <dc:date>2012-08-06T17:39:51Z</dc:date>
    </item>
  </channel>
</rss>

