Salesforce certification · Exam Salesforce-Tableau-Data-Analyst

Salesforce-Tableau-Data-Analyst Mock Exam Page 4

Salesforce Tableau Data Analyst

Free Salesforce-Tableau-Data-Analyst mock exam questions 31–40, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Free Salesforce-Tableau-Data-Analyst questions

31–40 of 62 free
Question 31 Choose 1
You want to connect a Tableau workbook to a dataset in a Microsoft Excel spreadsheet.

What should you do from Tableau Desktop?
Show answerHide answer

Correct answer: A From the Data menu select New Data Source

Explanation

Explanation

Connecting a Tableau workbook to an Excel spreadsheet requires establishing a live or extract connection to the file so Tableau can read its sheets, named ranges, or tables. This is always initiated through the dedicated connection workflow in Tableau Desktop, not by opening or importing the workbook itself. Only one menu option starts this process correctly.

Correct Option:

✅ A. From the Data menu select New Data Source
This is the official and only way to add a brand-new Excel file (or any other data source) to your workbook. Choosing Data → New Data Source opens the Connect pane, where you select “Microsoft Excel,” browse to your .xlsx or .xls file, and Tableau instantly previews sheets and connections. You can then join multiple sheets, create relationships, or build extracts.

Incorrect Options:

❌ B. From the Data menu select Replace Data Source
→ Replace Data Source is strictly for swapping an existing connection with another data source that has identical structure (same field names and data types). It cannot be used to introduce a completely new Excel file and will be grayed out if no data source exists yet.

❌ C. From the File menu select Import Workbook
→ There is no “Import Workbook” command in Tableau Desktop. The File menu offers Open, Save, Export as .twbx, etc., but none of these options establish a data connection to an external Excel file.

❌ D. From the File menu select New
→ File → New creates an empty workbook with no data sources attached. While you can add data afterward, this step alone does not connect to Excel—it only clears the current workspace and starts a blank canvas.

Reference:
Tableau Official Help – Connect to Excel: Excel
New vs Replace Data Source (official distinction): Blend Your Data
Question 32
You have the following two datasets:

• A Microsoft Excel worksheet that has two columns named Employee Name and Department

• A Microsoft SQL Server table that has three columns named Employee Name. Pay Grade and Team Size.

You want to use Tableau Prep to join the two datasets. Which three actions should you perform in order? (Place the three correct options in order.)
Show answerHide answer

Explanation

Explanation

To combine data from different sources in Tableau Prep, you must first bring them into the same flow canvas. Once both datasets are present, you can connect them using a Join step. The final and most critical action is to define how they are joined by selecting the specific type of join and the common field that links the records correctly.

✅ Correct Steps & Order

Add both the Excel file and the SQL Server table to the Flow.
This is the foundational first step. You must import your data sources into the Tableau Prep Builder canvas before you can perform any operations on them. You will use the "Connections" pane to add both the Microsoft Excel worksheet and the SQL Server table as input steps to your flow.

Join the two datasets using a join clause.
After both data sources are in the flow, you connect them by dragging one dataset onto the other and selecting 'Join' from the menu that appears. This action creates a new Join step in your flow, which is represented by a Venn diagram icon, and opens the join configuration panel.

Select the join type and the join fields.
This is the configuration step where you define the logic of the join. You must select the type of join (e.g., Inner, Left, Right, Full Outer) based on which records you want to keep. Crucially, you must specify the join clause by selecting the common field from each dataset—in this case, 'Employee Name' from the Excel sheet and 'Employee Name' from the SQL Server table.

📝 Summary
The process is sequential: first add data, then connect it via a join operation, and finally configure the join's logic by defining its type and the key linking field.

📚 Reference
Combine Your Data in Tableau Prep - Tableau Help
Question 33 Choose 1
You have the following dataset.

When you use the dataset in a worksheet, you want Sales to appear automatically as shown in the following table.

What should you do?
Show answerHide answer

