Custom Analytics Dashboard
Key Performance Indicators
Analytics Insights
No insights generated yet. Please configure your data.
Data Configuration
Define your custom metrics, targets, and actuals. Click 'Add Metric' to add more rows.
Custom Analytics Dashboard Report
Key Performance Indicators
Analytics Insights
No insights generated. Please configure your data.
'; } else { let overallProgress = 0; let metricsBelowTarget = []; let metricsAboveTarget = []; customMetrics.forEach(metric => { const progress = calculateProgress(metric.actual, metric.target); overallProgress += progress; if (progress < 100 && metric.actual < metric.target) { metricsBelowTarget.push({ name: metric.name, progress: progress.toFixed(2) }); } else if (progress >= 100 && metric.actual >= metric.target) { metricsAboveTarget.push({ name: metric.name, progress: progress.toFixed(2) }); } }); const avgProgress = customMetrics.length > 0 ? (overallProgress / customMetrics.length).toFixed(2) : 0; insightsForPdf += `Overall Performance: The average progress across all defined metrics is ${avgProgress}%.
`; if (metricsAboveTarget.length > 0) { insightsForPdf += `Strengths: Excellent performance observed in: ${metricsAboveTarget.map(m => `${m.name} (${m.progress}%)`).join(', ')}. Continue to leverage these areas.
`; } if (metricsBelowTarget.length > 0) { insightsForPdf += `Areas for Improvement: Metrics currently below target include: ${metricsBelowTarget.map(m => `${m.name} (${m.progress}%)`).join(', ')}. Focus efforts on these to bridge the gap.
`; } insightsForPdf += `