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

Sort by column #559

Open
Klimkiv opened this issue Nov 29, 2022 · 4 comments
Open

Sort by column #559

Klimkiv opened this issue Nov 29, 2022 · 4 comments

Comments

@Klimkiv
Copy link

Klimkiv commented Nov 29, 2022

As I see option [sort by column] for categorical fields from SSAS Tabular doesn't work? Is it be repaired?

@danmarshall
Copy link
Contributor

Can you provide a small repro example?

@danmarshall
Copy link
Contributor

Sorting on strings may give unexpected results to an end user. For example, sorting by numeric string:

const numericStringArray = ["80", "9", "700"];
numericStringArray.sort(); // ['700', '80', '9']

or sorting by month name:
image

@JellyV
Copy link

JellyV commented Dec 4, 2023

@danmarshall "Sort By" in column view doesn't do anything.. I only had two columns in my results: User and Ticket Count. By default, chart sorted the results alphabetically. selecting Ticket Count in "Sort By" had no change in column view.. In Bar view it sorted it wrongly.. Any updates on fixing this?

@danmarshall
Copy link
Contributor

Hi @JellyV , can you provide a small data sample? That would help to repro the issue.

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

3 participants