{"id":10380,"date":"2023-09-01T17:49:00","date_gmt":"2023-09-01T22:49:00","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=10380"},"modified":"2023-09-07T12:54:39","modified_gmt":"2023-09-07T17:54:39","slug":"tableau-workbooks-and-views-created-or-modified-by-a-specific-individual","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=10380","title":{"rendered":"Tableau: Workbooks and Views Created or Modified By a Specific Individual"},"content":{"rendered":"\n<p>I had a manager looking to locate a &#8216;something in Tableau&#8217; that was created by a specific individual &#8212; in this case, it was a terminated employee so &#8220;just ask the person&#8221; was not a viable solution. I put together a query to list all workbooks owned by or modified by an individual:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT w.id, w.name, w.description, w.owner_id, w.modified_by_user_id, owner_system_users.email AS owner_email, modified_system_users.email AS modifier_email\n     FROM  public.workbooks AS w\n      LEFT OUTER JOIN public.users AS owner_users on w.owner_id = owner_users.id\n      LEFT OUTER JOIN public.users AS modified_users ON w.owner_id = modified_users.id\n      LEFT OUTER JOIN public.system_users AS owner_system_users ON owner_system_users.id = owner_users.system_user_id\n\t\tLEFT OUTER JOIN public.system_users AS modified_system_users ON modified_system_users.id = modified_users.system_user_id\n      WHERE owner_system_users.name = &#039;UserLogonID&#039;;\n--      WHERE owner_system_users.email LIKE &#039;%Smith%&#039; OR modified_system_users.email = &#039;%Smith%&#039;\n\t\t;\n\n<\/pre><\/div>\n\n\n<p>As well as a query to identify all views owned by an individual:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT views.*, owner_system_users.email AS owner_email\n     FROM  public.views \n      LEFT OUTER JOIN public.users AS owner_users on views.owner_id = owner_users.id\n      LEFT OUTER JOIN public.system_users AS owner_system_users ON owner_system_users.id = owner_users.system_user_id\n\n      WHERE owner_system_users.name = &#039;UserLogonID&#039;;\n--      WHERE owner_system_users.email LIKE &#039;%Smith%&#039; OR modified_system_users.email = &#039;%Smith%&#039;\n\t\t;\n\n<\/pre><\/div>\n\n\n<p>The email address based search is most reasonable &#8212; our email addresses are algorithmically based on our names, so we always know what the address would have been. Many contractors, however, don&#8217;t have Office 365 licenses or mailboxes &#8230; so I have to fall back to finding their logon ID in those cases. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a manager looking to locate a &#8216;something in Tableau&#8217; that was created by a specific individual &#8212; in this case, it was a terminated employee so &#8220;just ask the person&#8221; was not a viable solution. I put together a query to list all workbooks owned by or modified by an individual: As well &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1852],"tags":[1822],"class_list":["post-10380","post","type-post","status-publish","format-standard","hentry","category-tableau","tag-tableau"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10380"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10380\/revisions"}],"predecessor-version":[{"id":10381,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10380\/revisions\/10381"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}