I have a chart which is populated yoy basis and has Q4 data being shown twice

Hi,

I have a chart which is powered using a beast mode with a variable as following:

(CASE WHEN (`Content Type ES Quarterly-2` = 'Project or Image') THEN AVG(`proj_image_insert_user_count`) WHEN (`Content Type ES Quarterly-2` = 'Project') THEN AVG(`customize_makeit_hva_user_count`) WHEN (`Content Type ES Quarterly-2` = 'Image') THEN AVG(`image_insert_hva_user_count`) END)

Here the periodic chart is displaying 2024-Q4 twice. However, when I hover on the blank bars(first 2024 Q4), it shows 2024-Q3 and 2023-Q4 as marked in red. I want to get rid of this additional 2024-Q4 section.

I tried creating a new chart but it doesnt help. The dashboard was working fine until now. I have already scanned for nulls or invalid data in the quarter.

Answers

  • @chetan_cricut Does Q4 have records in your dataset with more than one value for Content Type ES Quarterly-2?

    If so, I'd recommend wrapping a single AVG function around your entire case statement instead of around the individual conditions to avoid issues with granularity.

  • @MichelleH I have also tried using a direct measure column, however that didnt help either and encountered the same issue

  • @chetan_cricut Do you have any sort fields in your card? Does the card exhibit the same behavior if you remove it?

  • @MichelleH There arent any filters/fields present