Skip to content

在 Superset 5.0 中,使用柱形图按 SUM(航段数)排序时,排序功能不生效,图表数据未按航段数总和降序/升序展示 #38877

@mxunn

Description

@mxunn

Bug description

环境信息

  • Superset 版本:5.0
  • 数据源:MySQL
  • 指标字段:航段数(数值类型)
  • 分组字段:航司(字符类型)

Screenshots/recordings

Image

Superset version

master / latest-dev

Python version

3.9

Node version

16

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

    explore:sortRelated to sorting in Explorevalidation:requiredA committer should validate the issueviz:charts:barRelated to the Bar chart

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions