Closed jeffreyrobeson closed 6 months ago
pip install --upgrade vanna The problem has been solved.
The problem has been solved.
@jeffreyrobeson thanks! In this particular case it looks like the generated SQL query does not contain an order by so the results in the table wouldn't be expected to be sorted. Plotly might be sorting the dates automatically under the hood.
Describe the bug Why is the data in the order date row of the data table incorrect? The Plotly chart is correct. How can I correct this error?
Desktop (please complete the following information where):
Additional context Add any other context about the problem here. SELECT 下单日期, SUM(已分账收益) AS 已分账收益总额, SUM(未分账收益) AS 未分账收益总额, SUM(已分账收益 + 未分账收益) AS 总收益 FROM orders GROUP BY 下单日期;