Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Stop a "Zero" value displaying as (blank)

Hello I have a stacked column chart that is displaying a blank column and I cannot figure out why. Here is the chart, Filters and Visualisations panes:       Along the x-axis are the ...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Pete,

    I agree that it’s a relationship mismatch. There is another relationship between the dimension and fact table and that was causing the problem. The calculation on [Comorbities_Present] can only be a round number because it only counts the individual values in a column containing semi-colon separated values e.g. ‘2;5;6’. I have made a new dimension table specifically for translating numbers to text. Now ‘Zero’ is shown:

     

    And so that I don’t need to keep repeating HEX codes, I will make a dimension table for that and link it to the category_scales and the new table.

     

    Thanks for your help. I’m working alone here, so it’s been nice to bounce ideas off another person, rather than just speaking into the ether 😊