-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add possibility to hide dimensions #456
Comments
For now we have MeasureDimension, GeoDimension, TemporalDimension, OrdinalDimension : each type describes the data contained in the dimension. It seems like "hidden" should be a term attached to the dimension. And it seems like it should be scoped to a particular application (visualize.filterable = false) false.\ @dabo505 Can you provide in your issue a link to a particular dataset with the name/id of the dimensions that should not be filterable, so that we have a real life example ? |
|
The BLW site where filtering will happen will be custom, we do not have to find right now a generic (= inside visualize.admin) way to handle the not filterable dimension case since we can hardcode inside the BLW site that the Datenquelle dimension should not be shown. I am not sure this is clear for BLW that there will be a custom filter interface for BLW, and also the generic interface for visualize.admin, this is something we are currently clarifying in a document for them. Since "hidden" here means "not filterable", I think we should not use the "hidden" terminology here as it could mean that we do not show the dimension in tables etc... Here, since the use case could be different across applications, I think having the name of the term/attribute "namespaced" to the application could be good "visualize.filterable" = false. |
Yes, but BLW is also interested in showing their data on visualize and clearly stated that they want to invest in it. |
I was not meaning that the attribute be decorrelated from the cube/dimensions, I was hinting that the RDF term attached to the dimension could be namespaced with "visualize" in case other applications than visualize wants to filter on the dimension. |
Ok, but then we would need two ways of showing that (one for the cube and one visualize specific). Because in this case it doesn't matter where the data is shown, when filtering upon one dimension the data doesn't make sense any more, right? |
@ptbrowne what I think is better to discuss in person is the interaction with the other Classes. So what is allowed to be hidden in regards of visualize:
|
Current
New
|
I put the upstream issue label until this is implemented on your side @l00mi |
For now we want to solve the problems in the BLW use case in two ways:
Does this solve the problems? |
Further we are thinking about a solution for "SingleValue" Dimension: zazuko/cube-link#71 But this needs more time and is not expected to happen in the near future. |
Thank you, that's all fine with me. |
Is your feature request related to a problem? Please describe.
Sometimes dimensions should not be shown in visualize e.g. because the publisher doesn't want the user to filter on them or because they have just one single value (e.g. currency is always Swiss Francs)
Describe the solution you'd like
Add a class to the dimension that expresses whether the dimension should be shown in visualize.
e.g.
<> a cube:HiddenDimension
To be discussed
How does this class interact with other classes such as KeyDimensions or MeasureDimensions, e.g. can they be hidden.
The text was updated successfully, but these errors were encountered: