GitHub user vhogberg created a discussion: How are time column filters supposed 
to work?

@dosu

I'm having trouble with time column filters/display controls. I'm guessing your 
supposed to be able to switch for example which column is used on the x-axis of 
a timeseries chart. So being able to switch between order_date and 
delivery_date in a bar chart for example. I keep running into weird results 
though with the y-axis going up into the millions unexpectedly resulting in 
just one bar with the new column in switching to ending up in the legend, as if 
it was a metric.

What I'm doing:

1. Select a dataset which has multiple time columns in it
2. Create an 'x over time' bar chart using the default date time column
3. Add the bar chart to a dashboard
4. Add a time column filter
5. Change the time column to the non-default datetime and apply the filter -> 
expect to get the bar chart with the other datetime column defining the time 
aggregation, instead get a bar chart with (?) two metrics:

With default datetime:
<img width="390" height="229" alt="image" 
src="https://github.com/user-attachments/assets/40585041-eea5-4124-bfb9-12890c7f35ad";
 />

Switching via a time column filter to use the non-default datetime column:
<img width="452" height="265" alt="image" 
src="https://github.com/user-attachments/assets/f8fe83fe-6d71-4762-8a29-7af908972615";
 />

It's within the same dataset, same format, so I'm not sure what's happening and 
if it's a genuine bug.

GitHub link: https://github.com/apache/superset/discussions/43582

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to