<?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 Qlik Sense UserID variable for default filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-UserID-variable-for-default-filter/m-p/1117386#M19225</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;Does anyone know if it is possible to use the 'UserID' variable in Qlik Sense to apply a default filter to an app, whilst also keeping all the other variations of the filter available for selection?&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;i.e. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- user opens an app and the data is filtered on Field B (which is a name) to show just that users data. The filter also contains all the other users, so that a user can then select and view any other users data as well&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- I do not want to use Section Access as this will filter the app for a UserID, however it will not allow the user to then select others.&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;I want to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) pick up the current user that is logged in to a Qlik Sense app&lt;/P&gt;&lt;P&gt;2) obtain the long username - firstname surname - that is stored in QMC&lt;/P&gt;&lt;P&gt;3) use this username to create a variable so that the app defaults to the data for that particular person &lt;/P&gt;&lt;P&gt;so that UserID (QMC firstname surname format) = 'Field B' (which is stored as &lt;SPAN style="font-size: 13.3333px;"&gt;firstname surname format)&lt;/SPAN&gt;&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, 27 Jun 2016 04:23:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-27T04:23:44Z</dc:date>
    <item>
      <title>Qlik Sense UserID variable for default filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-UserID-variable-for-default-filter/m-p/1117386#M19225</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;Does anyone know if it is possible to use the 'UserID' variable in Qlik Sense to apply a default filter to an app, whilst also keeping all the other variations of the filter available for selection?&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;i.e. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- user opens an app and the data is filtered on Field B (which is a name) to show just that users data. The filter also contains all the other users, so that a user can then select and view any other users data as well&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- I do not want to use Section Access as this will filter the app for a UserID, however it will not allow the user to then select others.&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;I want to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) pick up the current user that is logged in to a Qlik Sense app&lt;/P&gt;&lt;P&gt;2) obtain the long username - firstname surname - that is stored in QMC&lt;/P&gt;&lt;P&gt;3) use this username to create a variable so that the app defaults to the data for that particular person &lt;/P&gt;&lt;P&gt;so that UserID (QMC firstname surname format) = 'Field B' (which is stored as &lt;SPAN style="font-size: 13.3333px;"&gt;firstname surname format)&lt;/SPAN&gt;&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, 27 Jun 2016 04:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-UserID-variable-for-default-filter/m-p/1117386#M19225</guid>
      <dc:creator />
      <dc:date>2016-06-27T04:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense UserID variable for default filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-UserID-variable-for-default-filter/m-p/1117387#M19226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know the current (2.2.4) QS version is not supporting a "default" selection.&lt;/P&gt;&lt;P&gt;The only visible suggestion is to add this variable to all Set Analysis formulas in all charts/tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to handle "no user selection", "several users selection" cases, but it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 13:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-UserID-variable-for-default-filter/m-p/1117387#M19226</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2016-06-27T13:40:49Z</dc:date>
    </item>
  </channel>
</rss>

