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 measure in columns plot doesn't work properly #1511

Open
nickeichmann opened this issue May 8, 2024 · 1 comment
Open

Sort by measure in columns plot doesn't work properly #1511

nickeichmann opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nickeichmann
Copy link

Describe the bug
I want to visualize this cube as a sorted column (according to the measure of the latest year) chart with grouped columns. When I choose the respective settings the plot sorts the columens neither the measures of 2020, neither the measures of 2022.

To Reproduce
Steps to reproduce the behavior:

  1. Go to this visualization
  2. Press at the bottom at "Copy and edit this visualization"
  3. Edit the "Horizontal Axis: Programme"
  4. See that "Sort by: Measure" is selected, but neither the blue, neither the orange bars are sorted. I aussume it is sorted by the average value or something like that?

Expected behavior
I would expect, that the bars are sorted by the values of the latest year.

Screenshots or video
image

Environment (please complete the following information):

  • Visualize environment and version: 4.3.0
@nickeichmann nickeichmann added the bug Something isn't working label May 8, 2024
@bprusinowski
Copy link
Collaborator

Hi @nickeichmann, thanks for reporting the issue! Just a short answer to your question: currently we are sorting by sums per given X variable value (so summing up every bar in a given group).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants