You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is brought over from the Visualize Tool Github:
When displaying the Quality of Bathing Water Cube on INT the column Upper LOD is supposed to be empty. This happens both in preview mode as in the table view I gave it the same property as the Lower LOD column in Cube Creator which is "integer" (Link) However, Visualize displays the Upper LOD not as an empty column but with the "null" value. This is an issue in terms of consitency and also because null could be interpreted as "zero" in German.
IXT did some investigation on their end and they came to the following conclusion:
Hi @tboeni, I investigated the issue and it seems there are some issues with the data:
the Upper LOD dimension is not marked as a numerical dimension, and we are treating it as a "namedNodeDimension". This means that we create a mapping of value – label to get the labels, and another problem appears here: the missing values are not marked with https://cube.link/Undefined value, but rather are simply empty (null). This means that we are omitting them from such mapping and simply convert actual value to string, which results in a "null" visible in the table. I assume there is a way to mark such values with https://cube.link/Undefined in the Cube Creator, because we have such logic to handle empty values since long time,
the Lower LOD dimension also misses the https://cube.link/Undefined values, but it's marked as numerical dimension – in this case again we check is the value is equal to https://cube.link/Undefined and if it's not (and this is not the case, as it's null), we convert it to an empty string.
It seems that handling of undefined values is described in the: Cube Schema documentation, so I would advise to try to adjust the dimensions in a recommended way (change the Upper LOD data type to numerical and replace nulls with https://cube.link/Undefined) and then the values should be displayed correctly in Visualize.
Technically, we also could adjust the logic to handle nulls together with https://cube.link/Undefined, but I think it makes more sense to follow the guidelines here.
Is there a possibility that completely empty columns in Cube Creator are handled differently than columns just having few empty values?
Would it be a solution to just simply mark the values in the empty row of "Upper LOD" as cube:undefined?
The text was updated successfully, but these errors were encountered:
Because there are no values of Upper LOD, Cube Creator does not produce the sh:or alternative. Right now the datatype is only sourced from final data so if there are no values, only cube:Undefined remains.
I would need to check again at which stage that is done but technically the CSV Mapping already defines the datatype so it should be possible to apply that to a column without any values.
This issue is brought over from the Visualize Tool Github:
IXT did some investigation on their end and they came to the following conclusion:
Is there a possibility that completely empty columns in Cube Creator are handled differently than columns just having few empty values?
Would it be a solution to just simply mark the values in the empty row of "Upper LOD" as
cube:undefined
?The text was updated successfully, but these errors were encountered: