Datapoints appear multiple times in tooltip
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:
- Go to https://int.visualize.admin.ch/v/8tPnXuqamN_r?dataSource=Int
- Hover over chart and see multiple entries.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots or video
Environment (please complete the following information):
- Visualize environment and version: v5.7.7 (b1f2b9a)
Additional context Add any other context about the problem here.
@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 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.