Skip to content

Big number with threadline ERROR with "cumsum" advanced analytics and filters defined in jinja template #30066

Open
@maksperskiy

Description

@maksperskiy

Bug description

Error in Big number with threadline chart if No data with filters defined by jinja template in complex CTE SQL query

How to reproduce the bug

  1. Define complex dataset with CTE and impletement existed filters as jinja template
    image

  2. Create chart Big number with threadline. Set rolling function "cumsum"
    image

  3. Place chart on a dashboard with different related (by jinja) filters.

  4. Select values in related (by jinja) filters to get No data

  5. Result
    image

Screenshots/recordings

No response

Superset version

4.0.2

Python version

Not applicable

Node version

Not applicable

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions