Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
27 views13 pages

Main QA's

Uploaded by

krishnakarkuri95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views13 pages

Main QA's

Uploaded by

krishnakarkuri95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 13

1)After Connecting to data, If we want limited data, what type of filter we use

A) Datasource Filter

2)How many Objects are there in dashboard?


A) 8(vertical, horizontal, text,blank,url,image,button,extension)

3)How many visualizations?


A)24
Text Tables
Heat maps
highlight tables
Symbol Maps,maps
Pie chart
Horizontal bars, stacked bars, side-by-side bars
Tree maps
Circles views, side by side circle views
Lines con., Lines dis., Dual lines
Area chart con., areachart dis., combination chart
Scatter plots, histogram, box and whisker plots
Gantt, bubbles, bullet graph.

4)SQL Queries in tableau


A)Which means underlying SQL(backround run) ------ Have to Explore
Performance recording book that contains three views timeline, events, query.

5)Line chart to Dotted Lines


A) Done

6)How to change default aggregation of measure value


A)Right click on any measure value, there we have option Default properties

7)Removing null value ?


A)
ZN Funtion---ex:------zn(sales)

8)Context Filter
A)Its creates a temporary table, If you filter the data, it will apply on temporary
table.
For example if u want to see top 10 cus in each region.
When you keep region as a filter, it will not show correct value
when you keep region as context filter, then a temporary table will be
created on that region,
and filter will be applied on temporary table.
It will Show top 10 cus in each region.

9)Synchronization Axis
A) After doing dual axis, if we want to sync both axes of measure value, then we
use synchronization Axis.

10)Publishing to tableau server


A)Go to Server
there is an option publish workbook
we have two options tableau online and tableau server
If it is live then we Can publish to server
If it is extract, have to do scheduled after that we can publish
to server

11) In how many ways can do combined charts?


A) In many ways like Bar in bar, bar and line, Pie and Filled map, lollipop chart

12)Types of filters
A)1)Extract Filters
2)Datasource Filters
3)Context Filters
4)Dimension Filters
5)Measure Filters
6)Table calculation filter

13) How many filters for measure values


A) 4 Types Range of value, at least, at most, special.

===================================================================================
============

14)How do we connect to data?


A) When you open tableau desktop software,
It will redirect to data connection pane
We have options like connect to file, connect to server,, saved datasources
In Connect to File, we can connect to Excel, PDF, .CSV, text Files(Flat
files)
And In Connect to server, we can connect to Tableu server and
Diferent database like oracle, Sql, MYSQL, Hadoop Big data, teradata.
We should have creditials before connecting to these data bases.

15) How do we change the column name?


A) By using rename option.

16) How do we change the record name in dimension ?


A) By using alias.

================================================

17)Difference between discrete and continuous

Continuos is nothing but range of values.


Continuous values are measure, which are indicated as green colour.In
general, con. values do not have breakage like 1.1,1.2,1.3
Show me the sales from January to April.

Decrete is nothing but individual values.


Descrete Values are dimension, which are indicated as blue colour, In
general, descrete values have the breakage like 1,2,3.
Show me the sales for January, February March and April.

18)What are groups and sets


Group: Combining the values in the dimension into higher level categories.
if you take category, In that we have 3 types
So if you want to compare 1&2 with the third one,
then by combining 1&2 we can see comparison by grouping.

Set: Creating subset of your data based on certain conditions.


For example creating top 10 customers based on sales.
19)Tableau Products
5 types of products
1)tab. desktop
2)tab. public
3)tab. online
4)tab. server
5)tab. reader.

20) Tableau extension


twb,twbx,tds,tdsx,tbm,tps,new one is hyper(Improving data engine), Creates
larger extracts

21)differene between tab online and server?


TS is maintained by org.
TO is hosted by tableau
Funtionality wise both are same.

22)What are different datatypes we have


7 data types
Integer, Float, date and time, date, string, boolean and Geographical
role

23)Diff types of joins


