Meritshot Tutorials
- Home
- »
- Common Table Calculations (e.g., Running Total, Percent of Total)
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
Common Table Calculations (e.g., Running Total, Percent of Total)
Running Total
Definition and Purpose: A running total accumulates values incrementally over a specified period. This calculation is useful for understanding cumulative progress, tracking trends, or identifying patterns over time.
Steps to Create a Running Total:
- Drag Measure to View: Start by placing a measure (e.g., sales) on the Rows or Columns shelf.
- Apply Running Total Calculation:
- Right-click the measure, select “Quick Table Calculation,” and choose “Running Total.”
- Configure Computation:
- Choose the appropriate “Compute Using” option, such as “Table (Down)” for time-series data, to ensure correct aggregation.
Example: To track cumulative sales for each month of the year, apply a running total calculation to monthly sales data. This will show how total sales accumulate over the months.
FAQs:
Q1: How do I reset the running total calculation periodically (e.g., quarterly)?
A1: Use partitioning and addressing options to reset the running total based on a specific dimension (e.g., quarter).
Q2: Can running totals be used with non-time dimensions?
A2: Yes, running totals can be applied to any dimension where cumulative aggregation is relevant.
Percent of Total
Definition and Purpose: The percent of total calculation shows the proportion of each data point relative to the total sum. It helps in understanding the relative contribution of individual components.
Steps to Create Percent of Total:
- Drag Measure to View: Place a measure on the Rows or Columns shelf.
- Apply Percent of Total Calculation:
- Right-click the measure, select “Quick Table Calculation,” and choose “Percent of Total.”
- Configure Computation:
- Adjust the “Compute Using” settings to determine how the percentage should be calculated (e.g., across categories).
Example: To show each product category’s percentage contribution to total sales, apply the percent of total calculation to sales data grouped by category.
FAQs:
Q1: How can I display percent of total for specific segments of data?
A1: Use filters and partitions to focus on specific segments and apply the percent of total calculation accordingly.
Q2: Can percent of total be used with multiple dimensions?
A2: Yes, you can calculate the percent of total within subcategories or dimensions to show detailed contributions.
Moving Average
Definition and Purpose: A moving average smooths out fluctuations by averaging values over a specified number of periods. It is used to identify trends and patterns by reducing noise in the data.
Steps to Create a Moving Average:
- Drag Measure to View: Place a measure on the Rows or Columns shelf.
- Apply Moving Average Calculation:
- Right-click the measure, select “Quick Table Calculation,” and choose “Moving Average.”
- Configure Window Size:
- Specify the number of periods for the moving average calculation (e.g., 3 months).
Example: To analyze sales trends over a year, apply a moving average calculation to smooth out monthly sales data and identify long-term patterns.
FAQs:
Q1: How do I choose the appropriate window size for a moving average?
A1: The window size should align with the frequency and granularity of your data, such as monthly or quarterly periods.
Q2: Can moving averages be customized for different time intervals?
A2: Yes, you can adjust the moving average calculation for various time intervals, such as days, weeks, or months.
Rank
Definition and Purpose: The rank calculation assigns a rank to each data point based on its value within a partition. It is useful for comparing items or categories relative to each other.
Steps to Create a Rank Calculation:
- Drag Measure to View: Place a measure on the Rows or Columns shelf.
- Apply Rank Calculation:
- Right-click the measure, select “Quick Table Calculation,” and choose “Rank.”
- Configure Ranking Method:
- Choose the ranking method (e.g., ascending or descending) and specify how the ranking should be applied (e.g., within categories).
Example: To rank sales representatives by total sales performance, apply a rank calculation to the sales data.
Frequently Asked Questions
Q1: How do I handle ties in ranking calculations?
A1: Configure the ranking method to handle ties, such as assigning the same rank to tied values or using average rank.
Q2: Can rank calculations be applied to dimensions other than numerical measures?
A2: Rank calculations are typically applied to measures but can be influenced by dimensions for comparative analysis.