Meritshot Tutorials
- Home
- »
- Using Map Filters in Tableau
Tableau Tutorial
-
Overview of TableauOverview of Tableau
-
Key Features and Benefits of TableauKey Features and Benefits of Tableau
-
Tableau Desktop vs. Tableau Online vs. Tableau ServerTableau Desktop vs. Tableau Online vs. Tableau Server
-
Navigating the Tableau InterfaceNavigating the Tableau Interface
-
Intro to Charts in TableauIntro to Charts in Tableau
-
Introduction to Calculated FieldsIntroduction to Calculated Fields
-
Common Calculations (e.g., Profit Margins, Growth Rates)Common Calculations (e.g., Profit Margins, Growth Rates)
-
Best Practices for Calculated FieldsBest Practices for Calculated Fields
-
Bar ChartBar Chart
-
Overview of Table CalculationsOverview of Table Calculations
-
Common Table Calculations (e.g., Running Total, Percent of Total)Common Table Calculations (e.g., Running Total, Percent of Total)
-
Customizing Table CalculationsCustomizing Table Calculations
-
Line ChartLine Chart
-
Aggregations in TableauAggregations in Tableau
-
Best Practices for AggregationBest Practices for Aggregation
-
Pie ChartPie Chart
-
Granularity in TableauGranularity in Tableau
-
Adjusting Granularity in Your VisualizationsAdjusting Granularity in Your Visualizations
-
Examples of Granularity in Different ScenariosExamples of Granularity in Different Scenarios
-
Scatter Plots in TableauScatter Plots in Tableau
-
Level of Detail (LOD) ExpressionsLevel of Detail (LOD) Expressions
-
Different Types of LOD Expressions (Fixed, Include, Exclude)Different Types of LOD Expressions (Fixed, Include, Exclude)
-
Practical Use Cases and ExamplesPractical Use Cases and Examples
-
HistogramsHistograms
-
Customizing Charts (Colors, Labels, Axes)Customizing Charts (Colors, Labels, Axes)
-
Introduction to Geographic DataIntroduction to Geographic Data
-
Creating and Refreshing Extracts in TableauCreating and Refreshing Extracts in Tableau
-
Benefits of Using Extracts vs. Live ConnectionsBenefits of Using Extracts vs. Live Connections
-
Creating Basic MapsCreating Basic Maps
-
Creating Interactive Filters (Dropdowns, Sliders)Creating Interactive Filters (Dropdowns, Sliders)
-
Using Filter Actions in DashboardsUsing Filter Actions in Dashboards
-
Customizing Maps (Layers, Annotations, Map Styles)Customizing Maps (Layers, Annotations, Map Styles)
-
Introduction to DashboardsIntroduction to Dashboards
-
Designing and Building DashboardsDesigning and Building Dashboards
-
Adding Interactivity (Actions, Filters)Adding Interactivity (Actions, Filters)
-
Using Map FiltersUsing Map Filters
-
Creating a Tableau StoryCreating a Tableau Story
-
Designing Storyboards for Effective CommunicationDesigning Storyboards for Effective Communication
-
Formatting in TableauFormatting in Tableau
-
Customizing Appearance (Colors, Borders, Fonts)Customizing Appearance (Colors, Borders, Fonts)
-
Best Practices for Dashboard FormattingBest Practices for Dashboard Formatting
-
Principles of Effective Data VisualizationPrinciples of Effective Data Visualization
-
Understanding Data Types and Data StructureUnderstanding Data Types and Data Structure
-
Choosing the Right Visualization for Your DataChoosing the Right Visualization for Your Data
-
Creating and Formatting ReportsCreating and Formatting Reports
-
Adding Filters and Parameters to ReportsAdding Filters and Parameters to Reports
-
Publishing and Sharing ReportsPublishing and Sharing Reports
Using Map Filters
Overview
Map filters in Tableau allow you to refine your geographic visualizations by displaying only the data that meets specific criteria. Filters help you focus on relevant subsets of your data, making your maps more insightful and easier to interpret.
Steps to Use Map Filters
- Add a Filter to Your Map:
- Open the Filters Pane: Drag the desired field from the Data pane to the Filters shelf. This can be any field that you want to use to filter the map, such as a category, date, or geographic region.
- Configure the Filter: Tableau will prompt you to set filter criteria. Choose the type of filter you want to apply, such as Range of Dates, Category, or Relative Date.
- Apply the Filter: Click OK to apply the filter to your map. The map will update to display only the data that matches the filter criteria.
- Example: Drag a field like “Region” to the Filters shelf and select specific regions to display on the map.
- Use Filter Actions for Interactive Maps:
- Create Filter Actions: Go to the Worksheet menu, select Actions, and then choose Add Action → Filter. Define the source and target sheets and set up the filter criteria.
- Configure Action Settings: Specify how the filter action will interact with the map. You can set filters to apply when hovering, clicking, or selecting data points.
- Example: Set up an action to filter a map based on a selection from a related chart or dashboard.
- Apply Hierarchical Filters:
- Add Hierarchical Filters: Drag a hierarchical field (e.g., Country > State > City) to the Filters shelf. Tableau will allow you to filter at multiple levels of the hierarchy.
- Set Filter Levels: Choose the levels of the hierarchy to display or filter. You can select specific levels or allow users to choose.
- Example: Filter a map to show data for specific states within a country, or further drill down to specific cities.
- Create Dynamic Filters:
- Use Parameters for Dynamic Filtering: Create a parameter by selecting Create Parameter from the context menu of a field. Define the parameter options and link it to your filter.
- Apply Parameter to Filter: Drag the parameter to the Filters shelf or use it in a calculated field to dynamically update the filter based on user input.
- Example: Use a parameter to let users select a date range dynamically, updating the map to show data for the chosen period.
- Filter Based on Map Layers:
- Layer-Specific Filters: If you have multiple map layers, apply filters specific to each layer. Open the Map Layers pane, and adjust filters for each layer to focus on relevant data.
- Example: Filter a map to display only certain types of data points, such as sales versus customer locations, on different layers.
Best Practices for Using Map Filters
- Keep Filters Relevant:
- Use filters that directly relate to the data being visualized and the insights you want to convey. Avoid overly complex or irrelevant filters that may confuse users.
- Allow User Interaction:
- When using filter actions or parameters, ensure they are user-friendly and provide clear instructions. Allow users to interact with the map and customize their view.
- Test Filter Performance:
- Test filters for performance, especially when working with large datasets. Ensure that filters do not slow down map interactions or cause delays.
- Combine Filters Thoughtfully:
- Combine multiple filters to create meaningful views of your data. Be mindful of how different filters interact and ensure they do not produce conflicting results.
- Document Filter Criteria:
- Provide clear labels or descriptions for filters to help users understand what data is being displayed. Document the criteria used for filtering, especially in interactive dashboards.
Frequently Asked Questions
Q: How do I apply multiple filters to a map?
A: Drag multiple fields to the Filters shelf. You can configure each filter individually to refine the map view based on different criteria.
Q: Can I filter a map based on a selection in another worksheet?
A: Yes, you can create filter actions to link maps and other worksheets. Go to Worksheet → Actions → Add Action → Filter, and set up the action to apply filters based on selections.
Q: How can I use parameters to filter a map dynamically?
A: Create a parameter from the Data pane and set its options. Then, link the parameter to a filter or calculated field to allow dynamic filtering based on user input.
Q: What is the difference between hierarchical and non-hierarchical filters?
A: Hierarchical filters allow you to filter data at multiple levels of a hierarchy, such as Country > State > City. Non-hierarchical filters apply criteria to a single level of data.
Q: How do I filter data on different map layers?
A: Open the Map Layers pane and adjust filters for each layer individually. This allows you to focus on specific data types or categories displayed on different map layers.