Saturday, May 9, 2020

MotM May 2020: 3D Map of Portland

Turns out the city of Portland, OR has a ton of spatial data available, and ESRI built a 3D map of the city. 




This uses the ESRI CityEngine to build a view of Portland. You can even change the direction of the sun!


Description From the Owner:

This web scene allows you to explore the central business district of the City of Portland, OR. It contains two types of 3D buildings: procedurally generated volumes with automated facade textures, and manually textured facades. Both created in CityEngine. 3D trees, where present, have accurate LiDAR-derived heights. Use the bookmark (star) icon to take a tour of different features in the city.

This web scene has been built using the 3D Cities Workflow 4.

New Normal for Map of the Month

For years now I have been doing a Map of the Month at work. It has consisted of a physical map on the outside of my cubicle plus a Tableau dashboard with some details, past maps, etc.

Now It has been a couple months since most people have been in our offices and I am missing the map of the month. I think I need to take it digital! So in a few days look forward to an online-focused MotM.

Wednesday, November 20, 2019

Deeper into the Tableau Repository Part 6: Cache how you want to



WARNING 

This is out of the box, non-standard, and not supported. Proceed at your own risk. Make sure you have a backup. Don't try this at home (more likely work). 
UPDATE 11/12/2020: I added some more details and comments about the code

Tableau server only allows you to set the cache for everything server wide. I have our server set at 12 hours. This is a pretty good compromise for things that update monthly, weekly, or daily. Newer versions of Tableau will dump the cache if an extract refreshes or the workbook is republished but a dashboard with a live database connection also gets that 12 hour cache. Mark Wu has a great article about how to manage this. I chatted with Mark last week at TC19 and got some really good insights. His solution is to add 1 millisecond to the last_published_at value for the workbook. His blog doesn't include code so below is what I came up with. Since the workbook thinks it has been updated it will dump the cache. 

There are comments in the code, but there are some things I am checking for:
  1. Who tagged it? Unless the tagger was the owner, site admin, or server admin I will ignore the tag.
  2. Does the workbook have an extract? This is intended for live database connections where the data is constantly changing. Extracts refreshes trigger a cache reload automatically so we want to use the cache. 

I run it every 5 minutes, but there is no reason you couldn't extend the idea to using multiple tags and having a more customizable cache. Something like a '1h-cache' tag to update it hourly and '15m-cache' that runs every 15 minutes. 

/*
The idea here is to refresh the cache ala http://enterprisetableau.com/cache3/ 
How it works:
This update statement will increment the published date for a workbook view tagged 'no-cache' by 1 millisecond
This forces the cache to be ignored and requery the database. 
*/
update workbooks w
set last_published_at = last_published_at + interval '1 millisecond'
FROM views v
,taggings ts
,tags t
,users u
,system_users su
where 
v.workbook_id = w.id
AND ts.user_id=u.id
AND su.id=u.system_user_id
AND v.id=ts.taggable_id
AND ts.tag_id=t.id
AND t.name='no-cache' --the tag we are looking for
AND (w.owner_id=ts.user_id --owner tagged the workbook
    OR su.admin_level=10 --OR a server admin tagged it
    OR u.site_role_id=0  --OR a site admin tagged it
    ) 
-- we are going to ignore it if it the workbook has an extract
AND (w.refreshable_extracts=false
    OR 
    w.incrementable_extracts=false);
 

For some reason the if I tag a workbook it shows as the view being tagged in the repository. I also set it to only do this for tags that were created by an admin (server or site) or the workbook owner.

Tuesday, October 15, 2019

Deeper into the Tableau Repository Part 5: Cracking the Workgroup Database Wide Open!


This is Part 5 of a series where we dig into the Tableau repository.


WARNING 

This is out of the box, non-standard, and not supported. Proceed at your own risk. Make sure you have a backup. Don't try this at home (more likely work). 

