Bird
Raised Fist0
Tableaubi_tool~20 mins

Excel and CSV connections in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Excel and CSV Connections Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Excel and CSV Data Connections in Tableau

Which of the following statements about connecting Excel and CSV files in Tableau is correct?

ATableau can connect to both Excel and CSV files, but CSV files are always imported as extracts, not live connections.
BTableau can connect to Excel and CSV files, and both can be used as live connections or extracts depending on user choice.
CTableau treats Excel and CSV files the same way and always imports data as live connections.
DTableau can connect to Excel files but cannot refresh data from CSV files automatically.
Attempts:
2 left
💡 Hint

Think about how Tableau handles file-based data sources and the options it offers for data refresh.

❓ dax_lod_result
intermediate
2:00remaining
Data Refresh Behavior for Excel and CSV Connections

When you connect Tableau to an Excel file and a CSV file, which statement best describes how Tableau handles data refresh for these files?

ATableau cannot refresh data from Excel files once connected; CSV files refresh automatically.
BTableau automatically refreshes data from Excel files but requires manual refresh for CSV files.
CTableau requires manual refresh for both Excel and CSV files unless extracts are scheduled on Tableau Server.
DTableau refreshes data automatically for both Excel and CSV files without any user action.
Attempts:
2 left
💡 Hint

Consider how Tableau handles file-based data sources and the role of Tableau Server in scheduling refreshes.

❓ visualization
advanced
3:00remaining
Best Practice for Visualizing Data from Excel and CSV in Tableau

You have connected Tableau to a large Excel file and a CSV file with millions of rows. What is the best practice to ensure smooth and fast visualization performance?

ASplit the CSV file into smaller files and connect to each separately using live connections.
BUse live connections for both files to always get the latest data.
CConvert the Excel file to CSV and use live connection only for the CSV file.
DCreate extracts for both files and apply filters to reduce data size before visualization.
Attempts:
2 left
💡 Hint

Think about how Tableau handles large datasets and what improves performance.

🔧 Formula Fix
advanced
2:30remaining
Troubleshooting Data Type Issues in Excel and CSV Connections

You connected a CSV file to Tableau, but some numeric columns are treated as text, causing aggregation errors. Which option is the most likely cause?

AThe CSV file has mixed data types in the same column, causing Tableau to treat the column as text.
BTableau does not support numeric data in CSV files.
CThe Excel file connected previously is interfering with the CSV data types.
DTableau automatically converts all CSV columns to text by default.
Attempts:
2 left
💡 Hint

Consider how Tableau infers data types from CSV files.

🎯 Scenario
expert
3:00remaining
Scenario: Automating Data Refresh for Excel and CSV Sources

You have a Tableau dashboard connected to an Excel file and a CSV file stored on a shared network drive. You want the dashboard to update automatically every morning without manual intervention. Which setup is most effective?

APublish extracts of both files to Tableau Server and schedule daily extract refreshes pointing to the network drive location.
BConvert both files to a database and connect Tableau to the database for automatic refresh.
CUse live connections to both files and rely on Tableau Desktop to refresh data when opened.
DManually refresh extracts in Tableau Desktop every morning before opening the dashboard.
Attempts:
2 left
💡 Hint

Think about how Tableau Server can automate data refreshes for file-based sources.

Practice

(1/5)
1. What is the first step to connect an Excel file in Tableau?
easy
A. Click on 'Connect to Data' and select 'Microsoft Excel'
B. Open Tableau and start a new worksheet directly
C. Drag and drop the Excel file into the Tableau workspace
D. Write a SQL query to import Excel data

Solution

  1. Step 1: Open Tableau and locate data connection options

    Tableau starts with a welcome screen where you can choose data sources.
  2. Step 2: Select the correct file type for Excel

    Choosing 'Microsoft Excel' allows Tableau to open and read Excel files.
  3. Final Answer:

    Click on 'Connect to Data' and select 'Microsoft Excel' -> Option A
  4. Quick Check:

    First step is selecting Excel connection [OK]
