Copilot Analytics
Copilot Analytics Scripts
This page contains specialized scripts for analyzing Microsoft Copilot usage data from Viva Insights.
Beyond covering key analyses around Copilot usage volume and breadth (range of actions and applications), these scripts also include a method for measuring Copilot habituality based on behavioral research. This approach determines whether a user can be considered a habitual Copilot user, enabling visualization through user segmentation that identifies Power Users and Habitual Users within an organization. This segmentation provides a framework for continuously tracking Copilot adoption success and measuring the effectiveness of your deployment strategy.
See our DAX Calculated Columns page for detailed instructions on how to identify Copilot Usage Segments using Power BI templates and pre-built DAX formulas.
For more information on the Copilot Usage Segments, see this introduction.
For more inspiration on analyzing Copilot adoption and impact, have a look at our advanced examples playbook.
Advanced Analysis Scripts
Copilot Advanced Analysis (R)
📄 copilot-analytics-examples.R
- Purpose: Comprehensive analysis of Copilot usage patterns and trends
- Language: R
- Prerequisites: vivainsights R package, Copilot usage data
- Key Analysis: Usage segmentation, trend analysis, adoption metrics
- 📥 Download
Copilot Advanced Analysis (Python)
📄 copilot-analytics-examples.py
- Purpose: Comprehensive analysis of Copilot usage patterns and trends
- Language: Python
- Prerequisites: vivainsights Python package, Copilot usage data
- Key Analysis: Usage segmentation, trend analysis, adoption metrics
- 📥 Download
Copilot Analytics (Jupyter Notebook)
📓 copilot-analytics-examples.ipynb
- Purpose: Interactive analysis of Copilot usage with visualizations
- Language: Python
- Format: Jupyter Notebook
- Prerequisites: vivainsights Python package, Copilot usage data
- Key Features: Step-by-step analysis, interactive visualizations
- 📥 Download
Power BI Integration
DAX Calculated Columns
- Purpose: Pre-built DAX formulas for Copilot usage segmentation in Power BI
- Language: DAX
- Format: Individual .dax files
- Prerequisites: Power BI Desktop, Copilot usage data
Available Columns:
12-Week Rolling (RL12W) - Recommended for long-term analysis
- 📄 _Total Copilot actions_RL12W.dax: Average weekly actions over 12 weeks
- 📄 _IsHabit_RL12W.dax: Habit formation indicator (9+ weeks of usage)
- 📄 _CopilotUsageSegment_RL12W.dax: User segmentation (Power/Habitual/Novice/Low/Non-users)
4-Week Rolling (RL4W) - Recommended for short-term/pilot analysis
- 📄 _Total Copilot actions_RL4W.dax: Average weekly actions over 4 weeks
- 📄 _IsHabit_RL4W.dax: Habit formation indicator (4 weeks of usage)
- 📄 _CopilotUsageSegment_RL4W.dax: User segmentation (Power/Habitual/Novice/Low/Non-users)
Usage Segmentation
User Segments Defined
Power Users: 15+ average weekly Copilot actions + habitual usage Habitual Users: Consistent usage patterns (9+ weeks in RL12W, all weeks in RL4W) Novice Users: 1+ average weekly Copilot actions Low Users: Some Copilot usage but below novice threshold Non-users: No Copilot usage in the measurement period
Sample Data
Example Datasets
- 📄 copilot-metrics-taxonomy.csv: Copilot metrics reference
- 📄 viva-insights-org-data-sample.xlsx: Sample organizational data
Getting Started
- Export Copilot Usage Data from Viva Insights
- Choose Your Analysis Method:
- R/Python scripts for detailed analysis
- DAX columns for Power BI dashboards
- Select Time Frame:
- RL12W for long-term habit analysis
- RL4W for pilot programs or short-term analysis
- Run Analysis using the appropriate script
Need Help?
- Copilot Analytics Documentation: Viva Insights Copilot Guide
- Power BI Integration: DAX Documentation
- Sample Data: Example datasets