When Tableau 2019.2 came out it has an annoying banner that shows up. I have been wanting a MOTD (Message Of The Day) for a long time so I can post upcoming events, upgrades, etc to all users without spamming people. 



    Like many things this is a case where we get a feature, that isn't quite fleshed out and have no administrative controls (looking at you Ask Data and Extensions) and then in a next release Tableau allows us to control and customize them. Some of the issues I have with the banner:
    • Once it is hidden, it is hidden forever. You can't get it back. 
    • If you have an account on 2 sites you have to hide it for each site.
    • I can't control if it is shown.
    • I can't control what is shown. 
    Based on the user's license role the banner will change. The issue here is we have a Core-Based Server license and 40k users with publishing rights. Since they can publish they get the links to download Tableau Desktop and Prep Builder. This banner means I potentially have thousands of users who are prompted to download software which:
    1. They aren't licensed for
    2. Isn't the version we are using
    Most users will get this even though they don't have a license for Tableau Desktop, and we have zero Prep Builder licenses.

    While I was searching for a solution I came upon this article By Jonathan MacDonald over at the Information Lab that suggests enabling write access to the Workgroup database and just writing to the preferences table so it doesn't show up for users. It doesn't address what to do with new users, so you would actually have to run a scrip to find any new users and turn the banner off for them. 

    Now that I can write to the database what else is possible?

    I have so far avoided the REST API that can probably handle some of this. Some things I have been experimenting with are:

    Canceling Jobs


    Have a long-running extract that you want to cancel? well, there is a table for canceling them called BACKGROUND_JOBS_CANCEL that is empty. Insert a row in there with a background_job_id and it will stop running! I would guess there is a REST API command to populate the table and kill the job too.

    Turn off AskData


    You can do this for each data source, or for the entire server. Turning it off requires multiple clicks per datasource and we have hundreds.  I would really like the default to be off but still, allow datasource owners to enable it. AskData requires some prep to work well. The first thing that comes up when clicking on a datasource in Tableau Server is that it triggers the indexing of the datasource. We have had some performance issues with indexing large datasources. If people actually use AskData that is great but watching the logs most of the time a user will trigger the indexing and then do something else. Rarely do we have a user actually use AskData.

    To implement this I had to get the right permissions on the table by running:
    GRANT ALL ON SEQUENCE public.datasources_id_seq TO readonly;  
    GRANT ALL ON TABLE public.datasources TO readonly; 
    GRANT ALL ON SEQUENCE public.datasource_events_id_seq TO readonly;

    And then this SQL will turn off AskData for every datasource:
    UPDATE datasources 
    SET nlp_setting = 'disabled' 
    where parent_workbook_id is null

    Reschedule Jobs


     With the newer REST API, you can do this programmatically, but for a long time, it wasn't possible. I have been working to set thresholds to demote extracts that aren't used often. Here is an example: A workbook extract that updates every day, but nobody has looked at it in 20 days. Let's move it to a weekly schedule.

    Wednesday, October 9, 2019

    Deeper into the Tableau Repository Part 4: Letting users know about their Tableau Content

    This is Part 4 of a series where we dig into the Tableau repository.

    Our Tableau Server is a shared resource. I understand it is really easy to create a dashboard, generate an extract, and publish it out there. The really hard part is getting people to use a dashboard. This leads to lots of orphaned content.

    We recently have been having issues with a pretty substantial backlog of extract jobs in the morning. Our main EMR(Electronic Medical Record) database doesn't finish updating until 6am and then we have about 300 jobs that get added to the queue between 6am and 10am. With only 4 backgrounders to execute these jobs (plus any system tasks and subscriptions), there can be a bit of a backlog. We were averaging hours of lag time during the morning. I ended up adding a backgrounder process and there is a configuration setting to sort jobs (with the same priority) based on runtime.

    To better let users know what is going on I created a dashboard to allow them to see some stats. I invited all our users to subscribe themselves and I added some of the worst offenders. It contains sections that show on a monthly basis:

    • What content is being used
    • What extracts have failed or suspended
    • What content has not been accessed in the last 6 months (including how big it is)
    • How long do my extracts take compared to other users
    • How much time did my extracts take last month
    • How long did my extracts wait before executing
    • What extracts are being refreshed too frequently based on use

    The last one is a big deal. I found someone who had an hourly extract that hasn't been used in 6 months. I set some thresholds for hourly, daily, weekly, and monthly schedules. My next steps are to automatically demote extracts that are exceeding these thresholds. More on that to come!

    Monday, September 30, 2019

    Deeper into the Tableau Repository Part 3: So many AD Groups

    This is Part 3 of a series where we dig into the Tableau repository.

    In my previous lives as a sysadmin I learned that there are very few things you actually have to do once. From that experience, I learned that I should script EVERYTHING!!! As our Tableau Server use grew people were confused why a user or group wasn't on the Tableau Server. I had to explain that users and groups have to be imported and import them. I took the next step of importing a group with all our employees. But what about groups?

    On our dev server I wrote a script to find every group and import them. It worked fine except it took about 8 hours for the Tableau Server to sync them. Turns out in our organization we have about 30,000 users and 35,000 groups. Since that wouldn't work it was back to the drawing board. Since every group was out we needed to import groups people actually wanted without them bothering me.

    I came up with a solution that used a Google Form. Users could enter the group name and minimum site role for that group. I used Pentaho to make a job that:
    1. checks the Google Sheet with the results
    2. checks the Tableau Repository for groups that are already imported
    3. joins the two together and if any groups need to be imported import them with tabcmd
    4. send the user who requested the group a confirmation email with the results
    5. log the results to another tab in the Google Sheet. 
    This job has been running 3 times a day for a couple years now and really cuts down on emails from the 300+ people who are publishing content. I found early on that users would sometimes include the @domain.com instead of just the group name so I ended up doing some error checking in the Google Form to check for an '@' character. Originally I allowed the requestor to choose the site role, but since all our employees got a 'Publisher' role when I altered it for the new roles 'Creator Publisher' is the only option.

    Tuesday, September 24, 2019

    Deeper into the Tableau Repository Part 2: Opening it up with published datasources

    This is Part 2 of a series where we dig into the Tableau repository.

    There are lots of good bits of info in the Tableau Repository but Tableau only gives you one (two really but the readonly user is the one with good access) account with one password to access it. Site and Server Admins can see the built-in status dashboards to get information but there are a couple problems with them:

    1. Only admins? come on Tableau it can't be that hard to add a row-level filter to your dashboards and let anyone see what they did or own.
    2. Why can't I subscribe? They have embedded their own dashboards into Tableau Server they turned off the ability to subscribe. Wouldn't it be nice to get a subscription with how many extracts are failing on your server?
    A few years back Matt Coles shared his sharable datasources at TC16 and I loved the idea. I don't like having to be a bottleneck or doing the same thing twice so these were a really great solution. I applied a user filter (more on that later) and then piloted the Background Tasks, Events, and a custom-built Comments DS with a small group of power-users. The beta was a great success and now they have been rolled out to all users.

    Row-Level headache

    First off who gets to see what? I kicked around some ideas and came up with that you should be able to see the row if:

    • if you were the actor (you did the thing)
    • if you own the object acted upon (Workbook, View, or Datasource)
    • if you own a Datasource and the Workbook acted up connects to it
    • if you own the project the Datasource or Workbook lives in
    • if you are a project lead for the project the Datasource or Workbook lives in
    • if you are a site admin or server admin

    That list can be confusing, but I took it in chunks. Owners are easy, but it can be harder when there are multiple site/server admins and project leads. This was back before multi-table extracts and I wanted to be able to extract this datasource. To prevent exploding the extract I ended up combining all the Project Leads into one comma-separated field and doing a contains() in Tableau
    select
        pr.id as project_id
        ,pr.site_id
        , ',' || string_agg(COALESCE(_users.name,gmemebers.name) , ',') || ',' AS username_PLead
    from projects pr
    left outer join next_gen_permissions ng on (pr.id = ng.authorizable_id AND ng.authorizable_type = 'Project' AND (ng.permission=1 or ng.permission=3))
    inner join capabilities cap on (ng.capability_id = cap.id AND cap.name = 'project_leader')
    left outer join _users on (ng.grantee_id = _users.id AND ng.grantee_type = 'User')
    left outer join _groups on (ng.grantee_id = _groups.id AND ng.grantee_type = 'Group')
    left outer join group_users on (_groups.id=group_users.group_id)
    left outer join _users gmemebers on ( group_users.user_id = gmemebers.id)
    Group by 1
    I joined the above CustomSQL to the project_id once each for the DataSource, Workbook, and View. I did something similar for site and server admins. Then my row-level filter had a big boolean statement that looked something like:
    USERNAME() = [item_owner_username]
    OR USERNAME() = [actor_username]
    OR CONTAINS([Current DataSource Project Leads],','+USERNAME()+',')
    OR CONTAINS([Current View Project Leads],','+USERNAME()+',')
    OR  CONTAINS([Current WB Project Leads],','+USERNAME()+',')
    OR  CONTAINS([Admin Username],','+USERNAME()+',')
     I now do this with a live query, so there is no extract to explode. Sometimes I get off the wall requests that I have to manually create, but the published datasources make it only a handful each year.

    Thursday, June 13, 2019

    Deeper into the Tableau Repository Part 1: The Basics

    Over the years I have leveraged the Tableau Repository to do all sorts of things. I have found some articles here and there but thought I would share some that I haven't seen before. Since there will be a few (hopefully lots) I am going to do a series that will get deeper into the repository than you should probably go, but we are doing this for informational purposes and fun only.

    Some of the topics I have that you should see in the next few months will include:


    Any topics people really want to see?



    Into the breach. The Tableau Repository  is well documented and I am not going to re-write the manual. Basically run a command to set the password for the readonly user (or the tableau user if you want only access to basic info).


    tsm data-access repository-access enable --repository-username readonly --repository-password <PASSWORD>

    After the server restarts you can query it with Tableau Desktop or any SQL tool that works with PostgreSQL. Note the port is 8060 not the standard PostgreSQL port. 

    Things to know:

    Views
    Back in the old days we only had the tableau account for the repository and it could only access views (they start with an underscore). Some of these can still be useful. For example _users contains details that you would normally have to pull from users and system_users. 

    Permissions
    The NextGen permissions tables (nextgen_permissions, capabilities, roles, etc.) are fairly new but really powerful. It used to be really hard to figure out who had access to what. Not it is easier, but still not easy. 

    Data Retention
    The historical tables purge events after 183 days by default. If you want to look back farther or have to keep the records for compliance make sure you change it.
    tsm configuration set -k wgserver.audit_history_expiration_days -v <number of days>

    Wednesday, December 19, 2018

    Hours of Daylight

    This week on the Winter Solstice the Northern Hemisphere will have the shortest day of the year. A while ago I read an article where it was clear the author had no idea the effect geography had on daylight. The idea for this viz has been kicking around in the back of my mind since then and on my way home this week I managed to catch some sunlight and decided to make it happen for the Solstice.


    Wednesday, August 1, 2018

    Better Timezone and DST calculations

    Almost 4 years ago I posted a piece on converting UNIX timestamps to dates and then to local time where I did all the calculations in Tableau. You can also convert timezones in SQL and it is much easier. As an added bonus it also takes care of half hour timezones!

    I have a bunch of dashboards that use the Tableau Workgroup internal repository and they are all kept in UTC. I was looking at a post on The Information Lab on building a better traffic to views dashboard and I noticed that there was no adjusting the time from UTC so my heatmap of peak times was off.
    RAWSQL_DATETIME("%1 at time zone 'utc' at time zone %2 " ,[Created At],[Timezone Parameter])
    
    The parameter works fine with a live connection but you might want to just hard code it if you are running extracts. Something like this would work better in extracts:
    RAWSQL_DATETIME("%1 at time zone 'utc' at time zone 'America/New_York' " ,[Created At])
    To generate the timezone parameter I just ran the following against the repository and put it into a string parameter.
    select
    name as value,
    name || ' (' || abbrev || ')' as display
    from pg_timezone_names;
    This creates a nice list to display as well as the values to pass in the RAWSQL function.

    Overall this should be more performant. I make sure to note in the field name and in the dashboards what timezone the date is in so I might end up with [Created At (GMT)] and [Created At (EDT)] columns.

    To roud this back to UNIX timestamps you can combine them to something like:
    RAWSQL_DATETIME("(to_date('1970-01-01', 'YYYY-MM-DD') + (%1/ 86400000)) at time zone 'utc' at time zone %2 " ,[Timestamp],[Timezone])



    Wednesday, September 20, 2017

    #Data17 Guide



    Just a few weeks to go before data nerds converge in Las Vegas for the 10th Tableau conference. This will be my 7th and I still get excited about it.


    1. Have fun - There will be parties, mingle time, relax time, keynotes (even those are fun). Welcome Reception on Monday and Empire of the Sun and Robert DeLong will be playing at Data Night Out on Wednesday. 
    2. Meet people - in the elevator, in sessions, at the parties, in the hall. Go to meetups and meet people from the same industry or in similar roles. 
    3. Comfy shoes - you are going to walk. 
    4. Travel light - I hated carrying a bag with my laptop and all the trimmings. It kept getting in the way during sessions and I had to keep track of it. I tried slimming down to an iPad, but now I just go with sunglasses, a phone, and a power pack. Everything fits in my pocket so I can. I feel bad for those folks with computer bags at Data Night Out. 
    5. Be flexible - You might go to a session, but it isn't your cup of tea. Don't be afraid to bail and check out our second choice, or go do something else. 
    6. Tweet - The main hashtag is #data17, but there are others, like #rundata17, #fitdata17, #DataNightOut, #data17wish and more. 
    7. Eat and drink - We will be in the desert, so keep hydrated during the day so you can party in at night. Pro tips:
      1.  here is the Bar Chart often starts serving beer and wine around 3
      2. Often people line up funny at the food tables. It isn't a buffet and the same food ready to grab is all over the table, but people form a line at one end and just take food from one side. Mob the table people!
      3. Drinks lines can be crazy, so go to the back of the party where they are shorter. 
    8. Pick the right sessions - I usually star everything I am interested in and then remove anything I think will be as good or better in the video replay (you do know they record the sessions?). Hopefully, I have two or three for each timeslot to give me a backup if something is full or boring. Some people like the hands-on sessions, but I am not one of them. They are longer and in my experience, I don't get as much out of them.
    9. Dress how you want - Anything from a suit to jeans and t-shirt is acceptable. Average Highs are between 82-84 and lows around 60. Record temps are high 90's and mid-30's. Check the weather before you go to pack right. 


    Tuesday, September 19, 2017

    My Ski Data

    Last year I inadvertently tracked my skiing for a week at ABasin using the Moves App. It wasn't super accurate and lacked elevation (a big deal when skiing). This past season I used an app called Ski Tracks that is designed for skiing. It is also smart enough to split runs and chairlift rides. It started snowing out west this weekend so I figured I should get this finished up.

    Here are the results of my 21 ski days for the 2016-2017 season.



    Details:
    The app I used will export as KML or GPX, but I found the .SKIZ files it uses are actually .ZIP files. They contain an XML with day stats and CSV files with run segments, nodes, battery life, and any photos I tagged along the way.

    I created a pentaho job that would expand the SKIZ files, and then process them into 3 files.

    1. Day Level Stats - one record per file/day that has max speed, total decent, number of runs, min and max altitude, etc. 
    2. Ski Paths - a combination of the runs and nodes data. Along the way I also add some calculations for delta altitude and distance so I don't have to do table calcs in Tableau. 
    3. Battery life - it tracks battery life during use and will stop tracking if the battery gets low, but I am never reached that point or have done anything with this data yes. 
    Once the data is processed I take it away with Tableau! For my detailed speeds, I ended up using a moving average. I have found that with GPS data at small distances can be...less than accurate. Some line segments had me over 150mph. I am good, but not that good. A moving average helps smooth the speed line out. 

    Thursday, August 17, 2017

    Ticks and Trips: Tick Danger along the MI North Country Trail

    We were planning the most recent UMich Tableau Users group and I heard that I was supposed to do a Ticks and Trips. Apparently, they actually said "Tips and Tricks" but my mind was already working. In no time I was combining Lyme Disease data from the CDC and journal articles with demographics data. In order to span much of the state I used the North Country Trail as my "trip" and I was off. I built this on the fly, incorporating many tips and tricks. One person in the audience raised her hand and told us that she got Lyme Disease hiking in the Western UP, exactly where my viz showed the highest probability.

    Monday, January 23, 2017

    Great Lakes Ice Cover

    I had a discussion the other day about ice cover on the Great Lakes, which led me to searching out some data. Turns out the GLERL here in Ann Arbor has it, a lot of it. After I got it all downloaded and converted the shapefiles to CSV I loaded it up. Wow...there is a lot of it. about 150,000 rows per day, after removing land values, and I had from the 02-03 to 15-16 winters. Turned out to be about 180M rows, way more than the Tableau Public limit of 15M. I picked about 60 random days (8.2M rows) and included just them.
    I tend to over complicate things and have to work hard to simplify, simplify, simplify!



    Thursday, June 9, 2016

    Milwaukee M18 Battery Value

    Following this post over at ToolGuyd I did some copy/paste and came up with this analysis. I came to the same conclusion that the 5Ah batteries are the best value.



    Thursday, April 21, 2016

    Where are you going to stay at #data16?

    The Tableau Conference keeps getting bigger and bigger. Gone are the days when it fit in a single hotel. Now you have choices! To help decide which hotel to stay at (JW Mariott) I put together a viz containing location and hotels.com and tripadvisor reviews. You can decide on the right combination of distance, cost, and ratings. Some of the hotels were booked up when I tried.



    Monday, April 11, 2016

    Spring Break Skiing


    Over spring break my family went skiing in Colorado. When we got back I was looking at Moves and realized that it had been tracking my skiing. Fun with data below...





    Recently I got a new iPhone. I have used some fitness tracking apps in the past, but my new phone (iPhone 6s) has a built-in pedometer and supports the app Moves. Since 2012 I have used OpenPaths but that is sporadic and only useful for general location.

    Moves only recognizes walking, cycling and "transport" automatically. I had to reclassify some of the movements as 'downhill-skiing'. Since they were all in a tight geographic cluster it was pretty quick and easy using the app on the phone. The bummer is that it didn't differentiate riding the chairlift from skiing. Sometimes a movement was just a run or a chair, but most were multiple runs and chairs rides.

     Ski data is all about elevation, but there was no relevant data captured. I dumped the timestamp, lat, and long into a webpage that can calculate elevation and added that as a second dataset. Next time I might use one of the ski specific tracking apps if better ski tracking isn't added to Moves.

    Next step was to get it into Tableau, but the folks at Interworks already created a WebDataConnector for it, so that was a breeze.

    Tuesday, March 15, 2016

    Comparing the logged in user to the average

    This example came up in a forum at work:

    How can I have a dashboard compare "me" (the logged in user) to the average of all users?


    Before LOD calcs this was much harder and using row level security lets you limit to the logged in user. For this example I am:

    1.  using superstore data
    2.  a parameter called 'Who am I?' stands in for the username() function
    3. the 'Segment' dimension is standing in for the field with usernames in it
    4. We are going to compare my (ie. the 'Corporate' segment) to the average of all the segments. 
    5. Then a version where we exclude me from the average.






    My Profit



    Average for all Segments

    This version excludes "me" from the average

    Tuesday, December 15, 2015

    It has been a while since I put anything on Tableau Public, but when I saw that there was a #StarWarsData Contest I was in.

    I ended up using the vehicle and starships dataset to make jawaslist. I generated about 500 ads using the Generate Data tool. It is really great and I have it running locally in MAMP to generate large datasets.
    There are a few easter eggs in the ads. Some craft we are familiar with....


    Tuesday, October 13, 2015

    Tableau Push instead of Subscribe notifications

    Being able to subscribe to views or workbooks was a huge added feature when it was added in Tableau v8.0. Users could get the info in their email on a schedule instead of having to go to the web page. Then came the questions....

    "Can I get a notification when an extract updates?" No.

    "Can I subscribe a group?" No.

    "Can I sign other people?" No.




    We do our best to let people know which schedule to choose. 
    I have seen people who get daily messages for a dashboard that updates monthly. Not only does the server have unnecessary load, but they get 29 extra emails a month.

    I use Pentaho Data Integration to manage other Tableau Server tasks and I was working on notifying owners of when extracts failed and realized that the opposite would be to notify them when it is successfully updated.

    I boiled what was subscribe-able down to 3 things:
    1. Successful Workbook Extract Refresh
    2. Successful Datasource Extract Refresh
    3. Workbook Publish
    The third is because there are some workbooks that are manually worked/QA'ed monthly and then published from a QA version to a Prod version. You might want to add a fourth if there are datasources you manually publish. 

    Watch the video for more details on how the Pentaho Job/Transform works, but the overview is:
    1. Run Custom_Subscriptions.kjb Job, which deletes old images and launches the transform
    2. Figure out what has happened and is actionable
      1. Query Tableau Database to find actionable events
      2. Join it to a table/file with a list of who is subscribed to what
    3. Load some details for the view URLs
    4. Generate the emails
      1. Find unique views
      2. run tabcmd to generate the images once for each subscribed dashboard
    5. Email each person/group the image/content they are subscribed to.
    I have two tables/text files containing
    • email addresses, subscribed object, site, etc
    • Details about the subscribed object (url, path, site, filetype)
    We use Active Directory groups to control access, so most dashboards already have a corresponding group that we can email. This prevents having to manually manage individual users.

    I have only tested images, but switching the file type from .png to a .pdf or .csv should work. 





    There is also a #DATA15 session on how they do this at Tableau and I am really excited about seeing this. Maybe they will announce that it will be a new feature in Tableau 10.