Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize data label in redash #6809

Open
srikanthgarimilla1996 opened this issue Mar 12, 2024 · 1 comment
Open

How to customize data label in redash #6809

srikanthgarimilla1996 opened this issue Mar 12, 2024 · 1 comment

Comments

@srikanthgarimilla1996
Copy link

image
In the above image, i have data in table format.
I have selected pie chart for visualizing the above data.
image
I have got the data in a pie chart.
I wanted the list of users who have the respective log_status in data label.
image
In the above image i was able to get only one user, How can i get list of users in the data label belonging to the respective log_status?
Any help would be appreciated.
Thanks.

@eradman
Copy link
Collaborator

eradman commented Mar 18, 2024

The query would need to return the aggregate data

X Column: log_status
Y Columns: user_id
Data Labels: {{ usernames_by_log_status }}

The pie chart cannot apply a function to group values, so the database needs to sum this data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants