How to Build Tableau Viewership Analytics Using PostgreSQL Repository Data
A developer has shared a PostgreSQL query that taps into Tableau's internal repository to generate detailed viewership analytics beyond the platform's basic 'Who has seen this view?' panel. The query pulls 'Access View' events from the past 90 days and joins them with workbook and user history tables to produce per-viewer view counts and last-seen timestamps. It is designed to surface unviewed workbooks alongside active ones, giving dashboard creators a complete picture of content engagement. The author notes key caveats, including using workbook_id rather than snapshot IDs for stable long-term tracking, verifying where friendly_name is populated in a given Tableau version, and optionally filtering out self-views by publishers. The query serves as the backbone of a self-service analytics dashboard featuring KPI tiles, time-series trends, and a color-coded recency table.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in