There are four types of joins in tableau
inner,left,right,full join

24)Diff types of Data Connections?


Live and extract

25)Diff Between Joining and blending.


Join is a query that combines the data from 2 or more tables by making use of
Join condition.
Data blending mix the data from the different data sources and allow the
users to perform the analysis in a single sheet.
Blending means mixing. If we are mixing the data sources then it is called as
data blending.

26) Types of filters


1)Extract Filters
2)Datasource Filters
3)Context Filters
4)Dimension Filters
5)Measure Filters
6)table calculation Filter.

==========================================
27)What is Common or default scheduling
weekly, daily, monthly,
Create a refresh schedule
When you’re signed in to Tableau Online, go to Content > Data Sources or
Content > Workbooks, depending on the type of content you want to refresh.

Select the check box for the data source or workbook you want to refresh, and
then select Actions > Extract Refresh.

In the Refresh Extracts dialog, select Schedule a Refresh, and complete the
following steps:

Select the schedule you want.

28) Running total


It is used to calculate a cumulative total of a measure across a specific
dimension or table structure.
29) Gantt chart
It compares the progress of the value of a task over a period of time.
Gantt charts to show the duration of events or activities.
For example, you might use a Gantt chart to display average delivery time for
a range of products.

30) When do we use synchronization axis and when not


Tableau doesn’t allow you to synchronise your dual axis if the measures have
different data types.

31) Can we change from live to extract and extract to live


yes

32) How can we say data is in extract and live


Left side of data source , There is an icon
If there is two cylinder icon, Then it is extract
If there is one cylinder icon, Then it is Live

33) How many ways can we give security


Coloumn level security-----------------?
Row level security(Region)

34) How can we keep web pages in dashboard


Through objects in dashboard which is web url

35) Whats is hyper?


Its an extension, hyper(Improving data engine), Creates larger extracts
Previously we have extract in tableau, wherewe do extract the data
And Hyper is tableau's new INmemory data engine technology, to extract the
complex data sets
It is introduced in tableau 10.5,Creates larger extracts
-----------------------------------------------------------------------------
It is the new version of extract, which is introduced in tableau 10.5
version.
With this we can see the improved performance to extract the data from larger
data source
And Hyper is tableau's new INmemory data engine technology, to extract the
complex data sets

Beginning with Tableau 10.5, the format of new extracts changed from .tde
to .hyper.
Along with a number of optimizations, refreshing large extracts in the .hyper
format can be faster.
-----------------------------------------------------------------------------
36) Can we write sql query in tableau?
Yes we can write, In Datasource pane, there is an option New Custom SQL
Query

37) How many sheets can we keep in dashboard.


We can keep many, For better performance it is recommended to use only 4-5
sheets.

38) How many dashboards can we keep in worksbook


We can keep N number dashboard in workbook or 12

=======================================================

39) R lang (statistical tool) what functions support for r lang


Install R lang and Rstudio,
install.packages("Rserve");
library(Rserve);
In Tab--> help------Local Host---6311----Test connection
4 functions
SCRIPT_BOOL----SCRIPT_BOOL(" .arg1 > 0 ", SUM([Profit]))
SCRIPT_INT ------SCRIPT_INTSCRIPT_INT(" .arg1 / 2 ", SUM([Profit]))
SCRIPT_REAL----SCRIPT_REAL(" log(.arg1) ", SUM([Profit]))
SCRIPT_STR------SCRIPT_STR(" paste(.arg1 ,.arg2)",
attr([Category]),attr([Sub-Category]))

40) What are Advanced charts(Not default chart)


Like waterfall custom charts
bar under bar
Arrow chart
Donut chart
Lollipop Chart
bump chart
Pareto Chart

41) Where do we use include, fixed and exclude


functions--------------------------------------------------------------------------
-------?

42) Tps why we use


In order to create custom colour palette.

43) Any two Differences between tableau public and tableau server
TS- Used by the org. and we need to purchase
TP- Open to all, It is free
TP- Can be used for development and sharing
TS- used for sharing the WB or DB across the organization.
In TS only licensed user to have access and permission can view the vis
To share workbook in TS, you need to have tab. Desk, to publish.

44) Optimization technique


For increasing performance of dashboard
1) Datasource needs to be fast
2) Use only 4-5 sheets in DB for better performance.
3) Go for extract instead of live connection
4) Instead of using the multiple tables, We can use Views
5) If there are any complex cal., reduce them at the tableau level, by
creating cal. at DataBase level.
6) Use Boolean cal. instead of logical calculations.
7)Reduce the usage of more no. of filters.
8)Use context filters
9)Avoid the high resolutions images.
10)Better web browser.

45) Custom sorting


Manual Sorting, Nested Sorting
We can use rank funtion to sort

46) Diff of IF and IIF(test, then, else)


Functionality is same,
Only the diff is syntax and performance

47) 3rd party Intergration tools of


tableau----------------------------------------------------------------------------
--------------?
Vizable
Tableau mobile for iphone

48) Vizql(Vizalization query lang)


It is a tableau query lang.
It is one of the component of tableau which queries the data and shows in the
form of visualization.
==================Generic Questions======================
49) Most common used DBs
Oracle, Sql Server, My SQL

50) What is size of data you have worked


75 million rows, 13 Lakhs rows
If it live, then size will be KB, MB
Where in extract, Size will be 500MB, 700MB.

51)How many years Of data u have worked


Last 4 years

52) How many members are in your project.


3 members

53) do you have Tab Admin


Yes we only have Onsite admin
There are from client

54) Do you know tableau server


Yes, Just I have idea.
We pulish to tableau server, It is mantained by the client.

55) What are the challenges you


faced.????????????????????????????????---------------------------------------------
--------?

===============================================================

56) Null
zn(sales)-----------imp
Zn(exp)----returns <expression> if it is not null, otherwise returns zero.

57) Cascading
filter-----------------------------------------------------------------------------
-------------------------?To be discussed.
For ex. we have pro.cat, sub-cat and pro.name
I need to filter sub-cat based pro.cat

58) Waterfall Chart Def


By usinf WF, we can determine which category is contributing with positive or
negative value to the total value.
================================================================

59) What is parameter?


Tableau parameter are values/variables that replace the constant values with
dynamic values.
For example creating top N cus., where we will provide the option to the
user, to enter their desired value.
Here, we create parameter.
ex; Creating Top N customers or getting Top N products.
By using parameter, we can swap dimension and measures.

60) What is aggregation and non aggregation value


Aggregation is nothing but summation or adding....for example, sum(sales),
avg(sales).
It is process of summarising the data.
Non-aggregation or disaggregation is detailed level of data or row level
data.
For examples. show the sales of each date.

61) Maximum how many tables you can join?


32 tables we can join.

62) what is dual axis?


It is to display two measure in single graph.

63) What are diff between parameters and filters.


Tableau parameter are values/variables that replace the constant values with
dynamic values
ex; Creating Top N customers or getting Top N products.
By using parameter, we can swap dimension and measures.
Where filter is to restrict the data

64)Limitations of parameters
Parameters will not update, when new data is updated in the data source.
Its doesnot allow multiple selections

65) In how many ways can we use paramters?


In filters, in calculation field and also to swap measures and dimension,and
also changing the view.

66)What is published data source?


When a data source is published to tableau server or online then we call it
as published datasource.
It is independent of any workbook. It can used by multiple workbooks.

67) What is blended axis?


To show two measure values in single axis.

68) Which is better live or extract


Extract connections can be used without connecting to the DB and we can
create vis.
But if it live con. it should be always connected to the live data source.

69)Can you download workbook or datasource from tableau server?


If they set permission to download.

70) IFNULL
Replacing null with string
IFnull(dimension or measure,"What u want")

71) table calculations


TC are one type of cal. where we can apply on after creating vis.
Ex: Running total, or percent of total.

