msyavuz opened a new issue, #34141:
URL: https://github.com/apache/superset/issues/34141
### Bug description
Users can choose the X for increase, Y for decrease color scheme option on
the Table Chart. However, it does not work.
## Reproduction
1. Create a virtual dataset with query
```sql
SELECT
1 AS X,
2 AS Y,
1 - 2 AS "X-Y"
UNION ALL
SELECT
5 AS X,
2 AS Y,
5 - 2 AS "X-Y"
UNION ALL
SELECT
4 AS X,
2 AS Y,
4 - 2 AS "X-Y"
UNION ALL
SELECT
1 AS X,
5 AS Y,
1 - 5 AS "X-Y"
UNION ALL
SELECT
1 AS X,
1 AS Y,
1 - 1 AS "X-Y";
```
2. Create a table chart with this dataset
3. Go to the Customize tab, and add Conditional Formatting to the third
column.
4. Choose the Green for increase, red for decrease option.
## Expected results
The "Green for increase, red for decrease" and "Red for increase, green for
decrease" conditional formatting options shouldn't appear unless there is a
time shift applied to the table
## Actual results
The Conditional Formatting for the X for increase, Y for decrease does not
work.
### Screenshots/recordings
<img width="1563" height="835" alt="Image"
src="https://github.com/user-attachments/assets/a75f9b6f-1c1c-4f7a-bd7f-1d23e2bdcc6a"
/>
### Superset version
master / latest-dev
### Python version
3.11
### Node version
18 or greater
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]