Data Visualization & BI using Power BI & Tableau

Chapter 10
Interactive, Geospatial and Exploratory Analytics

Diploma in Business Analytics
Data Visualization & BI using Power BI & Tableau   •   Diploma

Interactive, Geospatial and Exploratory Analytics

Introduction

Business intelligence is most valuable when it helps users investigate questions rather than merely read predefined reports. Interactive, geospatial and exploratory analytics allow decision-makers to move from an overall result to its causes, compare alternative scenarios, identify spatial patterns, and examine change over time. Power BI and Tableau provide complementary facilities for this work: dashboards, drill-down hierarchies, cross-filtering, parameters, geographic maps, distributions, trend lines, forecasts and what-if controls.

Exploration, however, must be disciplined. A visual pattern is not automatically a reliable conclusion. A correlation may indicate association without proving causation; a forecast is conditional on its assumptions; and a map can exaggerate differences if its geographic scale or colour scheme is poorly chosen. Effective analysts therefore combine interaction design, statistical reasoning, domain knowledge, data quality controls and ethical judgement.

Learning Objectives

By the end of this chapter, you should be able to:

  1. Design drill-down, drill-through and cross-filtering interactions in Power BI and Tableau.
  2. Build and interpret geospatial and time-series visualizations.
  3. Apply segmentation, trend analysis, distributions and correlation analysis appropriately.
  4. Use forecasting and what-if analysis while stating assumptions and limitations.
  5. Distinguish association from causation and recognize common analytical errors.
  6. Evaluate accessibility, privacy, governance and ethical risks in interactive BI.

1. Interactive Analytics as an Analytical Process

A static chart answers a predefined question. An interactive view supports a sequence of questions. A sales manager may begin with total revenue, select a region, examine product categories, inspect individual stores, and then compare the result with a target. This sequence is often called the analytical path or investigation path.

Interaction should have a clear purpose. Common purposes include:

  • Navigation: moving from summary to detail through a hierarchy.
  • Selection: restricting a view to a product, period, customer group or location.
  • Comparison: comparing selected groups against one another or against a benchmark.
  • Recalculation: changing assumptions and observing a resulting measure.
  • Annotation: recording an explanation, event or decision associated with a data point.

An interactive dashboard should make the current filter state visible. Otherwise, users may interpret a filtered value as a total. Titles, subtitles, dynamic labels, filter summaries and reset controls are therefore important components of analytical accuracy.

1.1 Drill-down, drill-through and expand/collapse

A hierarchy represents levels of detail. A typical retail hierarchy is:

Year → Quarter → Month → Day

A geographic hierarchy might be:

Country → State or Province → City → Store

Drill-down moves from a higher level to a lower level while preserving the analytical context. In Power BI, a visual can be configured with hierarchy fields and drill controls. In Tableau, users can place fields in a hierarchy and click the plus symbol to expand a level. Drill-down is useful when the same measure is examined at increasingly fine granularity.

Drill-through opens a detail page or worksheet filtered to the selected entity. For example, selecting a customer segment can open a page containing transactions, service cases and account attributes. Drill-through should provide contextual detail, not simply reproduce the original chart.

Expand/collapse displays multiple hierarchy levels in one visual. It is useful for comparing a parent with its children, but excessive expansion can produce clutter and small, unreadable marks.

A sound hierarchy must reflect the business meaning of the data. A “city” field containing inconsistent spellings or a “month” field sorted alphabetically will undermine otherwise correct interaction.

1.2 Cross-filtering and cross-highlighting

Cross-filtering means that a selection in one visual restricts the records used by another visual. Cross-highlighting retains the full context but emphasizes the selected subset. For example, selecting “Online” in a sales channel chart may filter a map to online-associated delivery locations, whereas highlighting may retain all locations while emphasizing online sales.

In Power BI, visual interactions can be edited so that a selected chart filters, highlights or does not affect another visual. In Tableau, actions such as “Filter,” “Highlight” and “Go to URL” support similar behaviour. The analyst must test interaction direction and scope carefully, especially when several tables are connected through relationships.

A filter is not necessarily neutral. Filtering customers to those with recorded email addresses may systematically exclude certain populations. Filtering out returns may make revenue appear higher but can conceal operational problems. Every important dashboard should distinguish:

  • report-level filters,
  • page-level filters,
  • visual-level filters,
  • user-selected filters, and
  • security filters that restrict access to records.

1.3 Interaction design principles

Useful interactive dashboards generally follow five principles:

  1. Expose the question. The title should state what the visual measures.
  2. Preserve context. Show units, time period, population and comparison basis.
  3. Limit complexity. Provide a small number of purposeful controls.
  4. Make reversibility easy. Include clear reset or “show all” actions.
  5. Test with realistic users. A technically correct dashboard may still be difficult to interpret.

2. Geospatial Analytics

Geospatial analytics associates observations with geographic coordinates, boundaries or named places. It can reveal market coverage, delivery delays, disease incidence, branch performance, route concentration and regional inequality.

2.1 Geographic data and spatial grain

Geographic information may be represented as:

  • Point data: stores, customers, incidents or sensors.
  • Line data: roads, routes, pipelines or journeys.
  • Polygon data: countries, sales territories, census areas or service zones.
  • Raster data: continuous surfaces such as elevation or satellite imagery.

The spatial grain must match the decision. A national map may support market allocation, while a store manager needs neighbourhood or delivery-zone detail. Aggregating data to a large area can conceal local variation, a problem known as spatial aggregation or ecological fallacy.

A location name alone may be ambiguous. “Springfield” can refer to multiple places. Geographic roles, country fields, postal codes, latitude and longitude, and unique geographic identifiers should be used to reduce geocoding errors. Analysts should validate a sample of points on a map before publishing results.

2.2 Common map types

Map typeSuitable useMain caution
Symbol or point mapShow locations and magnitudeOverlapping points can hide observations
Filled or choropleth mapCompare a rate or value across areasLarge areas may dominate attention
Density or heat mapShow concentration of many pointsDensity is affected by zoom and bandwidth
Flow mapShow movement between origins and destinationsCan become visually congested
Small-multiple mapsCompare geography across time or categoriesRequires consistent scales

A choropleth map should normally display a normalized measure such as sales per customer or incidents per 10,000 residents, not only raw totals. A useful rate is:

Rate = (Number of events ÷ Population at risk) × k

Here, k is a scaling constant such as 1,000 or 100,000. The numerator and denominator must refer to the same geography and period, and the population must genuinely represent the population at risk. Raw counts may be appropriate for capacity planning, but they should not be interpreted as risk without a suitable denominator.

2.3 Map design and ethical interpretation

Colour should communicate an ordered or divergent meaning. Sequential colour scales suit values from low to high. Diverging scales suit values above and below a meaningful midpoint, such as a target or zero. Class boundaries should be documented because different classification methods can produce different visual impressions.

Maps can expose sensitive information. A map of individual patients, debtors or crime victims may enable re-identification, particularly in sparsely populated areas. Appropriate protections include aggregation, suppression of small counts, access control, spatial masking and disclosure review. Location data can also reveal employee routines or customer residences, so lawful collection and purpose limitation are essential.

3. Time-Series Views and Trend Analysis

A time series is a sequence of observations ordered by time. Common business examples include daily orders, monthly revenue, weekly website visits and annual employee turnover. A time-series visual should use a true date field, a chronological axis and an appropriate level of aggregation.

Important components include:

  • Level: the typical magnitude of the series.
  • Trend: persistent upward or downward movement.
  • Seasonality: a repeating pattern at a known frequency.
  • Cyclical movement: longer fluctuations that may not have a fixed period.
  • Irregular variation: unexplained or random movement.
  • Change points: times at which the generating process may have changed.

A simple period-over-period change is:

Percentage change = ((xt − xt−1) ÷ xt−1) × 100%

