Tablueau Interview Q
Tablueau Interview Q
Tableau is the powerful and fastest visualizing tool that is used in the Business
Intelligence(BI) Industry. It simplifies the raw data into an understandable format.
Analysis of the data becomes faster with Tableau. The visualizations can be created in
the form of dashboards. The visualizations or diagrammatic representation of data can
easily be understood by the employees of the organizations who are at different levels.
Tableau Packaged Workbook (.twbx) – zip file containing .twb and external files.
LOD Expression stands for Level of Detail Expression, and it is used to run complex
queries involving many dimensions at the data sourcing level.
A heat map is a graphical representation of data that uses the color-coding technique
to represent different values of data. As the marks heat up due to their higher value,
dark colors will be shown on the map.
7. Define TreeMap?
TreeMap is a visualization that organizes data hierarchically and shows them as a set of
nested rectangles. The size and colors of rectangles are respective to the values of the
data points they project. Parent rectangles will be tiled with their child elements.
Parameters are dynamic values, we can replace the constant values in calculations.
Page shelf breaks the views into a series of pages. It displays an alternate view on each
page. Due to this feature, you can analyze the effect of each field on the rest of the
data in the view.
The story can be defined as a sheet which is a collection of series of worksheets and
dashboards used to convey the insights of data. A story can be used to show the
connection between facts and outcomes that impacts the decision-making process. A
story can be published on the web or can be presented to the audience.
Facts are numeric measures of data. They are stored in fact tables. Fact tables store
that type of data that will be analyzed by dimension tables. Fact tables have foreign
keys associating with dimension tables.
Dimensions are descriptive attributes of data. Those will be stored in the dimensions
table. For example, customer’s information like name, number, and email will be stored
in the dimension table.
Try to use integers or Booleans in calculations as they are much faster than
strings
Reduce filter usage and use some alternative way to achieve the same result
Use indexing in tables and use the same fields for filtering
Extract: Extract is a snapshot of data that will be extracted from the data source and
put into the Tableau repository. This snapshot can be refreshed periodically fully or
incrementally. This can be scheduled in Tableau Server.
Live: It creates a direct connection to the data source and data will be fetched directly
from tables. So, data will be up to date and consistent. But, this also affects access
speed.
Tableau works the same as SQL. So, it supports all Joins possible in SQL
Data modeling is the analysis of data objects that are used in a business or other
context and also used as identification of the relationships among these data objects. It
is the first step of doing object-oriented programming.
Multiple measures can share in a single axis so that all the marks will be shown in a
single pane. We can blend measures by dragging the 1st measure on one axis and the
2nd on the existing axis.
Shelves: Every worksheet in Tableau will have shelves such as columns, rows, marks,
filters, pages, and more. By placing filters on shelves we can build our own visualization
structure. We can control the marks by including or excluding data.
Sets: The sets are used to compute a condition on which the dataset will be prepared.
Data will be grouped together based on a condition. Fields which is responsible for
grouping are known assets. For example – students having grades of more than 70%.
Whenever we set a context filter, Tableau generates a temp table that needs to refresh
each and every time, whenever the view is triggered. So, if the context filter is changed
in the database, it needs to recompute the temp table, so the performance will be
decreased.
There is a card to the left of the view where we can drag fields and control mark
properties like color, size, type, shape, detail, label, and tooltip.
When you are ready to make a data source available to other tableau desktop users.
You can publish it to the tableau server or online. Or else you can make it available by
saving the same like embedded excel or text file.
Gantt Chart displays the progress of value over the period. It consists of bars along
with the time axis. It is a project management tool. Here, each bar is a measure of a
task in the project framework.
In Tableau, there are no limitations with the file sizes. And moreover, there is no row or
column limit to import the data.
Tableau Reader is a free desktop application, where you can read and interact with
the Tableau packaged workbooks. It can only open the files but cannot create new
connections to the workbook.
The embedded data source contains connection information but it is associated with
the workbooks.
When we are working with large volumes of data, incredibly data may be messed. With
Tableau, you can easily create hierarchies to keep your data neat. Even if you don’t
need it, it is built into your data, which you can easily manage or organize the data and
you can track the data easily.
33. What is a Column chart?
A column chat visualizes the data as a set of rectangle columns, as their lengths are
proportional to values when they represent the data. The horizontal axis shows the
category to which they belong, and the vertical axis shows the values.
34. What is the Bar Chart in Tableau?
The bar chart visualizes the data as a set of rectangle bars, as their values are
proportional to lengths when they represent the data. The vertical axis shows the
category to which they belong to and the horizontal axis shows the values. So, the bar
chart is a vertical version of the Column chart.
35. What is the Line Chart?
The line chart is a popular type of diagrammatic way for visualizing the data, it connects
the individual data points to view the data. We can easily visualize the series of values,
we can see trends over time or predict future values. The horizontal axis holds the
category to which it belongs and the vertical axis holds the values.
Stacked Bar Chart, composed of multiple bars stacked horizontally, one below the
other. The length of the bar depends on the value in the data point. A stacked bar chart
makes the work easier, they will help us to know the changes in all variables presented,
side by side. We can watch the changes in their total and forecast future values.
Stacked Column Chart, composed of multiple bars stacked vertically, one on another.
The length of the bar depends on the value in the data point. A stacked column chart is
the best one to know the changes in all variables. This type of chart should be checked
when the number of series is higher than two.
Step 1: Go to public.tableau.com and enter your e-mail address and click “ Download
the App “.
Step 2: After downloading the file, run the file and follow the prompts to install the
Tableau.
Step 3: Now, you can see the Tableau shortcut on your desktop.
Step 4: Double click on the icon, to load tableau public. Now you see the screen as
below.
40. What is Context Filter and show the steps on how to create the
Context Filter Tableau?
Context Filters are applied to the data rows before any other filters. They are limited to
views, but they can be applied on selected sheets. They define Aggregation and
Disaggregation of data in Tableau
Step 1: Drag the subcategory dimensions to the row shelf and measure sales to the
column shelf. Now choose the horizontal bar chart as chart type and again drag the
sub-category dimensions to the filter shelf. Then we will get the following chart.
Step 2: Right-click on the Sub-Category field in the filter shelf and go to the Top fourth
tab. Choose the option field, from the next drop-down and choose the option Top 10
by Sales Sum as shown in the following screenshot.
Step 3: Drag the dimension Category to the filter shelf. Give right-click on the general
tab to edit and under that choose Furniture from the list. As you can see the result
shows three subcategories of products.
Step 4: Right-click the Category: Furniture filter and select the option Add to Context.
This produces the final result, which shows the subcategory of products from the
category Furniture which are among the top 10 subcategories across all the products.
Tableau Interview Questions and Answers For
Experienced
41. What are the products offered by Tableau? Explain a few things
about them.
Tableau Prep: Tableau Prep is responsible for preparing data for analysis. This tool
provides 3 coordinated views which provide us with a complete picture of data.
Tableau Desktop: Tableau Desktop is the place where the analysis happens. It has
powerful drag and drops analytics which is very easy to use. Through the desktop, you
get your data insights quickly.
Tableau Online: Tableau Online is a secure and scalable self-service analytics cloud
tool. You can use it anywhere, anytime and it has eliminated the complexities of IT.
Tableau Server: From small to large enterprises, Tableau server is used for fulfilling
their BI requirements. This is an on-premise solution. This tool can take data from
anywhere and shared it across the organization through the desktop or mobile
browsers.
Filters are the simpler and straightforward feature in Tableau. It applies to dimensions
or measures directly. For example, to only show Gujarat or Karnataka in a State
dimension, we can apply the filter on that. In Tableau, there are multiple UI options
available for filters like radio buttons, drop-down lists, checkboxes, sliders, and more.
Filters on sheets are also available in Tableau.
Parameters are like variables. They are complex and more powerful. Like a variable, a
parameter can be used in calculations. So, that means, it only allows a single value.
Parameters have the same UI options except for checkboxes because checkboxes don’t
have a single value. For example, we can create a parameter for interest rate and
period, and then we can use these parameters to calculate interest and principal
payments.
Extract Filters – Extract filters are used to apply filters on extracted data from the data
source. For this filter, data is extracted from the data source and placed into the
Tableau data repository.
Datasource Filters – Datasource filters are the same as extract filters. They also work
on the extracted dataset. But, the only difference is it works with both live and extract
connections.
Context Filters – Context Filters are applied on the data rows before any other filters.
They are limited to views, but they can be applied on selected sheets. They define
Aggregation and Disaggregation of data in Tableau
Measure Filters – Measure filters are applied to the values present in the measures.
In a tiled layout, items don’t overlap. The layout will be adjusted according to
dashboard size. In the floating layout, items can be placed on some other layers.
Floating items can have fixed positions and sizes.
Junk Dimension: Junk values or unrelated dimensions are termed as Junk Dimension.
Role enjoying Dimension: If one dimension is employed in multiple roles, then they
are termed as Role enjoying Dimensions.
Example – Date for e-commerce site order (Date of Order, Date of Shipment, Date of
delivery)
Inferred Dimension: Empty dimensions are called inferred dimensions. They are
usually used in ETL.
Example – Customer email which he may not enter while submitting any form will be
filled as null.
Aggregation → The process of summarizing the data and viewing a single numeric
value is called aggregation. Example – sum/avg of salary for each employee
Disaggregation →The process of viewing each transaction for analyzing all the
measures both dependently and independently. Example – individual salary
transactions for each employee.
objects.
objects.
computer.
Text: it is a small Wordpad where we can format and edit the text.
Discrete data roles consist of values that are separate and distinct. Discrete data roles
can take individual values within a range. For Example – cancer patients in the hospital,
no. of threads in a sheet, state. Discrete values are displayed as blue icons in the data
window and blue pills on shelves. Discrete fields can be sorted.
Continuous data roles consist of any value within the finite or infinite intervals. For
Example – age, unit price, order quantity. Continuous values displayed as green icons in
the data window and green pills on shelves. Continuous fields cannot be sorted.
Traditional BI Tableau BI Architecture has hardware limitations. Tableau does not have
dependencies. It does not support in-memory, multi-thread, and multi-core computing.
It supports memory when using advanced technologies. It has a predefined view of
data. It uses predictive analysis for various business operations. We should need a
good knowledge of BI and skills. It is easy working and understanding without the
knowledge of BI and the skills data security is provided data security is not provided for
the public, whereas in the professional version.
main events while interacting with workbooks. Then, these performance metrics
Review the logs created by Tableau Desktop. The location for log files is C:UsersMy
For live connection, check the log files log.txt and tabprotosrv.txt.
.twb: .twb means Tableau workbook. .twb is an XML sheet, it stores the data about
your documents, stories, and dashboards. This file is the reference to the source file
such as Excel or tde. This file will be linked to your source file when you save the TWB
file. If you want to share your workbook you need to send both the workbook and data
source file.
.twbx: It is a compressed file, where you have all files. It includes data source files, twb,
and other files to produce the workbook. TWBX is obsolete for sharing because it will
share the copy of the file instead of an original source file. .twbx is used for reports and
we can view using the tableau viewer.
Tableau helps in analyzing the data and using this one can change the raw data
Users can blend the data with the other data to create their own views on the
Tableau can create complex graphs which simply look like pivot table graphs in
Excel.
Users can create the visuals easily and switch between the types, to find the
Step 1: Select Analysis -> drop down will open -> Select create calculated field
Step 2: Calculation Editor Box will open, give the name to the calculated field.
Tableau dashboard allows the representation of parameters in four ways only. They
don’t allow any multiple values like a filter can do. They only allow a single value.
56. State some reasons for the low performance of Tableau? Explain
in detail.
Filters - filters need to create an extra query and if it used in large numbers and
inefficiently then they can reduce the performance. So, it is advised to use filters
whenever it is mandatory
Live connection - Tableau extract works much better in comparison with a live
connection.
Data sources - a wrong query to a wrong data source can reduce performance.
Also, the data source’s performance can also affect Tableau’s performance.
Try to use integers or Booleans in calculations as they are much faster than
strings
Reduce filter usage and use some alternative way to achieve the same result
Use indexing in tables and use the same fields for filtering
Filters
Calculated fields
Actions
Measure-swaps
Changing views
Auto-updates
Tableau Desktop Log files are placed in C: UsersMy DocumentsMy Tableau Repository.
In case of live connection to any data source, check the log file “log.txt” and
“tabprotosrv.txt” files. In case of extract connection to any data source, check the
“tdeserver.txt” file which has detailed information about queries.
60. If the owner of the published workbook license expires, then can
other users see those workbooks?
If the owner of a published workbooks license expires then his/her role will change to
“Unlicensed”. He/She cannot access those workbooks, but others can. Only site admin
can change the ownership of those workbooks.
1. Go to the Segment filter, Click on the small drop arrow which is on the right side.
2. Select Customize.
3. Then we can visible a small dropbox under customize, uncheck the option for “
All” Value.
62. Which one is better? Extract or Live connection?
Extract connection is better than live connection because extract connection can be
used from anywhere, anytime without connecting to the database. We can construct
our own visualizations on it irrespective of the database connection.
At the desktop level, you keep copies of your changes and files or using 3rd
Cascading filters means filter2 values are dependent on filter1 values. For Example,
filter1 is country and if we select “India” for filter1, filter2 values should show all Indian
states. This feature we can achieve by using the option “Only Relevant Values”.
67. How can we display the top and bottom 5 of records in a single
Tableau view?
68. State a few charts which we should not use with valid reasons
Below here are few charts which we should avoid.
Pie Charts: Pie charts are not that much accurate as bar charts. In Pie charts, we
have areas and angles to compare instead of length in a bar chart. Areas and
Donut Charts: This is the same as Pie chart, but here, we have a hole in the
middle to make it look like a donut. Due to that hole, we need to compare arc
length with other arcs to analyze the values. Comparing arcs lengths is also a
Tableau cannot plot null values on-axis. So, it will display an indicator at the lower right
corner of the view. Once you click on that indicator, you have options to handle null
values. Below are the options available to handle null values.
Filter Data – If you choose this option, null values will be filtered out from the
view.
Show Data at Default Position – It replaces the null value with the default
value and shows the data at the default position on-axis. These default values
depend on the data type of field. Below here are the defaults of a specific data
type.
Numbers →0
Dates → 12-31-1899
Negative Values → 1
Yes, Tableau Public can only allow 10 million rows to users for data visualization.
We can download views or workbooks from the server. But, data formats available to
us depend on the permissions granted by site administrators or content owners.
We can also download selected sheets into PDF format, but while generating PDF, web
page objects won’t be included.
72. Can we use unused columns (Columns that are not used in
reports but data source has columns) in Tableau Filters?
73. What is the benefit of the Tableau extract file over the live
connection?
Extract files can be used without any connections and you can build your own
visualization without connecting to the database.
74. How many tables join are possible in Tableau?
Yes, we can place an excel file in a shared location and we can use it to develop a
report, but for better performance, we need to extract the file.
Yes, we can do testing in Tableau by using tools and the easiest way is using the
desktop application. We need to check it before we publish it on the Tableau server.
77. Can you get values from two different sources as a single input
into a parameter?
78. Design a view in a map such that if a user selects any state the
cities under that state have to show profit and sales.
If you want to show the profit and sales of each and every city under the state in the
same worksheet, then follow a few steps.
The data which you want to display under the state, it must be in the same worksheet.
In the View, Size indicates the Sales, and Color indicates the profit of the respective
state(which you have selected).
79. How can u set permissions or protect the data in tableau public?
Tableau does not have any security permissions or to protect the data in Tableau
public. Whatever we shared in Tableau public those files, workbooks can be viewed by
all users. There is no security option in Tableau public.
80. If I delete a workbook from tableau public and there are links to
other blogs and other web locations. What happens to them?
Tableau public is like a repository, if you delete anything in the Tableau public the data
will be lost, even if links are in other locations and blogs. We cannot access those links.
Yes, we can create relational joins in Tableau without creating a new table
It happens when the user is trying to publish the workbook which is connected to the
internal or local server that means the company’s network.
Yes, Parameters have their own drop-down list, which enables the users to view the
data entries which are available in the parameter during the creation.
Option 1:
Example:
Option 2:
Create a set from the group, and use the set in the calculated field.
Step 1: Right-click on the Data Pane and then select Create Set.
Yes, Tableau can be installed on both the Windows Operating system and macOS.
When we are publishing the reports to Tableau Server, there we will find an option to
schedule the report, just select the time when you want to refresh the data.
88. Which databases give the best performance when connected live?
89. What are the challenges faced when working with huge volumes
of data?
2. Data Extraction.
4. Testing Data.
90. State limitation of context filters in Tableau
Whenever we set a context filter, Tableau generates a temp table that needs to refresh
each and every time the view is triggered. So, if the context filter will be changed, the
database needs to recompute and rewrite the temp table, which in turn slows down
the performance.
There is a card to the left of the view where we can drag fields and control mark
properties like color, size, type, shape, detail, label, and tooltip.
The published data source has connection information in it. It is independent of any
workbook and can be accessed by multiple workbooks.
Multiple measures can share a single axis so that all the marks will be shown in a single
pane. We can blend measures by dragging the 1st measure on one axis and the 2nd on
the existing axis.
94. Can we remove the “All” option from the auto-filter in Tableau?
Yes, we can. Navigate to filter→ Right-click on it→ select customize→ uncheck the
option “Show All”
Gantt Chart displays the progress of value over the period. It consists of bars along
with the time axis. It is a project management tool. Here, each bar is a measure of a
task in the project framework.
Tableau Public is an open-source and free service that allows anyone to publish the
data source and visualizations to the web. These visualizations can then be embedded
into blogs or web pages. They can also be distributed through email or social media.
Moreover, they can be made downloadable by other end users. For Tableau Public, no
programming skills are needed. It can be accessed by anyone free of cost.
Sets are custom fields that define a subset of data based on certain conditions. The
condition can be a computed condition such as a list of customers with sales over a certain
threshold. Computed sets update with change in data. Alternatively, a set can also be
based on a specific data point in one’s view.
1) What is Tableau?
Data blending
No need of technical knowledge
Real-time analysis
Data collaboration and data notifications
DAX analysis function
Patented technology from Stanford university
Toggle view and drag-and-drop
List of native data connectors
Highlight and filter data
Share dashboards
Embed dashboards within
Mobile-ready dashboards
Tableau reader for data viewing
Dashboard commenting
Create “no-code” data queries
Translate queries to visualizations
Import all ranges and sizes of data
Tableau Public is a free service that allows anyone to publish interactive data
to the web. Once it is on the web, anyone can interact with the data,
download it, or create their own data visualization.
Icon/Name
Connection Type
Connects to
Live or the last extract
Tableau can “join” tables. It can join up to 32 tablets in a data source. Two or
more tables can be specified while joining the relationship. The tables
present in the data source can be related to each other using the joins such
as inner join, left join, right join, and outer join.
Joining terms is helpful when you are combining data from the same source.
On the other hand, blending would require two completely defined data
sources in your report.
Desktop
Prep
Online
Server
13) Explain Longitude and Latitude in tableau
The longitude and latitude values are auto-generated in Tableau. These fields
can be used to build maps in Tableau.
A hierarchical field in tableau helps you to drill down data. It allows you to
view your data in a more granular level.
Connect live creates a direct connection to the data source and speed up
access.
The analytics pane offers quick and easy access to everyday analytic objects
in Tableau. It allows you to drag forecasts, reference and trend lines, and
other objects into your view from the Analytics pane.
Filter actions show related information between a source sheet and one or
more target sheets. This type of activities best suited when a developer is
building a guided logical path using a workbook or in a dashboard.
Users can do load testing with the help of Tableau Server performance
testing solution called TabJolt. However, this is third-party software that is
not supported by tableau directly. Therefore, it may be installed using other
open-source products.
Parameters in Tableau are dynamic values that you can replace as constant
values in calculations. These values serve as context filters.
A developer can get the current date and time in Tableau using the NOW()
function.
A calculated field is a new field that you can create using a formula to modify
the existing filed in your data source.
A formatting pane contains a setting that controls the entire worksheet and
individual fields in
Tableau Desktop
Tableau Public
Tableau Online
Tableau Server
Tableau Reader
Using below Star schema, you can slice Sales Amount and Quantity
by Customer, Time period, Product and Regions.
Q17. What is a Snow flake scheme?
Ans. In Star schema, Fact is at the center and surrounded by
dimension tables. Snow flake schema is similar to star schema. In
Snow flake schema, dimension table/s may be connected to other
related dimensions. For example, Product dimension may connect to
Category dimension.
The Data source should be given a user friendly name. Right click
on Data Source and select Rename.
Dimension and Measure columns should be given user friendly
names. Right click on a field and select Rename.
Check the data types of the fields. If data types are incorrect then
change the datatypes in Tableau.
Related fields should be organized in Folders. Right click on a field
and select Group By/ Folder.
Hierarchies help in drill downs. Identify the columns to be
included Hierarchy. Create Hierarchy by Shift or Ctrl select the
columns to be included in Hierarchy, right click and select
Hierarchy.
Provide Aliases to give meaningful description to the values. For
example, if Region is SZ, you can alias it to South Zone.
Hide the columns, dimensions and measures which are not used
in the calculations or the view.
Create Calculations to achieve required functionality. Name
calculations in a user friendly manner.
Apply appropriate filters to get meaning full data.
Use extract when possible. Extracts are faster than live
connection.
Save the datasource as TDS file. This file can be shared and other
developers can use this file for development.
Q32. On a chart, a user wants to drill down from Category to
Sub- Category. What data transformation should be applied to
achieve this functionality?
Ans.
In the Dimension section, create a hierarchy for Category and Sub-
Category.
Exercise:
Use Tableau sample data source Sample- Superstore.xls located
under \My Tableau Repository\Data sources.
Use Orders data sheet and prepare data for dash boarding.
Duplicate.
Copy of the data source can be useful when you have to create
additional view/s of the same data source to create some
visualizations like two separate charts for Year by Year comparisons.
Q34. In a multi-developer environment, how do we make sure
that all the developers are using the same datasource
structure?
Ans.
To ensure that all the developers are using the same data source,
right click on the datasource and Publish on the Tableau Server.
Exercise:
Use Tableau sample data source Sample- Superstore.xls located
under \My Tableau Repository\Data sources
Use Orders datasheet to create a TDE file. Review the file after the
data extract and see changes in the datasource icon.
Navigate to the above path and open .Tds file and review it in a
notepad.
Make sure the new data source contains the same data structure
in terms of calculations, hierarchies, parameters etc.
Right click on the old datasource and select Replace data.
Data Interpreter formats the data correctly and also provides you
option to Pivot the columns into rows.
Calculations in Tableau
Q49. What are the different types of Calculations available in
Tableau?
Ans.
Calculations or calculated field/s help in enhancing your visualization
and implementing business rules. Calculated fields are created by
using different Tableau functions.
Exercise:
Use Tableau sample data source Sample- Superstore.xls located
under \My Tableau Repository\Data sources.
Use Orders Data sheet. Create a calculation for Sales with Discount.
Exercise:
Use Tableau sample data source Sample- Superstore.xls located
under \My Tableau Repository\Data sources.
Use Orders data sheet. Place State on Rows and Sales on
the Columns Shelf.
Click on the Pill to add Table Calculation for Rank
Q52. What are Quick Table calculations in Tableau?
Ans.
Tableau provides some pre-defined Table calculations called Quick
Table calculations.
LOD expression has a specific syntax and works with keywords such
as Include, Exclude and Fixed. LOD calculation follows the below
syntax
This expression will compute at the State level. It will ignore the
dimension in the view i.e. ZipCode.
Ans.
This error occurs when a dimension is used with aggregated
function. If the dimension returns more than one row of data, this
error occurs. This error can be resolved by using ATTR function with
the dimension.
Q60. Source data contains the EmpID and Name in the format
EmpID-Name. How will you separate the EmpID and Name into 2
fields?
Ans.
On the data window, navigate to the field.
Visualizations
Q63. What is a visualization?
Ans. Visualization is a pictorial representation of data.
Q64. How is visualization created in Tableau?
Ans.
In Tableau visualization is created on a Sheet.
Alternatively, you can click on “146 Unknown” and from the popup
dialogue box select “Edit Locations”
Q69. How to make sure that all the sheets have the same look
and feel?
Ans. Complete all the formatting changes on one sheet, say, Source
Sheet. Right click on the sheet and select Copy Formatting.
Go to the Target Sheet or other sheets – where you want to copy the
formatting, right click on the sheet and select “Paste formatting”.
On a scatter chart, highlight the marks on the chart and click on the
“pin” icon to group.
Group can also be created in the data window. Group can also be
calculated by creating calculated field.
Exercise:
Use Tableau sample data source Sample- Superstore.xls Use Orders
data sheet. Create a Group called Office Supplier – Group.
<?xml version=’1.0′?>
<workbook>
</workbook>
Custom color can be specified in this file by using the HTML tags for
Color Type and hexadecimal value.
Sets can be used with other sets. Sets can be used as a filter. They
can also be used in a calculated field.
Sets once created, show up in the data section below Measures.
Sets are available in all the sheets and can be used in multiple
visualizations.
Exercise:
Use Tableau sample data source Sample- Superstore.xls
Use Orders data sheet. Create a SET for Top 10 Customers by Sales.
A set can be used as a filter. Filters are available only in one sheet
but Sets are available as a part of data and therefore available in
any sheet you create.
Since Set becomes a part of the data, it is available when the
datasource is saved as a .TDS file and shared across other
dashboards.
Sets get created automatically when Action is used in a
dashboard.
Sets get created, when User filter is applied to the dashboard for
security.
Q77. What are the best practices of developing visualization in
Tableau?
Ans.
Best practices should be followed to keep the design clean. Data
should be organized and visualization should be easy to understand.
Place Region on the Columns Shelf. Drop Sales and Profit on the
Rows shelf.
Right click on the pill of Profit and select Dual axis.
Exercise:
Use the Orders data sheet. Create the above combo chart for Sales
and Profit by Region.
Q82. What are Filters? How many types of Filters are there in
Tableau?
Ans.
Filters help in restricting or excluding data. Filters are applied
independent of each other. Each time a filter is applied a separate
query is sent to the data source. Exceptions to the rule are the
“Context filters”.
Data Source filters. These filters are added to the data source.
These filters restrict whole data.
Exercise:
Create a new sheet, use Region, Sales, Profit and Quantity.
Create a parameter, so that user can pick a measure from the list
and it should change the measure in the visualization.
Sorting option is also available when you mouse hover over the
axis of a chart.
Pill sorting option is available only for dimensions.
Sorting can also be performed by dragging and dropping data
elements on a chart.
Color legends also can be sorted by manually.
On the desired chart, click on the pull down menu on the right and
select Use as Filter.
Q93. What is Story in Tableau?
Ans.
Story uses dashboards and sheets to provide detail information
about a measure or KPI.
Exercise:
If you have created different sheets and dashboards using the
previous exercises, create a Story by using
FilledMap_Color,Db_SalesDashboard and Sets sheets/Dashboards.
User Filter will work when Users login to the Tableau Server. To
implement User Filter, you should have to access to Tableau Server.
In this way when the User login’s he will see the data only for his
segment
When you drop a measure field, the aggregation applied is Sum. This
aggregation can be changed to Average or any other type.
Q101. How will you load new and updated rows of data in
Tableau?
Ans. Create an extract and choose the incremental load option.
Q102. How big should be the Tableau TDE file?
Ans.
Tableau Data Extract (TDE) file is an extract of data and it depends on
the size of the source data. As it is a compressed file, it will be smaller
than the original size of the source data.
Q103. I have created a TDS and TDSX file. Which file will be
bigger and why?
Ans.
TDSX file will be a larger file as it is packaged with data.
Check it against the original data source. Check the count of rows
in Tableau by using “Number of Records” measure and source
table.
Compare the aggregations in the charts against the database
SQL.
For excel data sources, use excel filters and formulas. Export the
data out of Tableau, by right clicking on the chart and selecting
view data
Q110. How you will open a twb bigger than 4GB in size?
Ans.
If the dashboard size is larger than the RAM size of your computer
then you can open it on the server which will have more RAM.
For example,
Review the data sources. Edit the data source to see if any filter is
used while extracting the data. Check to see if the connection is a
live connection or an extract.
Developer may have renamed the dimensions and measures.
Right click on the dimensions and measures and select Describe
to get information on the source columns. Fields prefixed with =
are calculated fields. Right click and edit to understand their
definition.
A delta symbol next to the measure pill in the view, shows that
Table Calculation is implemented. Edit Table Calculation to
understand the definition.
At the bottom of the data window look for Parameters and Sets.
You can edit and view the definitions of these elements.
Right click on the status bar and select “Unhide” to display the
hidden sheets.
See the symbols of the data source to understand if they are
extracts and if using data blending.
Check the output of the dashboards to see different sheets. See
what data elements, objects, sheets are displayed on the
dashboard.
Check for any aliases in the fields.
Look for the Actions in the dashboard. On the Menu, click on the
“Dashboard” and navigate to “Actions”.
Locate the log files under “My Repository folder”.
Q118. What are the best practices to be followed while creating
a dashboard?
Ans.
While creating a dashboard, care should be taken so that the
dashboard is be clean and easy to understand. The following
practices can be followed
Ans.
From the pull down menu of the quick filter, select Customize and
uncheck “Show “All” Value.
Tableau Desktop
Tableau Desktop has a rich feature set and allows you to code and customize
reports. It ables users to create charts, reports, and dashboards.
Tableau Public
It is the Tableau version specially build for cost-effective users. By the word
“Public,” it means that the workbooks created cannot be saved locally. In
turn, it should be saved to Tableau’s public cloud, which can be viewed and
accessed by anyone.
Tableau Server
Tableau Online
Tableau Reader
Tableau Reader is a free tool that enables the user to view the workbooks
and visualizations created using Tableau Desktop or Tableau Public. The data
can be filtered, but editing and modifications are restricted. The security level
is zero in Tableau Reader as anyone who gets the workbook can view it using
Tableau Reader.
Excel Tableau
Excel is spreadsheet software that is used Tableau is a data visualization tool that
for data manipulation. is used for analysis.
It is ideal for statistical analysis of It is ideal for the quick and easy
structured data. representation of big data.
Macro and visual primary language are It can be used with no programming
must to fully utilize excel. experience.
The inbuilt security feature is not as good The inbuilt security feature is not as
as compared to Tableau. good as compared to Excel.
Best for preparing on-off reports with
Best while working with big data.
small data
Excel integrates with around 60 Tableaus integrated with over 250
applications. applications.
30) Explain the classification of tableau
Developer Tools: The Tableau tools that are used for development,
such as the creation of dashboards, charts, report generation,
visualization, fall into this category. Tableau products, under this
category, are the Tableau Desktop and Tableau Public.
Sharing Tools: As the name suggests, the purpose of the tool is to
share the visualizations, reports, dashboards that were created using
the developer tools. Products that fall into this category are Tableau
Online, Server, and Reader.
Various data types in the tableau are: 1) Boolean, 2) date, 3) date and time, 4)
geographical values, and 5) text/string, number.
Dimensions are the values of attributes used for multiple dimensions. It has
a reference of a product key form the table. It can contain product name,
color, size, product type, description, etc.
35) What is the key difference between .twb and .twbx extension?
Twb is a one of the XML document that contains all the layouts and
selections made by the user whereas Twbx is a ‘zipped’ archive which
contains .twb and external files like background images and extracts.
Set is a custom filed that defines a data subset based on some computed
condition or data point.
Inner Join:
It joins all the common records between two tables or sheets. The joining
condition can be given based on the primary key. One or more joining
conditions can be specified to join the tables. Many tables can be joined
together in Tableau for visualization.
Left Join:
A left join is used to join all the records from a left table and common records
from the right table. One or more join conditions can be specified to left join
two different tables.
Right Join:
A right join is used to join all the records from the right table and common
records from the left table. Based on the requirements, one or more joining
conditions can be set.
Outer Join:
An Outer join is used to join all the records from both the left and right table.
Joining conditions can be set to join common records.
A Context filter is an independent filter that can create a separate dataset out
of the original data set and compute the selections made in the worksheet.
One or more categorical filter that separates the dataset into major parts can
be used as a context filter. All other filters used in the worksheet works
based on the selection of context filter. The functions of context filters can be
explained through an excel sheet.
A measure filter can filter the data based on the values present in a measure.
The aggregated measure values can be used in measure filters to modify the
data.
41) What are the advantages of Using Context Filters?
Joining is a term that is used when the user combines data from the same
source like tables in oracle or excel file while Blending needs two completely
defined data sources report
Tableau drive is one methodology that can be used for scaling out analytics.
It is based on best practices from successful deployments of an enterprise.
1) Application Server:
2) VizQL Server:
VizQL server is used to convert the queries from the data source into
visualizations. Once the client request is forwarded to VizQL process, it sends
the query directly to the data source and retrieves information in the form of
images.
3) Gateway:
4) Clients:
A measure filter can filter the data based on the values present in a measure.
The aggregated values can be used in measure filters to modify the data.
Toolbar icon present below the menu bar can be used to edit the workbook
using different features such as undo, redo, save, new data source,
slideshow, and so on.
Blended axis is used to blend measures that share the axis when they have
the same scale.
Dual Axis enables users to compare measures. It is useful when they like to
compare two measures having different scales.
Data modeling (data modeling) is the process of creating a data model for
the data to be stored in a database.
Stacked Bar Chart is a chart that is composed of more than one bar that is
stacked horizontally. The length of the bar is depended on the value given in
the data point. This type of chart makes work more comfortable and helps
the user to know changes in all the variables. Users can match the wanted
changes in their future values.
Page shelf can be used to view the visualization in video format by keeping
the relevant filter on the page shelf.
The filters that can control the visualization can be placed on the filter shelf,
and the required dimensions or measures can be filtered in.
A bar chart can compare the data across different categories. The height of
the bars represents the measured value of each category. It can be
represented as vertical and horizontal type bar charts.
VIZQL stands for Visual Inquiry Language. It is a combination of SQL and VIZ.
Visual query languages are similar to the SQL language. This language
converts queries of data into visual images.
A-Line Chart is used to compare the data over different periods. A line chart
is created by a series of dots. These dots represent the measured value in
each period. The procedure to create a line graph is shown below.
Slowly ever
Chop-chop ever
Unchanged dimension
Shrunken dimension
Junk dimension
Conformed dimension
Degenerated dimension
Role enjoying dimension
Inferred dimension
User filter secures the row-level data present in a dataset. It can be used
when publishing the workbook on a server. Different filter conditions can be
applied to different users.
65) Define Histogram chart
A histogram can show the values present in a measure and its frequency. It
shows the distribution of numerical data. As it shows both frequency and
measure value by default, it can be useful in many cases.
The user functions in Tableau are unique functions that Tableau developers
can use to perform operations on the registered users on Tableau Online or
Tableau Server.
The Shelves in Tableau are demarcated areas that are used for particular
purposes. There are several shelves on a Tableau sheet-like, Filter shelf, Page
shelf, Rows and Column shelf, Marks shelf, etc.
Bin is a user-defined set of data that are of the equal interval that stores data
values according to or which fits in bin size.
The combined Sets in Tableau are handy to compare two existing sets for
further analysis.
Tableau QlikView
Data integration is exceptional. Data integration is good.
The support of PowerPoint is available The support for PowerPoint is not
in Tableau. available.
Tableau scalability is good. QlikView is limited by RAM.
Tableau data engine manages to open, refresh, create, and query extracts of
the user.
Technical details.
SQL, relations, and Joins.
Credentials for database access.
Business logic.
Development: It includes:
Query generation.
Connecting databases and creating dimension model
Publish it to the server.
Unit testing.
Marks cards can be used to design the visualization. The data components of
the visualization, like color, size, shape, path, etc. used in the visualizations. It
can be modified in the marks card.
A custom data view is used by tableau users to extend the normal data views
to gain the advantage of additional features.
89) What are the types of data sources that can be connected to
Tableau’s native connectors?
What are the types of data sources that can be connected to Tableau’s native
connectors are:
The worksheet is the place where the actual visualization can be viewed in
the workbook. The design and functionalities of the visual can be viewed in
the worksheet.
The data source page is a page where users can set up their sources of data.
It generally contains four main areas: 1) left pane, 2) join area, 3) preview
area, and 4) metadata area.
A pane that contains formatting settings to control the worksheet and fields
available in the view is called format pane. It appears on the left side of the
tableau workbook.
The data server is used to manage and store the data from external data
sources. It is a central data management system. It provides metadata
management, data security, data storage, data connection, and driver
requirements. It stores the relevant details of data set such as metadata,
calculated fields, sets, groups, and parameters. The data source could extract
data as well as make live connections to external data sources.
Trend lines are used to know the continuation of a trend of variables. It helps
users to search the correlation between two or more variables. There is a
wide range of mathematical models for establishing trend lines. These
models are 1) Logarithmic, 2) Linear, 3) Exponential, and 4 ) Polynomial.
Alias in Tableau can refer as an alternative name that the user can assign to a
dimension member a field.
Measure names and Measure values are the two fields created in Tableau by
default. These fields are created when a data set is imported into Tableau.