Вы находитесь на странице: 1из 157

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"
color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.

Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota
assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one
parameter

depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"
color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.

Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota
assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one
parameter

depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"

color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.
Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota

assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one

parameter
depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"

color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.
Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota

assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one

parameter
depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"

color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.
Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota

assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one

parameter
depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

2. What is Data Blending?

Data blending is the ability to bring data from multiple data sources into one view
The Blue color in data window indicates that is a Primary Connection
The Orange Color in data window indicates that is a Secondary Connection
A default blend is equivalent to a left outer join. However, by switching which
data source is primary, or by filtering nulls, it is possible to emulate left, right and
inner joins.
The Blending is worked on common fields(same data type) from primary and
secondary data sources.

3. What are the filter types in Tableau?

In Tableau, There are three types of filters

Custom SQL Filters

Context Filters and

Traditional Filters
Custom SQL Filter:
Actually this is WHERE condition in SQL query. It acts as like a Global Filter. The
main aim of this filter is to reduce the size of data while extracting
Context Filters:
The main aim of this context filter is to increase the performance of the report.
How means, For Example if we have a fields like
Region
State and
City
here first we have to add the Region field to context. Then while running the report
it pull the data from data base, that time the Region field executes fist and the
remaining dependent fields get the data for that selected regions only.<font size:"3"

color="red" Note: In a Single sentence The Context Filter will Executes more quickly
than Traditional Filters.
Traditional Filters:
These filters are nothing but Normal filters in a report.
Traditional Filter is exactly what most people think of when they think of filters. When
Tableau is creating the visualization, it will check to see if a value is filtered out by a
Traditional Filter. Since this is not performed at the table level, it is the slowest of all filter
types. However, it does have the advantage of being performed after the Context
Filters. This is a necessity if you are dealing with complex "Top N" filters. A Traditional
Filter can be created by simply dragging a field onto the "Filters" Shelf.

A group is combination of dimension members that makes higher level catogory.


Ex :if we are working with view that shows English and history may be combined to group called
liberal arts. while biology and physics may be grouped as science

Sets: sets atre custom fields that difine suset of data based on some condition
Ex: In a scator plot showing as product sales you may select the products most sales to add them to a
set
Bar charts are one of the most common ways to visualize data.
Comparing data across categories. Examples: Volume of shirts in different
sizes, website traffic by origination site, percent of spending by department.
When to use line charts:
Viewing trends in data over time. Examples: stock price change over a fiveyear
period, website page views during a month, revenue growth by quarter.

When to use pie charts:


Showing proportions. Examples: percentage of budget spent on different
departments, response categories from a survey, breakdown of how Americans
spend their leisure time.

When to use maps:


Showing geocoded data. Examples: Insurance claims by state, product export
destinations by country, car accidents by zip code, custom sales territories.

When to use scatter plots:


Investigating the relationship between different variables. Examples: Male
versus female likelihood of having lung cancer at different ages, technology early
adopters and laggards purchase patterns of smart phones, shipping costs of
different product categories to different regions.

When to use Gantt charts:


Displaying a project schedule. Examples: illustrating key deliverables, owners,

and deadlines.
Showing other things in use over time. Examples: duration of a machines use,
availability of players on a team.

When to use bubbles:


Showing the concentration of data along two axes. Examples: sales

concentration by product and geography, class attendance by department and


time of day.

When to use histograms:


Understanding the distribution of your data. Examples: Number of customers
by company size, student performance on an exam, frequency of a product defect.

When to use bullet graphs:


Evaluating performance of a metric against a goal. Examples: sales quota

assessment, actual spending vs. budget, performance spectrum (great/good/poor).

1. How do u
implement
Cascading
parameter?
The list of
values for one

parameter
depends on the
value chosen in
precedingparam
eter.
Eg: Country
--> State
--> City

2. How to
pass
parameter
from Report
Viewer
Control to sub
report?
3. How to
open another

report in a
new window
from existing
report?
Use a little
javascript with
a customized
URL in
the "Jump to

URL" option of
theNavigation
tab.
Nonparameterized
Solution
To get started,
let's pop up a

simple non
parameterized
report. Follow
these
instructions:
1.

Instead of
using the
"Jump to
Report" option

on the
Navigation tab,
usethe "Jump
to URL" option.
2.

Open the
expression
screen (Fx
button).
3.

Enter the
following:=" jav
ascript:void(win
dow.open('http:
//servername?
%2freportserve
r%2fpathto
%2freport&rs:C
ommand=Rend
er'))"

4.

Click OK twice,
then save and
deploy
the report.
Parameterized
Solution
Assume you
have a field

called
ProductCode.
Normally,
you might hard
code that
likethis:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=123
In this case,
you want to
pass variables
dynamically,
using

an available
value from
thesource
dataset. You
can think of it
like this:
http://serverna
me/reportserve
r?%2fpathto

%2freport&rs:C
ommand=Rend
er&ProductCode
=Fields!
ProductCode.Va
lue
The exact
syntax in the
"Jump to URL"

(Fx) expression
window will be:
=" javascript:v
oid(window.ope
n('http://server
name/reportser
ver?%2fpathto
%2freport&rs:C
ommand=Rend

er&ProductCode
="+Fields!
ProductCode.Va
lue+"'))"
4. How to
pass
parameter
from chart to

Table in same
report?
5. How to
apply custom
Colors
of chart
report?
STEP1:

Create your
custome color
palette in the
report using
Custom Code in
your report. To
doso, click
Report =>
Report
Properties =>

Code and copy


below code:
Private
colorPalette As
String() =
{ "Blue", "Red",
"Teal", "Gold",
"Green","#A59
D93","#B8341B

", "#352F26",
"#F1E7D6",
"#E16C56",
"#CFBA9B"}
Private count
As Integer = 0
Private
mapping As

New System.Co
llections.Hashta
ble()
Public Function
GetColor(ByVal
groupingValue
As String) As
String

If
mapping.Contai
nsKey(grouping
Value) Then

Вам также может понравиться