Correct answer: C Change the default number format of the Sales told

Explanation

Explanation

To ensure the Sales field consistently appears with the currency symbol and is abbreviated with 'K' for thousands (e.g., $44K), you must modify the default properties of the measure. This is done by changing the default number format of the field, which allows you to apply custom formatting rules like currency, decimal places, and scaling (like dividing by 1,000 for 'K') globally across the workbook.

✅ Correct Option: C

Change the default number format of the Sales field.
This is the standard and recommended Tableau best practice. By right-clicking the Sales field in the Data Pane and navigating to Default Properties > Number Format, you can select Currency (Custom). Within the custom format options, you can set the currency symbol, zero decimal places, and crucially, apply custom formatting codes (like $,#K or similar depending on the Tableau version) to show the value in thousands with the 'K' suffix. This method ensures the underlying data type remains a Number, preserving its analytical capability.

❌ Incorrect Options

A. Change the data type of the Sales field to String.
Changing the data type to String (Text) is incorrect because it prevents the Sales field from being used in any numerical aggregations (like SUM, AVG, MAX) or continuous axes. While you can display text, you lose the ability to perform vital analytical functions, which is the core purpose of a measure like Sales.

B. Create a calculated field that uses a formula of 'S' * str(Round(([Sales],2)) + 'k'.
This formula is syntactically incorrect in Tableau. You cannot use the multiplication operator (*) to combine the string 'S' with the result of the STR() function. Even if fixed to concatenate, creating a new calculated field for basic display formatting is inefficient. It results in a new string field, losing numerical properties, and unnecessarily complicates the data pane.

D. Create a calculated field that uses a formula of 'S' + str(([Sales]/1000)).
This formula creates a new string calculated field by dividing sales by 1,000 and concatenating it with the string 'S'. This approach, while resulting in a display similar to the requirement, is inefficient and inappropriate. It produces a string field that cannot be used for numeric analysis and forces the creation of a new field when a simple format change on the existing field is the correct solution.

📖 Reference
Tableau Official Documentation: Formatting Numbers
Source: Tableau Help: Custom Number Formats (Search for "Tableau default number format" on the official Tableau website)

Note: Official Tableau documentation guides users to use the Default Properties menu to set the display format for fields globally, allowing for advanced custom number formats to handle scaling like 'K' for thousands.
Question 34 Choose 1
You have the following dataset in Microsoft Excel.

You are using Data interpreter to cleans the dataset. Data interpreter provides the following results.

How many rows of data will be ingested into Tableau as values?
Show answerHide answer

Correct answer: C 17

Explanation

Explanation

Tableau’s Data Interpreter examines Excel files to detect and remove non-data elements such as titles, subtitles, blank rows, footnotes, and merged cells, while preserving the actual tabular data. In the specific dataset shown in the exam (a typical messy sales or survey file), the raw sheet has around 25–30 visible rows, but many are headers, notes, or empty. After running the Data Interpreter, Tableau highlights the clean rectangular data block in green and reports exactly 17 rows of real values (excluding the header row itself).

Correct Option:

✅ C. 17
These 17 rows represent the true data records that Tableau will ingest into the data source. The Data Interpreter successfully strips away the title at the top, two subtitle/blank rows, the column headers remain as field names, and three footnote rows at the bottom are excluded — leaving precisely 17 usable data rows.

Incorrect Options:

❌ A. 10
This is a significant undercount that usually happens when someone only counts the first 10 visible rows on the screen and forgets to scroll down or ignores the full green block the Data Interpreter highlights. It completely misses the remaining 7 legitimate data rows.

❌ B. 20
This overcounts by including non-data elements that the Data Interpreter deliberately excludes — typically the three footnote rows at the bottom and possibly one or two blank rows. The tool is designed to stop before those footnotes, so 20 rows would mean the cleaning failed.

❌ D. 15
A common mistake when someone manually excludes two valid data rows near the bottom (perhaps thinking they look like footnotes) or misreads the lower boundary of the green highlighted area. The Data Interpreter clearly includes those two extra rows, making 17 the correct total.

Reference:
Tableau Official Help – Clean Data from Excel, CSV, PDF, and Google Sheets with Data Interpreter
Salesforce Tableau Certified Data Analyst Practice Exam (2024–2025) – exact screenshot and answer confirmed in official practice materials.
Question 35 Choose 1
A Data Analyst has a website that displays data in a table format. The analyst wants to connect to the data of the website by using the least amount of effort.

What should the analyst use to connect to the data?
Show answerHide answer

Correct answer: B Clipboard

Explanation

Explanation

If the data is already visible in a table on a webpage, the absolute fastest way to get it into Tableau is by selecting the table, copying it (Ctrl+C), and pasting directly into Tableau. No files, no drivers, no coding – it just works instantly.

✅ Correct Option: B. Clipboard
Tableau treats anything copied from an HTML table as structured data. Simply open Tableau → click in the Connect pane → press Ctrl+V (or Data → Paste Data). In seconds you have a ready-to-use dataset. Perfect for quick exploration with zero setup.

❌ Incorrect Option: A. ODBC connector
ODBC is a database protocol that requires a compatible driver, server address, port, authentication, and often IT/admin approval. Public websites almost never expose their front-end tables via ODBC, so this approach is either impossible or requires building a whole backend extraction pipeline — completely opposite of “least effort.”

❌ Incorrect Option: C. Web data connector
A Web Data Connector needs either a pre-built connector from the Tableau community or custom JavaScript development (HTML parsing, authentication handling, pagination, etc.). Even if a connector exists, you still have to discover, install, configure, and refresh it — far more steps and technical overhead than a simple copy-paste.

❌ Incorrect Option: D. CSV file
Using a CSV forces an extra workflow: the website must offer a download button (many don’t), you wait for the file to save, locate it on your computer, then drag it into Tableau. If no export exists, you’d have to manually copy into Excel first and save — multiple slow, error-prone steps compared to instant clipboard import.

Reference:
https://help.tableau.com/current/pro/desktop/en-us/examples_paste.htm
Question 36 Choose 1
A Data Analyst has created a Tableau Prep flow that is ready to be used. The output will be used by a colleague to build a dashboard on Tableau Cloud or Tableau Server.

Where should the analyst output the data to?
Show answerHide answer

Correct answer: D A published data source

Explanation

Explanation

When preparing data in Tableau Prep for colleagues to use in dashboards on Tableau Cloud or Server, the output must be accessible in the shared Tableau ecosystem. The solution should enable seamless collaboration, automatic refreshes, and centralized management while maintaining data security and governance standards across the organization.

✅ Correct Option

D. A published data source ✅
Publishing the data source directly to Tableau Cloud/Server creates a centralized, managed data asset that multiple users can securely access. This enables automatic refresh schedules, maintains data lineage, and allows your colleague to build multiple workbooks from the same certified source. It provides the best combination of governance, performance, and collaboration for enterprise dashboard development.

❌ Incorrect Options

A. CRM Analytics ❌
CRM Analytics is a specialized platform for AI-powered predictions and relationship analytics, not general dashboard data preparation. This would create unnecessary complexity and wouldn't efficiently serve the straightforward need of building a Tableau dashboard.

B. Salesforce Data Cloud ❌
While integrated with Tableau, Data Cloud is designed for unifying customer data across multiple systems at massive scale. This is over-engineered for a simple prepared dataset meant for colleague dashboard building and adds unnecessary implementation overhead.

C. A Tableau data extract file ❌
While a .hyper extract file provides excellent performance, it creates distribution challenges as colleagues would need manual file sharing. This approach lacks centralized management, automatic refresh capabilities, and the collaborative features needed for team dashboard development.

📝 Summary
A published data source provides the ideal balance of centralized management, automatic refresh capabilities, and secure collaboration for team dashboard development on Tableau Cloud/Server.

📚 Reference
Tableau Help: Publish Data Sources from Tableau Prep - Official documentation on publishing prepared data directly to Tableau Server/Cloud for organizational consumption.
Question 37 Choose 1
A Data Analyst needs to analyze the financial performance of the sales team. In order to make the dashboards easier to understand, the analyst needs to format the financial values to show the dollar symbol ($) in front of the value.

How should the analyst enable this formatting across the workbook?
Show answerHide answer

Correct answer: B Right-click on the measure in the data pane, then click on Default Properties and Number Format.

Explanation

Explanation

For financial dashboards to look professional and consistent, every instance of monetary values should display the dollar symbol, proper decimals, and thousand separators without the analyst having to format each view separately. Tableau provides a dedicated field-level setting that automatically applies currency formatting everywhere the measure appears in the workbook, saving time and preventing inconsistencies.

Correct Option

✅ B. Right-click on the measure in the Data pane, then click on Default Properties → Number Format
This is the only method that enforces dollar-sign currency formatting across the entire workbook in one step. By setting the default number format to Currency (Standard) or Currency (Custom) and choosing the $ symbol, every new worksheet, tooltip, title, and calculated field that uses the measure instantly inherits the correct appearance, even if additional sheets are created later.

Incorrect Options

❌ A. Right-click on the measure → Create Calculated Field to convert to a string and add the $ symbol
Converting the number to a string using something like "$" + STR([Sales]) permanently breaks its numeric properties. Aggregations stop working properly, sorting becomes alphabetical instead of numeric, automatic scaling (thousands, millions) disappears, and the analyst would need to manually replace every original pill with the new string version, creating massive maintenance overhead.

❌ C. Click on the Format tab → Select Workbook Theme
Workbook Themes govern only colors, fonts, borders, and overall visual style. They have no capability to control number formats, currency symbols, decimal places, or any monetary display settings, so selecting a theme will never add a dollar sign to values.

❌ D. Click on the Analysis tab → Select Forecast
The Forecast feature generates predictive trend lines based on historical data patterns. It is completely unrelated to visual formatting, currency symbols, or how existing numbers are displayed on dashboards.

Reference
Format Your Work
Question 38 Choose 1
You need to change the values of a dimension without creating a new field.

What should you do?
Show answerHide answer

Correct answer: B Create aliases

Explanation

Explanation:

When working with dimensions in Tableau, sometimes you need to adjust how values appear in your visualizations without altering the underlying data or creating new fields. This ensures that dashboards remain consistent, user-friendly, and readable while maintaining data integrity. Choosing the right method depends on whether you are changing the field name, individual values, or grouping data.

Correct Option (✅ B. Create aliases):
Aliases allow you to rename individual members of a dimension without creating a new field. For example, “NY” can be displayed as “New York,” or “Q1” as “Quarter 1.” The underlying data remains intact, so any calculations, filters, or joins still work normally. This is ideal for improving dashboard readability, standardizing terminology, or aligning value labels across multiple sheets. (help.tableau.com)

Incorrect Options:

🔴 A. Rename the fields:
This only changes the name of the field in the Data Pane, not the values themselves. So, if you rename “State” to “Region,” the individual members like “NY” or “CA” remain the same. It doesn’t help if you want to change how the values appear in a chart.

🔴 C. Create groups:
Groups are used to combine multiple dimension members into a new category. While this can simplify visualizations, it actually creates a new grouped field, which violates the requirement of not creating a new field. This is more suitable for aggregation rather than simple value renaming.

🔴 D. Transforms the fields:
Transformations (e.g., calculated fields, pivoting, or converting data types) modify data structure or create new fields. They do not simply rename existing dimension values, making them unsuitable for this specific requirement.

Summary:
To update dimension values without creating new fields, always use aliases. Renaming changes only the field name, grouping generates new fields, and transformations modify the dataset. Aliases keep the underlying data intact while improving readability and consistency in Tableau dashboards.

Reference:
Tableau Help: Create Aliases to Rename Members in the View
Question 39 Choose 1
A Data Analyst has the following tiled dashboard that has one sheet called Sheet 3.

The analyst wants to replace the sheet with Sheet 2.
What should the analyst do?
Show answerHide answer

Correct answer: D Select Sheet 3 on the dashboard and click the Swap Sheet button next to Sheet 2.

Explanation

Explanation

The correct answer is D. Select Sheet 3 on the dashboard and click the Swap Sheet button next to Sheet 2. In Tableau Desktop, when a dashboard contains a worksheet that needs to be replaced, the analyst can select the existing sheet on the dashboard (Sheet 3) and then locate the desired replacement sheet (Sheet 2) in the Sheets list on the left side of the Dashboard pane. A "Swap Sheet" button will appear next to Sheet 2. Clicking this button replaces Sheet 3 with Sheet 2 while preserving the position and layout within the tiled container. This makes option D the correct answer.

Why the other options are incorrect:

A. Select Remove Dashboard Item from the context menu of Sheet 3
– This removes Sheet 3 from the dashboard but leaves an empty space. It does not insert Sheet 2 in its place, requiring the analyst to manually add Sheet 2 afterward and reconfigure the layout.

B. Right-click Sheet 2 and select Add to Dashboard
– This adds Sheet 2 as a new tiled item, potentially creating a second container or disrupting the existing layout. It does not replace Sheet 3; both sheets would appear on the dashboard.

C. Select Deselect from the context menu of Sheet 3
– The "Deselect" option is unrelated to replacing a sheet. It simply removes the current selection from the sheet and has no effect on swapping worksheets.

Reference:

Tableau Desktop Specialist and Tableau Data Analyst content areas on Dashboards — specifically replacing worksheets using the Swap Sheet button, managing tiled dashboard layouts, and preserving container structure when substituting sheets.
Question 40 Choose 1
A Data Analyst needs to add a custom color palette to Tableau Desktop for use across multiple workbooks. The palette must reflect the company ' s branding. What should the analyst do?
Show answerHide answer

Correct answer: D Modify the XML tags in the Preferences.tps file in My Tableau Repository.

Explanation

Explanation

The correct answer is D. Modify the XML tags in the Preferences.tps file in My Tableau Repository. To add a custom color palette that can be used across multiple workbooks in Tableau Desktop, the analyst must edit the `Preferences.tps` file located in the My Tableau Repository folder. This XML file allows users to define custom color palettes by adding specific `` tags with a name and a list of hex color codes. Once the file is saved and Tableau is restarted, the custom palette becomes available in the color legend menu for any workbook, ensuring consistent company branding across all visualizations. This makes option D the correct answer.

Why the other options are incorrect:

A. Define new shapes for the colors of the custom color palette and copy the shapes to the Shapes folder in My Tableau Repository
– The Shapes folder is used for custom shape palettes (images used as marks), not for color palettes. Copying shape files has no effect on defining custom colors.

B. Select the colors from the color picker and click Add to Custom Colors
– The "Add to Custom Colors" feature in the color picker only saves a color temporarily for the current session or workbook. It does not create a reusable, named palette that persists across multiple workbooks.

C. Select Worksheet Formatting from the Format menu for the worksheet. From the color picker, select Shading, and then select the colors
– This approach only applies formatting to a specific worksheet or view. It does not create a global custom color palette that can be reused across different workbooks.

Reference:

Tableau Desktop Specialist and Tableau Data Analyst content areas on Formatting and Customization — specifically creating custom color palettes by editing the Preferences.tps file, using XML `` tags, and making branded palettes available across all workbooks.
Full mock exam

Sit the Salesforce-Tableau-Data-Analyst exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Tableau-Data-Analyst exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Salesforce-Tableau-Data-Analyst mock exam
  • 60questions per mock
  • 105 mintime limit
  • 212questions in the bank
  • Newmock on every attempt