visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Datapoints appear multiple times in tooltip

Open sosiology opened this issue 7 months ago • 2 comments

Describe the bug For some BLW charts, the data is duplicated in the tool tips

Also see documentation here: https://www.notion.so/interactivethings/BLW-Testing-1f230da5430280d1b18bfa1e82e867a6?pvs=4 everything is fine there.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://int.visualize.admin.ch/v/8tPnXuqamN_r?dataSource=Int
  2. Hover over chart and see multiple entries.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots or video

Image

Image

Environment (please complete the following information):

Additional context Add any other context about the problem here.

sosiology avatar May 16 '25 08:05 sosiology

@bprusinowski i was able to resolve this by adding another filter for the Cost Component. It seems there were values with VAT and without, causing what appeared to be duplicates. See: https://int.visualize.admin.ch/v/3Aq-tGVTWTui?dataSource=Int

sosiology avatar Jun 05 '25 11:06 sosiology

@sosiology thanks for investigating further and finding a way to fix the error – but this is not supposed to happen, if the Cost Component filter has to be applied to fix this, it means that the data schema is wrong, and this should be a key, not an optional dimension. I will re-open the ticket so we don't forget about this, I think we already let BLW know about the issue from another ticket that would also solve this problem.

bprusinowski avatar Jun 10 '25 08:06 bprusinowski