Forum Discussion

AdamPorter's avatar
AdamPorter
New Member
2 years ago
Solved

Preventing date based x-axis filter

I have a table containing a list of dates and a corresponding data set including instances of these date. I have arranged in a column chart. 

 

When I filter however the dates also filter, whereas I want to keep instances where there are zero matches. I have ticked 'Show items with zero data' but no luck. An example result below. What else should I be doing?

 

  • Hi,

    Modify your measure to

    Measure = coalesce([your measure],0)

    Hope this helps.

3 Replies

  • Hi,

    Modify your measure to

    Measure = coalesce([your measure],0)

    Hope this helps.

    • AdamPorter's avatar
      AdamPorter
      New Member

      I was using a column rather than a measure but managed to introduce a new measure using your suggested function to make it work. Thank you!