Hint: Always start by choosing the correct file type in Tableau [OK]
Common Mistakes:
  • Trying to open Excel data without selecting the file type
  • Assuming drag and drop works for Excel files
  • Starting with a worksheet instead of connecting data
2. Which of the following is the correct way to connect a CSV file in Tableau?
easy
A. Select 'Text File' under 'Connect' and choose your CSV file
B. Select 'Microsoft Excel' and open the CSV file
C. Use the 'Web Data Connector' to import CSV files
D. Drag the CSV file into the 'Data Source' tab without selecting file type

Solution

  1. Step 1: Identify the correct connection type for CSV files

    CSV files are considered text files, so 'Text File' is the right choice.
  2. Step 2: Select the CSV file after choosing 'Text File'

    After selecting 'Text File', browse and pick your CSV file to load data.
  3. Final Answer:

    Select 'Text File' under 'Connect' and choose your CSV file -> Option A
  4. Quick Check:

    CSV files connect via 'Text File' option [OK]
Hint: CSV files connect through 'Text File' option in Tableau [OK]
Common Mistakes:
  • Choosing 'Microsoft Excel' for CSV files
  • Using 'Web Data Connector' unnecessarily
  • Dragging file without selecting file type
3. After connecting an Excel file with multiple sheets, what does Tableau show by default?
medium
A. A blank worksheet with no data
B. Only the first sheet's data loaded automatically
C. A list of all sheets to choose from
D. A combined view of all sheets merged

Solution

  1. Step 1: Understand Tableau's behavior on Excel connection

    Tableau reads the Excel file and lists all sheets available for selection.
  2. Step 2: Recognize that Tableau does not auto-load any sheet

    It waits for the user to pick which sheet(s) to use for analysis.
  3. Final Answer:

    A list of all sheets to choose from -> Option C
  4. Quick Check:

    Tableau lists sheets after Excel connection [OK]
Hint: Tableau shows all sheets to pick after Excel connection [OK]
Common Mistakes:
  • Assuming Tableau loads only the first sheet automatically
  • Thinking Tableau merges sheets by default
  • Expecting a blank worksheet without data options
4. You connected a CSV file but Tableau shows an error saying 'File not found'. What is the most likely cause?
medium
A. The CSV file is open in another program
B. The CSV file was moved or deleted after connection
C. Tableau does not support CSV files
D. The CSV file has too many rows

Solution

  1. Step 1: Analyze the error message 'File not found'

    This usually means Tableau cannot locate the file at the saved path.
  2. Step 2: Check if the file was moved or deleted

    If the CSV file was moved or deleted after connecting, Tableau loses the link.
  3. Final Answer:

    The CSV file was moved or deleted after connection -> Option B
  4. Quick Check:

    'File not found' means missing file [OK]
Hint: Ensure CSV file stays in original location after connecting [OK]
Common Mistakes:
  • Assuming Tableau does not support CSV files
  • Thinking file open in another program causes 'File not found'
  • Blaming file size for connection errors
5. You want to combine data from multiple CSV files with the same structure in Tableau. What is the best approach?
hard
A. Use 'Join' on a common column between CSV files
B. Connect each CSV separately and create separate worksheets
C. Manually copy and paste data into one CSV before connecting
D. Use the 'Union' feature after connecting the first CSV file

Solution

  1. Step 1: Understand the goal to combine multiple CSV files with same columns

    Union stacks data vertically, perfect for files with same structure.
  2. Step 2: Use Tableau's 'Union' feature to combine files

    After connecting one CSV, you can add others via Union to merge rows.
  3. Step 3: Recognize why other options are less efficient

    Joining merges columns, not rows; copying data manually is error-prone; separate worksheets don't combine data.
  4. Final Answer:

    Use the 'Union' feature after connecting the first CSV file -> Option D
  5. Quick Check:

    Union stacks same-structure files vertically [OK]
Hint: Use Union to stack multiple CSV files with same columns [OK]
Common Mistakes:
  • Using Join instead of Union for same-structure files
  • Connecting files separately without combining
  • Manually merging files outside Tableau
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard