> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# HR Analytics

> Performance analytics dashboard with review completion, rating distribution, goal achievement, and PIP metrics.

Performance Analytics is available at route `/hr/performance/analytics`. Access follows your organization's role and module configuration. ## Overview

The Performance Analytics dashboard presents a four-stat summary row (Active Cycles, Pending Reviews, Goal Completion percentage, Active PIPs) followed by four tabbed sections. The **Overview** tab shows a review completion trend chart, rating distribution chart, department comparison table, goal achievement widget, and PIP summary widget. The **Reviews** tab drills into rating distribution and department comparison. The **Goals** tab shows goal achievement, trend, and department breakdown. The **PIPs** tab shows PIP outcomes and trends by department. All data comes from `usePerformanceAnalytics`, `useReviewMetrics`, `useGoalMetrics`, and `usePIPMetrics` hooks. An error alert is shown if any data source fails.

## Who it's for

Access follows your organization's role and module configuration. ## Before you start

* Performance cycles and reviews must exist in the system for meaningful data to appear.

## Steps

<Steps>
  <Step title="Open Performance Analytics">Navigate to `/hr/performance/analytics`.</Step>
  <Step title="Review summary stats">Check the four KPI cards at the top for high-level status.</Step>
  <Step title="Explore tabs">Switch between Overview, Reviews, Goals, and PIPs tabs to drill into specific metrics.</Step>
</Steps>

## Key concepts

| Term                 | Meaning in code                                                  |
| -------------------- | ---------------------------------------------------------------- |
| `activeCycles`       | Count of performance cycles currently active in the organization |
| `pendingReviews`     | Count of reviews awaiting completion                             |
| `goalCompletionRate` | Percentage of goals in `completed` status                        |
| `activePIPs`         | Count of Performance Improvement Plans currently active          |
| `pipSuccessRate`     | Percentage of closed PIPs marked as successful                   |

## Related

<Columns cols={2}>
  <Card title="Human Resources" icon="users" href="/hr/overview">
    Human Resources core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index">
    Documentation coverage and governance.
  </Card>
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/hr.tsx
  * src/routes/hr/performance-routes.tsx
  * src/cores/hr/pages/performance/PerformanceAnalyticsDashboard.tsx
  * src/cores/hr/hooks/performance/index.ts
</Accordion>
