metabase / metabase/metabase

Funnels built in the visualizer are broken in subscriptions

Open
#76,922 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.Auto triaged .Backend .Run Repro Bot .Team/UXWest Priority:P2 Reporting/Pulses Type:Bug Visualization/Funnels
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

### Describe the bug

In the visualizer, you can build a funnel from several individual number cards. When such a funnel is included in a dashboard subscription, the email shows "An error has occurred while displaying this card".

Image

Questions with funnel viz type for fine - the issue is restricted to funnels built from number cards

### To Reproduce

1. Create several questions returning a single number, e.g Count of Orders, Count of Orders/2, and Count of Orders/3
2. Create a new dashboard.
3. Add one of the number questions to the dashboard.
4. Click "Visualize another way" on the card to open the visualizer.
5. In the visualizer, click on Add more data in the left sidebar.
6. Search for and add remaining questions.
8. Switch visualization to Funnel.

Image

10. Save. the visualization and the dashboard

Image

12. Set up a dashboard subscription and click "Send email now" to test it.

Image

### Expected behavior

Subscription contains the funnel image

### Logs

_No response_

### Information about your Metabase installation

```JSON
62.3.5 but probably been there for a couple of releases
```

### Severity

P2

### Additional context

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the visualizer entry point, then trace how a dashboard subscription renders a funnel built from multiple number cards. Use “Send email now” to verify the failure and compare it with a funnel visualization question; done means the subscription email contains the funnel image instead of the error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.