72)Forecasting
Based on current values, predicting the future.

73)Granularity
Detailed level of data.

74)Bump Chart
It is line chart that shows the change in rank over time.
It compares one dimension over the other dimension.

75)Butterfly Chart
It shows comparison of two associated measures side by side.
It displays two bar charts on either side of the same y axis.
Also know as diverging bar chart or tornado chart.

***********************************************************************************
**************************

76) What is diff live and extract


In Extract connection it will take or create the snapshot or subset of data
and keeps it in memory,
So when ever creating visualization, there is no need to connect to the
LiveDB,
It it faster than live connection, becuase it not connecting to LiveDB.

In extract we do not have the updated data, to get the updated data, we need
to scheduled refresh on daily basis, or weekly basis.

In live Connection the tableau workbook, It is always connected to the live


DB.
So, when ever we create a view in the tab. it will hit the live DB or it
will query the live DB. and create the vis.
If there is huge data, due to live connection the performance will be low.

In live DB, the data in the dashboard will be having the updated data.

77)Which is better
In Extract connection it will take or create the snapshot or subset of data
and keeps it in memory,
So when ever creating visualization, there is no need to connect to the
LiveDB,
It it faster than live connection, becuase it not connecting to LiveDB.

In live Connection the tableau workbook, It is always connected to the live


DB.
So, when ever we create a view in the tab. it will hit the live DB or it will
query the live DB. and create the vis.
If there is huge data, due to live connection the performance will be low.

***********************************************************************************
************************

=============table calculations=============================================

78) Table and View Diff


Table is used to stores the data, in the form rows and Columns.

View is a virtual table and they are built on top of the other table
and they do not hold the data, if there is any change of data in the
underlying table, it will also effect the view table.

79) Types of table calculation


Running total
Difference
Percent difference
Rank
Percent of total
Percentile
Moving average
Year Over Year growth

80)Rank Funtions and index


Rank and index both are table calculations

Rank function gives the ranks based on the values.


For ex: If we take subcategory wise sales, then highest sale value gives the
highest rank.

Index function gives the position of a record.


For ex: If we take subcategory wise sales, then first record will take as
first position and
second record will take as second position

81)First and last funtion


First:It will return the record from the first position. It will show 0,-1,-
2,-3 from top.
Last:It will return the record from the last position.It will show 0,1,2,3,
from bottom.
For ex: If you want bottom third value, We use this last funtion=2., it will
return the bottom 3rd value
because last function starts 0 from bottom.

Challenge: after doing running total, want only last three months without
filtering
By using last function we can show last three months running total with
previous months
By last funtion we can take out from the view without doing filter the
data.

82)lookup funtion

It Will find the value in your data and returns a value from the different
row in the partition or view.
For ex: if you have monthly wise sales, and we write cal. lookup
(sum(sales), -1) ,then it will show the value of the previous row
For the feb, it will show the jan sales,
For the mar, it will show the feb sales.

83) Cascading filter


It is nothing but, if we have three filter, so third filter will depend on
second filter
second filter will depend on first filter.

84) LOD
It is nothing but level of detail calculations.
We have three types of LOD's Fixed, Include, Exclude.
If you take a dimension in a lod, then that expression will calculate to the
level of that dimension.
For Ex: Orders for Each Customers
Identifying First purchased date for each customer

85) Ad-hoc report


Ad-hoc reports means on the spot creation of reports (which are not pre-
built)
based on the client's requirement by connecting to live environment.

86) POC(Proof of concept)

87) User guide

88)Referential Integrity

89) UAT(User acceptance Testing)

90) After Publishing, what are the permission(Editing or viewing) we give to the
server or online.

91) Publishing Empty Extract

92)How many tables have you worked?


Oracle 4 tab,s
Sql server 2 tab,
EXCEL(Finacial data) 1 tab,

https://www.olgatsubiks.com/frequently-used-tableau-calculation-------first
function challenge

