Skip to content

Issue 2065: updated home chart to filter 0 energy use and 0 predictor usage#2104

Merged
rmroot merged 1 commit intodevelopfrom
issue-2065
Oct 15, 2025
Merged

Issue 2065: updated home chart to filter 0 energy use and 0 predictor usage#2104
rmroot merged 1 commit intodevelopfrom
issue-2065

Conversation

@rmroot
Copy link
Copy Markdown
Member

@rmroot rmroot commented Oct 15, 2025

connects #2065

This pull request refines the filtering logic for analysis summary data in both the account and facility home components. The changes ensure that only valid summaries with meaningful energy and predictor usage values are included in the results, improving the accuracy and relevance of the displayed data.

Filtering improvements for summary data:

  • In account-home.component.ts, monthly energy and water analysis summaries now exclude entries where energyUse is zero, in addition to checking for valid adjusted values. [1] [2]

  • In facility-home.component.ts, monthly energy and water analysis summaries are further filtered to exclude entries where either energyUse or the total predictorUsage is zero, alongside the existing adjusted value check. This is achieved by summing up all predictor usages and ensuring the total is not zero. [1] [2]

@rmroot rmroot merged commit e5ed31b into develop Oct 15, 2025
3 checks passed
@rmroot rmroot deleted the issue-2065 branch November 5, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant