Open natilehrer opened 9 months ago
Hi, I hope @sfirke you can find it as a bug and confirm this issue in #cross-filter
This does seem to still be an issue in current Superset (and Preset). Not sure if @sadpandajoe or @Vitor-Avila have heard any reports of this cropping up, or if @kgabryje has had a chance to look, but can anyone
@rusackas this is the first time I'm hearing about this issue - wasn't familiar with it just yet.
The concatenated string is difficult to read, but the queries generated by filtered charts are correct - seems like it's just a visual issue
How to reproduce the bug
Data and Dashboard are from the default when uploading Superset 3.0.0
Expected results
on the left side of the page- "filters" , i would expect under "cross-filters" the filter "dimension: value" + "dimension in our example: "Publisher Take-Two Interactive" and another "Name Grand Theft Auto:San Andreas"
Actual results
"Publisher Take-Two InteractiveGrand Theft Auto:San Andreas
The problem is that the metrics+dimensions merged to one big string as a value to a dimension, With this bad string, it will never find other chart's info with this merged values
Screenshots
From the example above: 1 metric + 2 dimensions Edit chart page: type chart, metrics, dimensions
The dashboard page with the bug presented: bad cross-filter string, which returns no results in dashboard
Screenshots - Second scenario: 2 metrics +dimension
Expected: name Kinect Adventures! Actual: name SUM(na_sales)Kinect Adventures!
Environment
3.0.0
3.9
20.10.0