Here, x_t is the current-period value and x_{t−1} is the comparable previous-period value. The denominator must not be zero, and the periods must be comparable. For seasonal businesses, year-over-year comparison may be more meaningful than month-over-month comparison.

A moving average smooths short-term fluctuations. A simple moving average of window length m is:

MAt = (xt + xt−1 + … + xt−m+1) ÷ m

The formula assumes equally spaced observations and equal weights. It is descriptive rather than automatically predictive. Increasing m produces more smoothing but can conceal recent changes and creates unavailable values at the beginning of the series.

Power BI line charts can use date hierarchies, small multiples, analytics panes, measures and forecast features. Tableau provides date parts, date values, reference lines, trend lines and forecasting. Analysts should avoid treating a date hierarchy as a statistical model: changing from daily to monthly aggregation can change the apparent trend.

4. Segmentation and Distributions

Segmentation divides observations into meaningful groups. Possible bases include customer value, geography, product type, behaviour, risk or service usage. Segments may be defined by business rules, quantiles, clustering or a predictive model.

A segment should be:

  • clearly defined,
  • mutually interpretable,
  • sufficiently large for reliable analysis,
  • stable enough for the intended decision, and
  • connected to an action.

For example, an “at-risk customer” segment is useful only if the organization can identify an intervention and evaluate its results. Arbitrary segmentation can create labels without decision value.

A distribution describes how values are spread. Useful visualizations include histograms, box plots, violin plots, dot plots and cumulative distribution charts. A box plot commonly displays the first quartile (Q₁), median (Q₂), third quartile (Q₃) and potential outliers. The interquartile range is:

IQR = Q₃ − Q₁

The IQR has the same units as the measured variable. In a conventional box-plot rule, values below Q₁ − 1.5 × IQR or above Q₃ + 1.5 × IQR are flagged as potential outliers. This is a screening convention, not proof that an observation is erroneous. A genuine high-value customer or an unusual but valid transaction may be operationally important.

Distributions should be examined within relevant groups. An overall average can conceal two very different populations, a phenomenon related to aggregation bias and Simpson’s paradox. Median, quartiles and percentiles are often more informative than the mean for skewed data such as delivery time or customer spend.

5. Correlation, Association and Causation

Association means that variables show some relationship in the observed data. Causation is a stronger claim: changing one factor produces a change in another under specified conditions. A dashboard can identify candidates for investigation, but it rarely establishes causation by itself.

The Pearson correlation coefficient is commonly written as:

r = Σ[(xi − x̄)(yi − ȳ)] ÷ √[Σ(xi − x̄)² × Σ(yi − ȳ)²]

Here, x_i and y_i are paired observations, x̄ and ȳ are sample means, and the summations cover all paired observations. The coefficient is unitless and lies between −1 and +1. It measures linear association; it does not establish causation and may be misleading for nonlinear relationships, outliers, restricted ranges or time-trending variables.

A correlation near zero does not prove that no relationship exists. Conversely, a high correlation can arise because:

  • a third variable influences both measures,
  • the direction of influence is uncertain,
  • the relationship is coincidental,
  • the observations are not independent, or
  • both variables increase over time.

A responsible workflow is to visualize the relationship, inspect distributions and outliers, stratify by relevant groups, consider timing and confounding variables, and use an appropriate experimental or quasi-experimental design where causal evidence is required. Randomized experiments provide strong causal evidence when properly implemented; observational dashboards generally provide descriptive or hypothesis-generating evidence.

6. Forecasting and What-If Analysis

Forecasting estimates future values from historical data and assumptions. It is not a guarantee. Forecast quality depends on data frequency, missing values, structural changes, seasonality, outliers, the forecast horizon and the chosen model.

A basic forecast can be represented conceptually as:

Forecast = f(past observations, calendar effects, explanatory variables, model assumptions)

The function f represents a forecasting method; it is not universal. Power BI and Tableau can generate built-in forecasts for suitable time-series views. Users should inspect the forecast interval, historical fit and residual behaviour rather than relying only on the displayed line.

