visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Hierarchies: Total Values are listed twice

Open AnninaWalker opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. To continue the reported issue here: What I find a bit irritating here is that the "Schweiz is listed separately above the summary "Schweiz", Its now shown twice. Any way to avoid this? It is not ideal, and hard to understand for the users who did not create the dataset.

Describe the solution you'd like Avoid showing these Totals twice. For ex. Put the check to the right of the value

Describe alternatives you've considered None so far

Additional context 186107270-f43b4e44-314d-4cb8-bdf6-08152feab440 186107204-24568c52-fcaf-4bfb-b1e6-1944a314ea63

AnninaWalker avatar Aug 25 '22 09:08 AnninaWalker

One UX problem I see is that we would have all the parent region be clickable to toggle the value, but inside this region there would be the select/deselect all that would also be clickable. Are we fine with that ? I am not putting this in the sprint though as I think this is an enhancement and we want to publish soon.

ptbrowne avatar Aug 25 '22 12:08 ptbrowne

I agree. We should not tackle this in this sprint. We have to first think about the impact and evaluate the best solution.

AnninaWalker avatar Aug 25 '22 14:08 AnninaWalker

@AnninaWalker as discussed once the name of a hierarchy level is available as multilangstring is can be applied...

i.e. Switzerland > Canton > Zürich, Berne, ...

      <> meta:nextInHierarchy > schema:name > 'Canton'@en

see https://cube.link/#hierarchies

prerequisite is cube-creator integrating this as a new feature in multilang and data to be updated accordingly.

Rdataflow avatar Oct 27 '22 08:10 Rdataflow

Following call with Zazuko : temporary solution would be to fetch the name of the shared dimension as a fallback, when there is no name on the hierarchy level itself.

ptbrowne avatar Nov 02 '22 08:11 ptbrowne

@ptbrowne agree to workaround - but what about multilang of the level's name? currently this is not yet implemented in cube-creator. @l00mi agreed add such a proposal over there?

Rdataflow avatar Nov 09 '22 08:11 Rdataflow