Skip to content

Some anomaly test are hidden in the generated report #1772

@scauglog

Description

@scauglog

Describe the bug
When there is more than one anomaly test for a column only the last test is displayed on the dashboard

To Reproduce
Steps to reproduce the behavior:

  1. create at least two anomaly test for the same column
  2. generate the elementary html report
  3. Go to elementary dashboard report
  4. The count of anomalies will only display one anomaly test (in the screenshot I created 5 anomalies test 4 column anomalies and 1 dimension anomalies cf last screenshot) Capture d’écran 2025-01-08 à 10 15 04
  5. Click on the anomalies test count on the dashboard page
  6. It will only display the last anomalies test for that column Capture d’écran 2025-01-08 à 10 19 56
  7. Click on your model in the left menu
  8. You will see all anomalies test Capture d’écran 2025-01-08 à 10 19 29

Expected behavior

In the dashboard page I expect to see the number of anomaly test run and not the number of column tested. When I click on that number I expect to see all anomaly test run and not the just the last one run for each column

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Elementary CLI (edr) version: 0.16.1 OSS version
  • Elementary dbt package version: 0.16.1
  • dbt version you're using: 1.9.1
  • Data warehouse: bigquery
  • Infrastructure details: dbt-core docker image ghcr.io/dbt-labs/dbt-core:1.9.1

Additional context
Add any other context about the problem here.

Would you be willing to contribute a fix for this issue?

I can contribute but web development is not my strongest skill

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions