top of page

Unveiling the Insights: Top Tableau Interview Questions to Ace Your Data Visualization Journey

  1. What is difference between relationship and joins in tableau? What will happen if we don't define relationship in table?

In Tableau, relationships and joins are two different methods of combining data from multiple tables.

Joins: Joins are used to combine data from two or more tables based on a common column or key. It allows you to merge data horizontally, creating a single, larger table. When you join tables in Tableau, you specify the join type (e.g., inner join, left join, right join) to determine which records are included in the resulting table.

Relationships: Relationships, on the other hand, are a feature in Tableau that allows you to connect multiple tables based on their logical relationships, without explicitly specifying join conditions. Relationships are created using fields that have the same values across tables, known as common fields. By defining relationships, Tableau automatically generates the appropriate join conditions based on the common fields.

If you don't define a relationship in Tableau and the tables have related data, you'll need to manually perform joins to combine the data. Without defining relationships or using joins, Tableau will treat each table as separate data sources and won't be able to link the data together. This means you won't be able to create meaningful visualizations or perform analysis that requires data from multiple tables. Defining relationships or using joins is essential for integrating and analyzing data across different tables in Tableau.

2. What are non additive and semi additive measures in Tableau?

In Tableau, non-additive and semi-additive measures refer to types of measures that behave differently when aggregated or grouped in visualizations or calculations.

Non-Additive Measures:

Non-additive measures are those that cannot be simply summed or aggregated across dimensions. Instead, they require specific calculations or logic to determine their values at different levels of aggregation. Non-additive measures include ratios, percentages, averages, and other derived measures. When visualizing non-additive measures, you need to be careful about how you aggregate or group the data to ensure accurate results.

Example: Consider a sales dataset with a "Profit Margin" measure. Profit Margin is a non-additive measure because you cannot sum up profit margins across different products or regions directly. Instead, you would need to calculate the weighted average or aggregate the numerator and denominator separately to determine the overall profit margin.

Semi-Additive Measures:

Semi-additive measures are those that can be aggregated across some dimensions but not others. These measures have meaning when aggregated along certain dimensions but require different calculations when aggregated along other dimensions. The appropriate aggregation method depends on the nature of the measure and the context in which it is used.

Example: "Inventory" is a common example of a semi-additive measure. It makes sense to sum up the inventory values for different products or regions to get a total inventory. However, it doesn't make sense to sum up the inventory values across time periods because inventory levels fluctuate over time. Instead, you may want to consider the last value in a given time period (e.g., the closing inventory at the end of the month).

In Tableau, you can define the aggregation behavior of a measure using different techniques such as table calculations, LOD (Level of Detail) expressions, or using specific aggregation functions based on the context of the analysis you're performing.

3. Best Practices for Effective Dashboards:

Clear Objectives: Define the purpose of your dashboard and identify the key questions it should answer. This will guide your design decisions and ensure the dashboard is focused and impactful.

Simple Layout: Use a clean and organized layout that guides viewers' attention and allows them to quickly understand the information presented. Avoid clutter and excessive visual elements.

Effective Use of Space: Optimize the use of space on your dashboard. Utilize size, position, and color to prioritize important elements and highlight key insights.

Consistent Formatting: Maintain consistency in font styles, colors, and formatting throughout the dashboard to provide a cohesive visual experience. This helps establish a clear visual hierarchy.

Strategic Use of Color: Choose a color palette that enhances readability and supports the message you want to convey. Use color sparingly and purposefully to draw attention to specific data points or highlight trends.

Intuitive Navigation: Design an intuitive and user-friendly navigation system that allows viewers to explore different aspects of the dashboard easily. Include clear instructions or tooltips if necessary.

Proper Use of Filters: Use filters strategically to allow users to interact with the data and explore different perspectives. Ensure that filters are relevant and provide meaningful insights without overwhelming the dashboard.

Performance Optimization: Optimize the performance of your dashboard by considering data source connections, data extract usage, and efficient calculations. Large datasets and complex calculations can impact performance, so consider appropriate optimizations.

Mobile-Friendly Design: Design your dashboard with mobile devices in mind. Consider responsive design principles to ensure your dashboard looks and functions well on different screen sizes.

Iterative Development: Continuously refine and improve your dashboard based on user feedback and evolving needs. Regularly test and validate the effectiveness of your design choices.

4. Tell me steps to create context filter? What are the limitations? What are advantages?

To create a context filter in Tableau, follow these steps:

Open your Tableau workbook and navigate to the worksheet where you want to apply the context filter.

In the Dimensions or Measures pane on the left side, locate the field you want to use as the context filter and drag it to the Filters shelf.

Right-click on the field in the Filters shelf and select "Add to Context" from the context menu. The field will be moved to the top of the Filters shelf, indicating that it is now a context filter.

Adjust the filter settings as needed, such as selecting specific values, ranges, or conditions to include or exclude from the view.

Click the "Apply" button to apply the filter and see the updated results in your worksheet.

Now, let's discuss the limitations and advantages of using context filters:


Performance Impact: Context filters can improve performance by reducing the amount of data being processed, but they can also increase the query execution time. Applying context filters may require Tableau to create temporary tables or perform additional computations, impacting performance.

Limited Interactivity: Context filters create a subset of data that is used for calculations and visualizations. As a result, interactivity with other filters or actions in the workbook may be limited. Non-context filters are evaluated after the context filter, which can affect the results.


Improved Performance: Context filters can enhance performance by reducing the amount of data that needs to be processed. By creating a smaller, optimized subset of data, Tableau can work more efficiently, especially when dealing with large datasets.

Fixed Level of Detail: Context filters allow you to establish a fixed level of detail for calculations. This can be useful when you want to perform calculations based on a specific subset of data, ensuring consistent and accurate results across the workbook.

Cascading Filters: Context filters can be used to create cascading filters, where applying a filter at a higher level affects the available values in subsequent filters. This helps users refine their analysis and focus on relevant data.

Filter-Dependent Calculations: Context filters enable filter-dependent calculations, allowing you to create complex calculations that depend on the filter selections. This can be useful for creating dynamic calculations that adapt based on user interactions.

Overall, context filters in Tableau provide performance improvements, fixed level of detail, and flexibility in creating interactive dashboards. However, it's essential to carefully evaluate the impact on performance and consider the trade-offs before using context filters extensively.


5. Explain Data blending in Tableau with example in brief? What are limitation of Data blending?

Data blending in Tableau is a technique used to combine data from multiple sources or tables into a single view or visualization. It allows you to work with data that is stored in different data sources or has different levels of granularity.

Here's a brief example to illustrate data blending in Tableau:

Let's say you have two data sources: one containing sales data by region, and another containing customer demographic information. You want to create a visualization that shows the average sales by region, along with the average age of customers in each region.

To achieve this, you can blend the two data sources by linking a common field, such as the region name. Tableau will automatically join the data based on the common field and create a blended data source. You can then create a visualization that combines the aggregated sales data from one source with the aggregated customer age data from the other source.

Some limitations of data blending in Tableau include:

Limited join types: Tableau supports only left joins when blending data, which means you may encounter challenges if you need to perform inner joins, right joins, or full outer joins.

Performance considerations: Data blending can impact performance, especially when dealing with large datasets or complex blending scenarios. It's important to optimize data sources and use filters appropriately to improve performance.

Aggregation limitations: Data blending works well with aggregated data, but it may not handle detailed-level data blending as effectively. Blending detailed-level data can lead to unexpected results or difficulties in maintaining data integrity.

Data source limitations: Tableau has limitations on the number of blended data sources that can be used in a single visualization. Additionally, certain features and functions may not be available when blending data.

Data quality issues: Data blending relies on the accuracy and consistency of the common fields used for blending. Inconsistent or missing data in the common fields can lead to errors or incorrect results.

Despite these limitations, data blending in Tableau is a powerful feature that allows you to analyze and visualize data from multiple sources. It provides flexibility and enables you to gain insights by combining data that may not be stored together in a single source.

10 views0 comments

Recent Posts

See All
bottom of page