SlideShare une entreprise Scribd logo
1  sur  22
Tableau Tips: Dashboard Actions
Shuffling the Stacks with Stacked Bar Charts
Russell W. Cantrell, MSCIS, MBA
Director of Data Administration and Strategic Initiatives
Frederick P. Whiddon College of Medicine
University of South Alabama
Problems with Pies
People aren’t good at understanding this at a glance
• Not very precise – best guess as to the size of each slice
• Measured using angles, curves, and surface area
Often there are too many slices
• Text ends up being too small to easily read
• Too many colors needed to separate items
Stacked Bar Charts are a common alternative
But isn’t it the exact same thing, just spread out horizontally?
Pie Chart vs. Stacked Bar Charts
What’s the difference?
Imagine “wrapping” the bar chart around and connecting it to itself in a loop.
A stacked bar chart, basically, is just a pie chart that has been “flattened out”.
Data Densitiy and Dimensionality
Data Density is the idea of packing in as much information as you can into a
chart or visualization. Ideally, you want there to be as much data as possible.
Data Dimensions refers to the different ways you can display data. You can
separate items by size, color, position, etc., to add new information to a chart.
In this example, we want to add the student’s med school year (M1-M4) in
addition to the overall satisfaction rates.
Currently, while you can compare totals, you can’t compare subtotals.
Adding in color allows us to do this. But it causes a problem on the X-axis.
Adding Dimensionality through Color
Lights… Camera… ACTION!
We need to compare all M1 students, all M2 students, etc.
However, we can’t really do this without a common baseline.
But how can we sort these, since only one color code starts at zero axis?
The answer is Dashboard Actions!
(special thanks to Andy Kriebel for showing me this trick)
Dashboard Actions in Tableau
https://www.tableau.com/blog/rough-guide-dashboard-actions
Using Dashboard Actions to Sort Data
Step by step for what we’ll do to fix this chart:
1) Create a stacked bar chart
2) Create a parameter
3) Create a calculated field
4) Create parameter action
5) Create dashboard action
6) Change sort settings
7) Change animation settings
8) Change highlight settings
Using Dashboard Actions to Sort Data
Step by step for what we’ll do to fix this chart:
1) Create a stacked bar chart
2) Create a parameter
3) Create a calculated field
4) Create parameter action
5) Create dashboard action
6) Change sort settings
7) Change animation settings
8) Change highlight settings
Create the chart
Using Dashboard Actions to Sort Data
Step by step for what we’ll do to fix this chart:
1) Create a stacked bar chart
2) Create a parameter
3) Create a calculated field
4) Create parameter action
5) Create dashboard action
6) Change sort settings
7) Change animation settings
8) Change highlight settings
Create the actions
Using Dashboard Actions to Sort Data
Step by step for what we’ll do to fix this chart:
1) Create a stacked bar chart
2) Create a parameter
3) Create a calculated field
4) Create parameter action
5) Create dashboard action
6) Change sort settings
7) Change animation settings
8) Change highlight settings
Change the settings
Create a Parameter
A parameter is a workbook
variable such as a number, date, or
string that can replace a constant
value in a calculation, filter,
reference line, or dashboard action.
This step gives us something to
sort by. We could manually choose
this from a dropdown list, but
instead we’ll later set this to happen
automatically.
Create a Calculated Field
Calculated fields allow you to
create new data from data that
already exists in your data
source.
This step uses the “1” and “0” as
a number we can sort by. The
active year will have the “1”, and
therefore will be sorted to the
bottom.
Create another Calculated Field
This one isn’t really used.
We’ll need a blank here to keep
Tableau from highlighting
something we’re trying to sort by.
It doesn’t matter what’s added
here, so simply adding a blank
space is enough.
Set up your Dashboard Actions
This is where we will control what
Tableau does when certain things
are clicked or selected.
There are TONS of cool things
you can tell Tableau to do here.
In this example, we’ll add an
action to decide which field we’re
sorting by, and another to get rid
of the current selection highlight.
Add a Sort action
This is where we select the thing
that we’re going to sort by.
If I select something by clicking
on it, I want to automatically
change the parameter.
So if I select the “Med Year 4”
student group (by clicking on the
right color), I’m telling Tableau to
set the “behind the scenes” part
to match.
Add a Highlight action
This is where we get rid of the highlight.
By default, Tableau highlights something
when it’s selected. We want to use actions
to cause this to filter instead.
Basically, when we select on something
here, we’re giving Tableau the command to
“do nothing.”
Change sort options
This is where we actually tell Tableau how
to sort the data.
Instead of sorting in ascending or
descending order, we want to sort by the
new “sorter” field we created.
Because of the earlier IF/THEN calculation,
this will either be a “1” for the bottom set of
bars or “0” for the rest.
Adjust Animation settings
This just makes things pretty.
From here, you can control how fast the
screen updates, how long the animation
lasts, and similar things.
Feel free to play around with this part until it
“looks right.”
Now, let’s do it in

Contenu connexe

Similaire à GC TUG Spring 2024 - Dashboard Actions.pptx

Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau ServerUnited Trainings
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau ServerUnited Trainings
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excelorthms
 
Tableau online training
Tableau online trainingTableau online training
Tableau online trainingsuresh
 
Excel pivot tables (1)
Excel pivot tables (1)Excel pivot tables (1)
Excel pivot tables (1)priyanka8587
 
PowerPoint Ideas & Hacks: Data
PowerPoint Ideas & Hacks: DataPowerPoint Ideas & Hacks: Data
PowerPoint Ideas & Hacks: DataAshleigh Cote, CMP
 
computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3Dr T.Sivakami
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot tablesamikshaa sinha
 
Intro to Tableau Public
Intro to Tableau PublicIntro to Tableau Public
Intro to Tableau PublicDUSPviz
 
Introduction to Excel
Introduction to ExcelIntroduction to Excel
Introduction to ExcelNajma Alam
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesBobby Jones
 
Excel 2007 create a chart
Excel 2007    create a chartExcel 2007    create a chart
Excel 2007 create a chartrezaulslide
 
Excel 2007 create a chart
Excel 2007    create a chartExcel 2007    create a chart
Excel 2007 create a chartkhankamrul
 
Learn What's New in Tableau 9.0
Learn What's New in Tableau 9.0Learn What's New in Tableau 9.0
Learn What's New in Tableau 9.0Edureka!
 

Similaire à GC TUG Spring 2024 - Dashboard Actions.pptx (20)

Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Creating a graph in excel
Creating a graph in excelCreating a graph in excel
Creating a graph in excel
 
Tableau online training
Tableau online trainingTableau online training
Tableau online training
 
Excel pivot tables (1)
Excel pivot tables (1)Excel pivot tables (1)
Excel pivot tables (1)
 
Excel 2007 - Create a chart
Excel 2007 - Create a chartExcel 2007 - Create a chart
Excel 2007 - Create a chart
 
PowerPoint Ideas & Hacks: Data
PowerPoint Ideas & Hacks: DataPowerPoint Ideas & Hacks: Data
PowerPoint Ideas & Hacks: Data
 
computer applications in business unit 3
computer applications in business unit 3computer applications in business unit 3
computer applications in business unit 3
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot table
 
Print18
Print18Print18
Print18
 
Intro to Tableau Public
Intro to Tableau PublicIntro to Tableau Public
Intro to Tableau Public
 
Introduction to Excel
Introduction to ExcelIntroduction to Excel
Introduction to Excel
 
excell.pdf
excell.pdfexcell.pdf
excell.pdf
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
MS Excel 2010 tutorial 6
MS Excel 2010 tutorial 6MS Excel 2010 tutorial 6
MS Excel 2010 tutorial 6
 
Excel 2007 create a chart
Excel 2007    create a chartExcel 2007    create a chart
Excel 2007 create a chart
 
Excel 2007 create a chart
Excel 2007    create a chartExcel 2007    create a chart
Excel 2007 create a chart
 
ms_excel.pdf
ms_excel.pdfms_excel.pdf
ms_excel.pdf
 
Learn What's New in Tableau 9.0
Learn What's New in Tableau 9.0Learn What's New in Tableau 9.0
Learn What's New in Tableau 9.0
 
Excel training create a chart
Excel training create a chartExcel training create a chart
Excel training create a chart
 