==================================================================================
Datawarehouse and SQL
==================================================================================

76) Normalization
Dividing the data into multiple tables to maintain the consistency.
Used in OLTP system.
There is no Repetition of data.
The main aim of Normalization is to add, delete or modify field that can be
made in a single table.

77) De-Normalization
Processing of combining the multiple tables for retrieving the data faster.
Used in OLAP system
Repetition of data happens.

78) Datawarehouse
It is storage purpose, contains historical data and it is used for data
management.
It is time variant.
Data will always update in the datawarehouse and old data never be deleted.

79)What are all the different normalizations?

The normal forms can be divided into 5 forms, and they are explained below -.

First Normal Form (1NF):.


This should remove all the duplicate columns from the table.
Creation of tables for the related data and identification of unique columns.

Second Normal Form (2NF):.


Meeting all requirements of the first normal form.
Placing the subsets of data in separate tables and Creation of relationships
between the tables using primary keys.

Third Normal Form (3NF):.


This should meet all requirements of 2NF. Removing the columns which are not
dependent on primary key constraints.

Fourth Normal Form (3NF):.


Meeting all the requirements of third normal form and it should not have
multi- valued dependencies.

81) Clipboard Data


Copying from excel to the view.

83) Extract(imp)
After coming to Local machine, after query execute, It will depend on Local
Sys RAM.
Oracle DB, Depends on engine(Busy)
Dedicated to u only....Own database
Live:(imp)
Latest data wont come until refresh
When u connect to the OLTP systems.

====================================================================

=====================================================================
To be discussed.
=====================================================================

Tableau architecture,

Difference between tableau version

2016-9.3 to 2018.3.2

Challenges

Tableau order of operations


Extract filter
DataSource Filter
Context Filter
Dimension Filter
Measure Filter
Table Calculation

LOD's
First what will execute, which is FIXED.

Which chart is right?


YTD, Last YTD
MTD,Last MTD, last year mtd
Current month and previous month
Max month(Latest month), Max-1 month(Latest Previous month)
Month-Over-Month
Year-Over-Year

LOD example
How to retain the % after filtering.

Sheet Swapping

Clusters In tableau
The basic definition of clustering is to group elements together by similar
properties,dimensions, or values.
Tableau provides an option to group data into different clusters based on
parameters that you described .
Tableau uses the “k-means” algorithm for clustering which suggests that based
on the different values, the data will be partitioned into k-clusters.
These clusters are distinguished by the feature similarity.

Scaleup and scale out

Tab. Server configuration


Current Tableau Server configuration settings can be reviewed in the
tabsvc.yml file.
The default location for this file is
C:\ProgramData\Tableau\Tableau Server\config\tabsvc.yml.
Note: The tabsvc.yml file should only be used to verify the environmental
variables.
Editing this file manually is not supported and could result in damage to
the Tableau Server installation.
All changes should be made using the tabadmin set commands.

Tab. no. of users:


20 Users

Spark lines--Visualization(https://www.youtube.com/watch?v=FtvdX7q4yGs)

https://intellipaat.com/tutorial/tableau-tutorial/tableau-desktop-shortcuts-cheat-
sheet/

====================================================================
To increase Performance on Tableau server
2 methods to decrease load
Scale up and Scale out(primary server(gateway) controlling over Worker
servers)

Interworks PDF :
Step 2: Sizing Hardware &Configuring Tableau Server
Recommended Base Hardware
The Tableau Processes
VizQL
Background
Application Server and Data Server
Data Engine (Optional High Availability)
Repository (Optional High Availability)
Choosing an Extract, Live Connection
or Hybrid Environment.

Step 3: Load Testing


Top Causes of Poor Performance
Workbook Complexity

Step 4: Scaling to Meet Demand


Determining When to Scale
How to Scale Up
How to Scale Out

Different types of sets : https://interworks.com/blog/rcurtis/2016/10/26/tableau-


deep-dive-sets-introduction-sets/

You might also like