<?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 Sheet action based on NTNAME in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sheet-action-based-on-NTNAME/m-p/1768337#M59438</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with sales representatives on a sales sheet and each user would like to have it limited to just themselves when they open the sheet. E.g. Manuel is a sales rep and opens a base sheet and wants to see only his sales. Thomas opens the same sheet and wants to see only his sales and so forth. I don't want to make a copy of the sheet for each user and apply set analysis because it will be awful to maintain. Is there a way I can get this done maybe with a sheet level action? I was hoping to be able to use the NTNAME field but I don't see it being written to a variable that I can use in the app. I was thinking of a simple IF(NTNAME = 'Manuel' then select Manuel in sales rep field, if(Thomas then....)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, I know I can use the analysis to accomplish this with NTNAME and a selection in a field but the entire app is then reduced to the selection of Manuel in the sales rep field right? I only want the selection in a few sheets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 16:42:56 GMT</pubDate>
    <dc:creator>ManuelLindekeit</dc:creator>
    <dc:date>2020-12-14T16:42:56Z</dc:date>
    <item>
      <title>Sheet action based on NTNAME</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-based-on-NTNAME/m-p/1768337#M59438</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with sales representatives on a sales sheet and each user would like to have it limited to just themselves when they open the sheet. E.g. Manuel is a sales rep and opens a base sheet and wants to see only his sales. Thomas opens the same sheet and wants to see only his sales and so forth. I don't want to make a copy of the sheet for each user and apply set analysis because it will be awful to maintain. Is there a way I can get this done maybe with a sheet level action? I was hoping to be able to use the NTNAME field but I don't see it being written to a variable that I can use in the app. I was thinking of a simple IF(NTNAME = 'Manuel' then select Manuel in sales rep field, if(Thomas then....)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, I know I can use the analysis to accomplish this with NTNAME and a selection in a field but the entire app is then reduced to the selection of Manuel in the sales rep field right? I only want the selection in a few sheets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 16:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-based-on-NTNAME/m-p/1768337#M59438</guid>
      <dc:creator>ManuelLindekeit</dc:creator>
      <dc:date>2020-12-14T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet action based on NTNAME</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-based-on-NTNAME/m-p/1768345#M59439</link>
      <description>&lt;P&gt;Never mind I figured it out.&amp;nbsp;&lt;SPAN&gt;OSUser()&amp;nbsp;can be used in the expression that sets the username as value to a variable that is then used in set analysis.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 17:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-based-on-NTNAME/m-p/1768345#M59439</guid>
      <dc:creator>ManuelLindekeit</dc:creator>
      <dc:date>2020-12-14T17:09:54Z</dc:date>
    </item>
  </channel>
</rss>