Dernier

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Dernier (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

GC TUG Spring 2024 - Dashboard Actions.pptx

  • 1.
  • 2. Tableau Tips: Dashboard Actions Shuffling the Stacks with Stacked Bar Charts Russell W. Cantrell, MSCIS, MBA Director of Data Administration and Strategic Initiatives Frederick P. Whiddon College of Medicine University of South Alabama
  • 3. Problems with Pies People aren’t good at understanding this at a glance • Not very precise – best guess as to the size of each slice • Measured using angles, curves, and surface area Often there are too many slices • Text ends up being too small to easily read • Too many colors needed to separate items Stacked Bar Charts are a common alternative But isn’t it the exact same thing, just spread out horizontally?
  • 4. Pie Chart vs. Stacked Bar Charts What’s the difference? Imagine “wrapping” the bar chart around and connecting it to itself in a loop. A stacked bar chart, basically, is just a pie chart that has been “flattened out”.
  • 5. Data Densitiy and Dimensionality Data Density is the idea of packing in as much information as you can into a chart or visualization. Ideally, you want there to be as much data as possible. Data Dimensions refers to the different ways you can display data. You can separate items by size, color, position, etc., to add new information to a chart. In this example, we want to add the student’s med school year (M1-M4) in addition to the overall satisfaction rates. Currently, while you can compare totals, you can’t compare subtotals. Adding in color allows us to do this. But it causes a problem on the X-axis.
  • 7. Lights… Camera… ACTION! We need to compare all M1 students, all M2 students, etc. However, we can’t really do this without a common baseline. But how can we sort these, since only one color code starts at zero axis? The answer is Dashboard Actions! (special thanks to Andy Kriebel for showing me this trick)
  • 8. Dashboard Actions in Tableau https://www.tableau.com/blog/rough-guide-dashboard-actions
  • 9. Using Dashboard Actions to Sort Data Step by step for what we’ll do to fix this chart: 1) Create a stacked bar chart 2) Create a parameter 3) Create a calculated field 4) Create parameter action 5) Create dashboard action 6) Change sort settings 7) Change animation settings 8) Change highlight settings
  • 10. Using Dashboard Actions to Sort Data Step by step for what we’ll do to fix this chart: 1) Create a stacked bar chart 2) Create a parameter 3) Create a calculated field 4) Create parameter action 5) Create dashboard action 6) Change sort settings 7) Change animation settings 8) Change highlight settings Create the chart
  • 11. Using Dashboard Actions to Sort Data Step by step for what we’ll do to fix this chart: 1) Create a stacked bar chart 2) Create a parameter 3) Create a calculated field 4) Create parameter action 5) Create dashboard action 6) Change sort settings 7) Change animation settings 8) Change highlight settings Create the actions
  • 12. Using Dashboard Actions to Sort Data Step by step for what we’ll do to fix this chart: 1) Create a stacked bar chart 2) Create a parameter 3) Create a calculated field 4) Create parameter action 5) Create dashboard action 6) Change sort settings 7) Change animation settings 8) Change highlight settings Change the settings
  • 13.
  • 14. Create a Parameter A parameter is a workbook variable such as a number, date, or string that can replace a constant value in a calculation, filter, reference line, or dashboard action. This step gives us something to sort by. We could manually choose this from a dropdown list, but instead we’ll later set this to happen automatically.
  • 15. Create a Calculated Field Calculated fields allow you to create new data from data that already exists in your data source. This step uses the “1” and “0” as a number we can sort by. The active year will have the “1”, and therefore will be sorted to the bottom.
  • 16. Create another Calculated Field This one isn’t really used. We’ll need a blank here to keep Tableau from highlighting something we’re trying to sort by. It doesn’t matter what’s added here, so simply adding a blank space is enough.
  • 17. Set up your Dashboard Actions This is where we will control what Tableau does when certain things are clicked or selected. There are TONS of cool things you can tell Tableau to do here. In this example, we’ll add an action to decide which field we’re sorting by, and another to get rid of the current selection highlight.
  • 18. Add a Sort action This is where we select the thing that we’re going to sort by. If I select something by clicking on it, I want to automatically change the parameter. So if I select the “Med Year 4” student group (by clicking on the right color), I’m telling Tableau to set the “behind the scenes” part to match.
  • 19. Add a Highlight action This is where we get rid of the highlight. By default, Tableau highlights something when it’s selected. We want to use actions to cause this to filter instead. Basically, when we select on something here, we’re giving Tableau the command to “do nothing.”
  • 20. Change sort options This is where we actually tell Tableau how to sort the data. Instead of sorting in ascending or descending order, we want to sort by the new “sorter” field we created. Because of the earlier IF/THEN calculation, this will either be a “1” for the bottom set of bars or “0” for the rest.
  • 21. Adjust Animation settings This just makes things pretty. From here, you can control how fast the screen updates, how long the animation lasts, and similar things. Feel free to play around with this part until it “looks right.”