<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Content in Tableau Community Forums</title>
    <link>/profile-content.jspa?filterID=contentstatus[published]&amp;targetUser=37668</link>
    <description>Recent content in Tableau Community Forums</description>
    <language>en</language>
    <pubDate>Tue, 20 May 2014 21:40:30 GMT</pubDate>
    <generator>Jive Engage 8.0.5.0  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-05-20T21:40:30Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>refresh empty extract with row level security</title>
      <link>https://community.tableau.com/thread/143217</link>
      <description>&lt;!-- [DocumentBodyStart:5536bd7e-61b7-4953-9a36-31ce46148aee] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Due to an extract that is somewhat large, I want to publish it empty then refresh on the server.&amp;#160; &lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;This extract also needs to use row-level security - internal employees can see all data but sales reps can only see their own data.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;To implement the empty extract, I used this method:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;a class="jive-link-external-small" href="https://community.tableau.com/external-link.jspa?url=http%3A%2F%2Fwww.tableausoftware.com%2Fabout%2Fblog%2F2013%2F9%2Feasy-empty-local-extracts-25152" rel="nofollow" target="_blank"&gt;http://www.tableausoftware.com/about/blog/2013/9/easy-empty-local-extracts-25152&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This works as expected&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;To implement the row-level security, I used this method:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://community.tableau.com/external-link.jspa?url=http%3A%2F%2Fkb.tableausoftware.com%2Farticles%2Fknowledgebase%2Fsecuring-user-filters-for-web-editing-data-server" rel="nofollow" target="_blank"&gt;http://kb.tableausoftware.com/articles/knowledgebase/securing-user-filters-for-web-editing-data-server&lt;/a&gt;&lt;/p&gt;&lt;p&gt;To allow internal employees to see all data, I modified the calculated field to the following:&lt;/p&gt;&lt;p&gt;username() = [AD_Name_Short] OR ismemberof("Internal Employees")&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Here is the problem:&lt;/p&gt;&lt;p&gt;Now when I publish the empty extract and run a refresh on the server, the extract stays empty.&amp;#160; I assume(?) it is because the row-level security clause is evaluating to false for every row as the user is the execution account and not a member of "Internal Employees". &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Is there a way to make both of these work together?&amp;#160; Did I miss something obvious?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5536bd7e-61b7-4953-9a36-31ce46148aee] --&gt;</description>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">row</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">extract</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">security</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">level</category>
      <category domain="https://community.tableau.com/tags#/?containerType=14&amp;container=2003">empty</category>
      <pubDate>Tue, 20 May 2014 21:40:30 GMT</pubDate>
      <author>tableaucommunity@tableau.com</author>
      <guid>https://community.tableau.com/thread/143217</guid>
      <dc:date>2014-05-20T21:40:30Z</dc:date>
      <clearspace:dateToText>5 years 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