Forecast errors can be summarized using mean absolute error:

MAE = (1 ÷ n) × Σ|yi − ŷi|

Here, y_i is the observed value, ŷ_i is the forecast, and n is the number of evaluated forecasts. MAE has the same units as the target and is easy to interpret. Evaluation should use data not used to fit the model, such as a holdout period or rolling-origin validation. Comparing a sophisticated model with a simple baseline is good practice.

What-if analysis

What-if analysis changes an input assumption and observes the resulting output. Examples include changing price, conversion rate, staffing level, discount, exchange rate or advertising spend. In Power BI, a disconnected parameter table can drive a measure; Tableau parameters can control calculations, filters and reference lines.

Suppose expected sales are modelled as:

Expected sales = Number of customers × Conversion rate × Average order value

If 20,000 customers have a conversion rate of 4% and an average order value of $75:

20,000 × 0.04 × $75 = $60,000.

This is a scenario calculation, not evidence that changing conversion rate alone will produce the result. It assumes the other inputs remain constant and that the relationship is appropriate in the scenario range. Analysts should provide base, optimistic and conservative cases, show assumptions, and avoid false precision.

Sensitivity analysis examines how much the result changes when an input changes. If a small input change produces a large output change, the decision is sensitive and deserves closer validation.

7. Applied Case: Regional Delivery Performance

The following is an illustrative case.

Background

Northstar Retail operates 80 stores and an online delivery service. Executives observe that national on-time delivery is 91%, above the target of 90%, but customer complaints have increased. They ask the BI team to determine where and why performance is deteriorating.

Problem

A national average hides regional and customer-level differences. The team must support exploration without exposing individual customer addresses or making unsupported causal claims.

Analysis and approach

The team builds a Power BI report and a parallel Tableau prototype using an orders table, store table, delivery-zone table, calendar table and customer-service table. Relationships are checked using unique keys and reconciliation totals.

The first page contains:

  • a KPI for on-time percentage,
  • a line chart by week,
  • a filled map of delivery zones,
  • a bar chart by carrier,
  • a distribution of delivery hours, and
  • slicers for region, carrier, product category and date.

The on-time measure is defined as:

On-time percentage = (On-time deliveries ÷ Eligible deliveries) × 100%

“Eligible deliveries” excludes cancelled orders according to a documented policy. The team also reports the denominator because a 100% rate based on two deliveries is not comparable with a 92% rate based on 10,000 deliveries.

Selecting a region cross-filters the carrier chart and time series. Drill-through opens a regional page with aggregate delivery zones, product categories and service cases. Individual addresses are not shown. A map uses rate per 1,000 deliveries and suppresses zones with fewer than 30 deliveries to reduce unstable rates and privacy risk.

The distribution shows that the median delivery time is acceptable, but a long upper tail exists in two zones. A correlation view finds a positive association between delivery distance and delay. However, the team does not conclude that distance causes delay: rural zones may also have fewer drivers, different weather exposure and different product mixes.

A what-if parameter models the effect of reducing average handling time by 10 minutes. The scenario suggests improved on-time performance, but operations managers identify that the assumption applies only to orders placed before a daily cut-off. The scenario is therefore labelled conditional rather than presented as a guaranteed outcome.

Outcome

Managers redirect a driver-training programme to the two high-delay zones, review carrier schedules, and begin a controlled pilot. The dashboard is updated to compare pilot and non-pilot zones over the same periods. This follow-up is more informative than simply observing that performance changed after the intervention.

Learning points

  1. National averages can conceal operationally important distributions.
  2. Cross-filtering helps users investigate, but filters must remain visible.
  3. Rates require suitable denominators and minimum-volume rules.
  4. Association can generate hypotheses without proving causes.
  5. What-if results depend on explicit and realistic assumptions.
  6. A dashboard should support a decision and its subsequent evaluation.

8. Implementation and Governance Best Practices

A professional implementation should include the following controls:

Data and semantic model

Use a well-defined date table, consistent keys, documented relationships and measures rather than duplicated calculated values. Validate totals against a trusted source. Record exclusions, refresh times, currencies, units and definitions.

Visual and interaction testing

Test filters in combination, drill paths, null values, zero denominators, duplicate records, date boundaries and mobile layouts. Confirm that a selection in one visual produces the intended effect in every connected visual.

Performance

Reduce unnecessary high-cardinality fields, limit excessive marks, aggregate where appropriate, use efficient models and avoid loading unused columns. Slow interaction encourages users to export data or bypass governance.

Accessibility

Use sufficient colour contrast, descriptive titles, alternative text, keyboard-accessible controls, direct labels and non-colour indicators. Do not use red and green as the only distinction. Design for users who use screen readers or cannot distinguish colours.

Governance and security

Apply role-based or row-level security where users must see different records. Security filters should be tested using realistic accounts. Keep an audit trail of data sources, definitions, transformations, refreshes and published versions. Do not treat dashboard access as a substitute for privacy impact assessment.

AI-assisted analytics

Natural-language questions, automated insights, anomaly detection and assisted explanations can accelerate exploration. They can also amplify data-quality problems, confuse correlation with explanation, or generate plausible but unsupported narratives. AI outputs should be treated as suggestions requiring source verification, metric-definition checks and human review. Sensitive data should not be sent to tools without appropriate organizational authorization.

9. Limitations and Common Failure Modes

Interactive analytics can fail in several ways:

  • Over-filtering: users see a narrow subset without noticing.
  • Chart junk and excessive controls: interaction becomes confusing rather than informative.
  • Geocoding errors: observations appear in the wrong location.
  • Denominator neglect: counts are compared where rates are required.
  • Temporal leakage: future information is inadvertently used in a historical forecast evaluation.
  • Survivorship bias: only active customers or successful cases are analysed.
  • Confounding: a third factor explains an apparent relationship.
  • Multiple comparisons: many groups are explored until one appears significant by chance.
  • Changing definitions: a KPI changes meaning between pages or reporting periods.
  • False precision: scenario outputs are displayed with more decimal places than the evidence supports.

Exploration is valuable, but findings should be documented as descriptive, predictive or causal. These categories should not be conflated.

Chapter Summary

Interactive analytics enables users to navigate from summary to detail, compare groups, test assumptions and investigate patterns. Drill-down follows a hierarchy, drill-through opens contextual detail, and cross-filtering or cross-highlighting connects related views. Geospatial analysis requires suitable geographic grain, reliable geocoding, appropriate map types and careful use of rates and denominators. Time-series analysis distinguishes level, trend, seasonality, cycles and irregular variation. Segmentation and distribution views reveal differences that averages may conceal. Correlation measures association, not causation; causal claims require stronger designs and contextual reasoning. Forecasts and what-if analyses are conditional on data, models and assumptions. Effective Power BI and Tableau solutions combine analytical usefulness with accessibility, privacy, security, performance, documentation and ethical governance.

Key Terms

Drill-down: Navigation from a higher hierarchy level to a more detailed level.

Drill-through: Opening a detail view filtered to a selected entity or value.

Cross-filtering: Restricting other visuals according to a user selection.

Cross-highlighting: Emphasizing selected data while retaining the remaining context.

Hierarchy: An ordered set of related levels, such as year, month and day.

Geospatial analytics: Analysis that uses geographic location, boundaries or movement.

Choropleth map: A map that shades areas according to a value or rate.

Geocoding: Converting place descriptions into geographic coordinates or boundaries.

Spatial grain: The geographic level at which data is recorded or analysed.

Time series: Observations ordered by time.

Seasonality: A repeating pattern associated with a regular calendar period.

Segmentation: Dividing observations into meaningful groups.

Distribution: The pattern of values and their frequencies or proportions.

Outlier: An observation unusually distant from the main pattern.

Correlation: A numerical measure of association between variables.

Causation: A relationship in which a change in one factor produces a change in another.

Forecast: An estimate of a future value based on data and assumptions.

What-if analysis: Testing outcomes under alternative input assumptions.

Sensitivity analysis: Examining how outputs respond to changes in inputs.

Row-level security: Restricting records shown to users according to their authorization.

Review Questions

Short Answer Questions

  1. Distinguish drill-down from drill-through.
  2. Why can a choropleth map based only on raw counts be misleading?
  3. What is the purpose of cross-highlighting?
  4. State two components of a time series.
  5. Why does correlation not establish causation?

Long Answer Questions

  1. Explain how you would design an interactive Power BI or Tableau dashboard for regional sales investigation.
  2. Compare point maps, choropleth maps and density maps, including an appropriate use for each.
  3. Explain the role of distributions, medians, quartiles and outliers in business analysis.
  4. Discuss the assumptions and limitations of built-in forecasting features.
  5. Describe governance and accessibility controls required for a professional interactive BI report.

Analytical / Application Questions

  1. A region has 120 late deliveries among 2,000 orders, while another has 80 late deliveries among 500 orders. Which region has the higher late-delivery rate, and what additional information should be examined before recommending action?
  2. A dashboard shows a strong positive correlation between advertising expenditure and sales. Develop a plan to investigate whether the relationship is causal.
  3. Design a what-if analysis for a retailer considering a price reduction. Identify the inputs, output measures, assumptions, sensitivity tests and risks of misleading interpretation.

Multiple Choice Questions with Answers

Question 1

Which interaction is most appropriate for opening a detailed customer page filtered to a selected customer segment?

A. Drill-through

B. Cross-highlighting

C. Choropleth mapping

D. Forecasting

Correct Answer: A. Drill-through

Question 2

Why is a rate often preferable to a raw count when comparing incidents across regions?

A. Rates remove all uncertainty

B. Rates account for differences in the relevant population or exposure

C. Rates always prove causation

D. Rates require no denominator

Correct Answer: B. Rates account for differences in the relevant population or exposure

Question 3

A time series contains a repeating pattern every December. This pattern is best described as:

A. An outlier

B. A confounder

C. Seasonality

D. A geocoding error

Correct Answer: C. Seasonality

Question 4

What does Pearson’s correlation coefficient primarily measure?

A. Linear association

B. Causal impact

C. Forecast accuracy only

D. Geographic distance

Correct Answer: A. Linear association

Question 5

If 20,000 customers have a 4% conversion rate and an average order value of $75, what are expected sales under the stated scenario model?

A. $6,000

B. $60,000

C. $150,000

D. $1,500,000

Correct Answer: B. $60,000

Question 6

Which visual is particularly suitable for showing the spread, median and quartiles of delivery times?

A. Box plot

B. Pie chart

C. Filled map

D. Gauge only

Correct Answer: A. Box plot

Question 7

What is a major risk of interpreting a strong correlation between two business variables as proof of causation?

A. The variables may have a common third cause

B. Correlation always has different units

C. Correlation cannot be visualized

D. The sample mean is necessarily zero

Correct Answer: A. The variables may have a common third cause

Question 8

Which practice best protects privacy in a map showing sensitive locations?

A. Display every individual address

B. Suppress or aggregate small geographic groups

C. Remove the map title

D. Use more saturated colours

Correct Answer: B. Suppress or aggregate small geographic groups

Question 9

What does MAE measure in forecast evaluation?

A. The average absolute difference between observed and forecast values

B. The percentage of geographic areas displayed

C. The number of seasonal cycles

D. The correlation between two maps

Correct Answer: A. The average absolute difference between observed and forecast values

Question 10

A what-if result should primarily be interpreted as:

A. A guaranteed future outcome

B. A conditional result based on specified assumptions

C. Proof that the input causes the output

D. A replacement for data validation

Correct Answer: B. A conditional result based on specified assumptions

Data Visualization & BI using Power BI & Tableau
Chapter 10 of 14