Dashboard Mode - Database connections (SQL Server, PostgreSQL)
Dashboard Goal
Understand how to connect Tableau to SQL Server and PostgreSQL databases to create live data visualizations.
Understand how to connect Tableau to SQL Server and PostgreSQL databases to create live data visualizations.
| OrderID | Customer | Region | Sales | OrderDate |
|---|---|---|---|---|
| 1001 | Alice | East | 250 | 2024-01-15 |
| 1002 | Bob | West | 450 | 2024-01-20 |
| 1003 | Charlie | East | 300 | 2024-02-05 |
| 1004 | Diana | South | 150 | 2024-02-10 |
| 1005 | Eva | West | 500 | 2024-03-01 |
SUM([Sales])SELECT Region, SUM(Sales) AS TotalSales FROM Orders GROUP BY Region;+---------------------------+---------------------------+ | Connection Setup Panel | Total Sales KPI Card | | (Instructions) | (Big number: 1650) | +---------------------------+---------------------------+ | Sales by Region Bar Chart | | (Bar chart with 3 bars) | +---------------------------------------------------+ | Recent Orders Table | | (Table with 5 rows) | +---------------------------------------------------+
Filters for Region and OrderDate allow users to update all components simultaneously:
If you add a filter for Region = West, which components update and what changes occur?
Server: sqlserver.company.com
Database: SalesDB
User: analyst
Password: correct_passwordCould not connect to server: Connection refused. What is the most likely cause?FinanceDB hosted on finance.company.com using Windows Authentication. Which steps should you follow to set this up correctly?Pass the test and this pattern moves unknown