CPOM Module 17, Section 2: KPI Dashboard Development and Visualization Tools
MODULE 17: DATA ANALYTICS, INFORMATICS & DECISION SUPPORT

Section 2: KPI Dashboard Development and Visualization Tools

From Raw Data to Actionable Insight: Telling Your Pharmacy’s Story with Visuals.

SECTION 17.2

KPI Dashboard Development and Visualization Tools

A practical guide to identifying the Key Performance Indicators (KPIs) that truly matter and building intuitive dashboards that tell a clear story.

17.2.1 The “Why”: A Picture is Worth a Thousand Spreadsheets

In the previous section, we established that data is the language of modern hospital administration. However, fluency in a language means more than just knowing the words; it means being able to tell a compelling story. A raw data export from your pharmacy information system is like a dictionary—it contains all the words, but it tells no story. A well-designed dashboard is like a well-crafted novel; it arranges those words to create a narrative, evoke emotion, and drive the reader to action.

Hospital executives, nursing leaders, and even your own staff are inundated with information. They do not have the time or the inclination to sift through pages of raw numbers to find the insight. Your job as a leader is to do that work for them. A Key Performance Indicator (KPI) dashboard is your primary tool for this translation. It is a visual display of the most important information needed to achieve one or more objectives, consolidated and arranged on a single screen so the information can be monitored at a glance.

This section will demystify the process of creating these powerful tools. We will move from the theoretical importance of data to the practical, hands-on skills of selecting meaningful KPIs, choosing the right visualization tools for your needs, and applying principles of design to ensure your message is not just seen, but understood and acted upon. You will learn that a dashboard is far more than a report; it is a dynamic, constantly updated view of your department’s vital signs. It is the instrument panel of your pharmacy, allowing you to see a problem developing in real-time and intervene before it becomes a crisis. Mastering this skill is the final step in transitioning from a clinical expert to a data-driven operational leader.

Retail Pharmacist Analogy: The Drive-Thru Dashboard

Imagine you are the manager of a busy retail pharmacy with a two-lane drive-thru. Your corporate office has set a strategic goal: 90% of all drive-thru transactions must be completed in under 3 minutes. How do you manage this?

You could print out a report at the end of each day showing the exact transaction time for every one of the 500 cars that came through. This is your raw data. It is accurate, but in the middle of a rush, it is completely useless for real-time management. No one can read a 500-line spreadsheet while simultaneously counting pills and counseling a patient.

Now, think about the digital timer system installed at most drive-thrus. This is your dashboard. It doesn’t show you every piece of data; it shows you only the Key Performance Indicators (KPIs):

  • KPI 1 (Lagging Indicator): Percentage of cars served in under 3 minutes so far today. (e.g., 88%)
  • KPI 2 (Real-Time Metric): Current time for the car at the window. (e.g., 2:45)
  • KPI 3 (Volume Metric): Cars per hour. (e.g., 45)

This dashboard uses simple, intuitive visuals. When the timer is under 2 minutes, it’s green. From 2:00 to 2:59, it turns yellow. At 3:00, it turns bright red. This is data visualization in its purest form. As the manager, you can glance at this dashboard and know the health of your operation in a fraction of a second. If you see the percentage dipping to 85% and a sea of red times, you don’t need to read a report. You know you need to act now. You might jump in to help with processing, or move a technician from the drop-off counter to assist in the drive-thru.

A pharmacy operations dashboard serves the exact same purpose. It takes overwhelming raw data (thousands of dispense times, inventory transactions, and clinical interventions) and transforms it into a simple, visual signal—green, yellow, red—that tells you and your leadership team where performance is strong and where immediate attention is required. You already know how to interpret a real-time performance indicator; this section will teach you how to build one for every facet of your hospital pharmacy.

17.2.2 The Anatomy of a Powerful Metric: What Makes a KPI “Key”?

Before you can build a dashboard, you must decide what to put on it. This is the most critical step, and it is where strategy meets data. Many new managers make the mistake of measuring everything they can, resulting in a cluttered, confusing dashboard that obscures the important information. The goal is not to create a “data dump,” but a curated, focused view of what truly matters. This requires a deep understanding of the difference between a simple metric and a true Key Performance Indicator (KPI).

A metric is any piece of quantifiable data. “We dispensed 1,500 IV doses today” is a metric. It’s a fact, but it lacks context. Is that good or bad? Is it more or less than yesterday? A KPI, on the other hand, is a metric that is directly tied to a strategic business objective. It measures your progress toward a specific goal. “Our IV-room technician productivity was 35 doses per hour, which is 15% above our target of 30 doses per hour” is a KPI.

The SMART Framework for World-Class KPIs

The most effective way to ensure your KPIs are meaningful and actionable is to filter them through the SMART framework. This simple mnemonic is a powerful tool for cutting through the noise and focusing on what matters.

Letter Stands For Core Question Poor Example SMART KPI Example
S Specific Is the objective clear and unambiguous? Does everyone know exactly what is being measured? “Improve financial performance.” “Reduce the total spend on formulary brand-name drugs with a generic equivalent by 10% in the next fiscal year.”
M Measurable Can you quantify the progress and the result? Do you have a reliable way to get the data? “Decrease medication errors.” “Reduce the number of wrong-dose errors reported via our safety event system by 25% over the next 6 months.”
A Achievable Is the target realistic given your resources, constraints, and timeline? “Eliminate all ADC stockouts immediately.” “Reduce the rate of critical medication stockouts in Emergency Department ADCs from 3% to less than 1% within 90 days.”
R Relevant Does this KPI directly contribute to a larger departmental or organizational goal? Does it matter? “Increase the number of labels printed per day.” “Decrease the average STAT medication turnaround time from order verification to ADC delivery from 25 minutes to under 15 minutes.” (Relevant to patient safety and nursing satisfaction).
T Time-bound Is there a specific deadline or timeframe for achieving the goal? “Improve the 340B capture rate.” “Increase the overall 340B drug purchasing program capture rate from 75% to 85% by the end of the third quarter.”
Leading vs. Lagging Indicators: Seeing the Future vs. Reporting the Past

Another critical distinction for a manager is between leading and lagging indicators. A balanced dashboard must contain both to be effective.

  • A Lagging Indicator is an “output” metric. It measures past performance and tells you if you have achieved your goal. They are easy to measure but hard to influence directly because the events that generated them have already happened.
    • Examples: Total drug spend last month, number of medication errors last quarter, employee turnover rate last year.
  • A Leading Indicator is an “input” or “process” metric. It measures the activities that are likely to drive future results. They are often harder to measure but are highly influenceable and predictive of future success.
    • Examples: Percentage of new technicians who completed their training on time this week, number of pharmacist interventions on high-cost drugs performed today, 340B capture rate for this billing cycle.
Management Masterclass: Focus on Leading Indicators

You cannot change last month’s drug spend (a lagging indicator). But you can influence this month’s drug spend by managing the leading indicators. By tracking the number of therapeutic interchange interventions your pharmacists are making, or by monitoring the compliance rate with a new high-cost drug use protocol, you are actively managing the inputs that will determine the final output. An effective manager spends 80% of their time focused on improving leading indicators, knowing that if they do, the lagging indicators will take care of themselves.

17.2.3 Masterclass Table: The Four Pillars of Pharmacy KPIs

To build a comprehensive yet focused dashboard, it helps to categorize your KPIs into logical domains that reflect the core responsibilities of a pharmacy department. We will call these the “Four Pillars.” A truly world-class pharmacy operation excels in all four areas, and your dashboard should reflect this balanced approach. For each KPI, we will define it, explain its importance, provide the formula, and identify the data you will need to capture it.

Pillar 1: Financial Performance

This pillar answers the question: “Are we being responsible stewards of the hospital’s financial resources?” These are often the KPIs most scrutinized by the C-suite.

Key Performance Indicator The Story It Tells & Why It Matters Formula & Data Sources
Drug Spend per Adjusted Patient Day (APD) This is the single most important high-level financial metric. It normalizes your total drug spend by the hospital’s patient volume and case mix, allowing for fair comparisons over time and to other hospitals. A rising trend indicates your costs are growing faster than patient volume. Formula: $$\frac{\text{Total Drug Purchases}}{\text{Adjusted Patient Days}}$$
Data Sources: Wholesale purchasing data (Numerator); Hospital finance/admissions data (Denominator).
Inventory Turns Measures how many times your entire inventory is sold and replaced over a period (usually a year). A low number (e.g., <8) means you have too much cash tied up in inventory that is sitting on the shelves. A very high number (e.g., >16) might mean you are running too lean and are at risk of stockouts. Formula: $$\frac{\text{Cost of Goods Sold (Annualized)}}{\text{Average Inventory Value}}$$
Data Sources: Purchasing data (Numerator); Physical inventory or perpetual inventory system data (Denominator).
340B Program Savings as % of Total Spend Measures the effectiveness of your 340B drug pricing program. It shows how much money the program is saving the institution relative to your total drug costs. This KPI directly demonstrates the value of your 340B team and compliance efforts. Formula: $$\frac{(\text{WAC Spend} – \text{340B Spend}) \text{ for eligible drugs}}{\text{Total Drug Spend}}$$
Data Sources: Purchasing data (split by WAC and 340B accounts).
Medication Revenue Capture Rate Measures how effectively you are billing and collecting for medications that are separately reimbursable (especially high-cost infusions or “white-bagged” drugs). A rate below 95% suggests major issues in your revenue cycle process. Formula: $$\frac{\text{Actual Revenue Collected}}{\text{Expected Revenue Billed}}$$
Data Sources: Billing/revenue cycle data from the finance department. Requires close collaboration.

Pillar 2: Clinical Quality & Safety

This pillar answers the question: “Are our patients safe and receiving the best possible evidence-based medication therapy?” These KPIs demonstrate your department’s direct impact on patient care.

Key Performance Indicator The Story It Tells & Why It Matters Formula & Data Sources
Preventable Adverse Drug Events (ADEs) per 1,000 Patient Days This is a crucial patient safety metric. It tracks the rate of harm caused by medications that was potentially preventable. A high or rising rate is a major red flag that requires immediate investigation (e.g., through a root cause analysis). Formula: $$\frac{\text{Number of Preventable ADEs}}{\text{Total Patient Days}} \times 1000$$
Data Sources: Voluntary safety event reporting system, trigger tool data (e.g., naloxone administrations), pharmacist intervention data.
Adherence Rate to Core Measure Protocols (e.g., SCIP) Measures how consistently your pharmacy processes support national quality standards, such as the Surgical Care Improvement Project (SCIP) measures (e.g., correct antibiotic selection, timely administration before incision). High adherence is linked to better patient outcomes and hospital reimbursement. Formula: $$\frac{\text{Number of Compliant Cases}}{\text{Total Applicable Cases}}$$
Data Sources: Manual chart review or reports from the hospital’s quality department.
Cost Savings per Pharmacist Intervention Demonstrates the financial value of your clinical pharmacists. By documenting interventions (e.g., recommending a less expensive alternative, discontinuing unnecessary therapy, preventing an ADE), you can quantify the return on investment (ROI) of your clinical staff. Formula: $$\frac{\text{Total Documented Cost Savings/Avoidance}}{\text{Number of Clinical Pharmacist FTEs}}$$
Data Sources: Pharmacist intervention documentation software/system.
Days of Therapy (DOT) per 1,000 Patient Days for Broad-Spectrum Antibiotics A key metric for Antimicrobial Stewardship Programs (ASP). It measures the volume of use for targeted antibiotics. A downward trend demonstrates the effectiveness of your stewardship efforts in combating antibiotic resistance and reducing costs. Formula: $$\frac{\text{Sum of Days of Therapy for Target Agents}}{\text{Total Patient Days}} \times 1000$$
Data Sources: Medication administration data from the EHR/MAR.

Pillar 3: Operational Efficiency

This pillar answers the question: “Are we providing timely and accurate service to our patients and clinical partners (especially nursing)?” These KPIs measure the core workflow of your department.

Key Performance Indicator The Story It Tells & Why It Matters Formula & Data Sources
Medication Turnaround Time (TAT) – STAT/First Dose Measures the time from when a medication is ordered to when it is administered. This is a critical measure of pharmacy service and a major source of nursing satisfaction or dissatisfaction. It should be broken down into sub-metrics: Order-to-Verify, Verify-to-Dispense, Dispense-to-Administer. Formula: $$\text{Administration Timestamp} – \text{Order Timestamp}$$
Data Sources: Timestamps from the CPOE, PIS, and MAR systems. The gold standard for operational data.
Automated Dispensing Cabinet (ADC) Stockout Rate Measures the percentage of time a nurse attempts to pull a medication from an ADC and it is not available. High rates lead to dangerous delays in care, nursing frustration, and inefficient workflows (e.g., phone calls to pharmacy, waiting for deliveries). Formula: $$\frac{\text{Number of Stockout Events}}{\text{Total ADC Dispense Attempts}}$$
Data Sources: Reporting from your ADC vendor software (e.g., Pyxis, Omnicell).
IV Room Batch Accuracy Measures the quality of your sterile compounding process. It is the percentage of prepared CSPs (Compounded Sterile Preparations) that pass final check by a pharmacist without needing to be remade due to an error. A low accuracy rate indicates workflow or training issues. Formula: $$\frac{(\text{Total Batches Prepared} – \text{Batches Remade})}{\text{Total Batches Prepared}}$$
Data Sources: IV workflow management software or manual logs.
Technician Productivity (e.g., Doses Picked per Hour) Measures the output of your technical staff. This KPI is essential for resource planning, staffing optimization, and identifying high-performing individuals or those who may need additional training. Formula: $$\frac{\text{Total Doses Picked/Filled}}{\text{Total Technician Hours Worked}}$$
Data Sources: PIS dispensing logs, ADC replenishment logs, scheduling software.

Pillar 4: Regulatory & Compliance

This pillar answers the question: “Are we adhering to all state, federal, and accreditation standards to ensure patient safety and avoid legal penalties?” These KPIs are often tracked to prepare for audits from bodies like The Joint Commission or the DEA.

Key Performance Indicator The Story It Tells & Why It Matters Formula & Data Sources
Controlled Substance Discrepancy Rate Measures the number of unresolved discrepancies in controlled substance counts (primarily in ADCs) as a percentage of total dispenses. A high rate is a major red flag for potential drug diversion and will attract intense scrutiny from the DEA and Board of Pharmacy. Formula: $$\frac{\text{Number of Unresolved Discrepancies}}{\text{Total Controlled Substance Dispenses}}$$
Data Sources: ADC vendor software reports, controlled substance vault logs.
Percentage of Expired Medications in Inventory Measures the effectiveness of your inventory management and monthly inspection processes. Expired medications pose a direct patient safety risk and are a common finding during Joint Commission surveys. The goal should be as close to zero as possible. Formula: $$\frac{\text{Value of Expired Medications Pulled from Stock}}{\text{Average Inventory Value}}$$
Data Sources: Manual logs from monthly inspections, reverse distributor data.
Pharmacist License/Certification Compliance Rate A simple but critical HR-related KPI. It tracks the percentage of your professional staff whose state licenses and required certifications are active and in good standing. A 100% compliance rate is the only acceptable target. Formula: $$\frac{\text{Number of Staff with Valid Credentials}}{\text{Total Number of Staff Requiring Credentials}}$$
Data Sources: HR records, manual tracking spreadsheet.

17.2.4 The Tools of the Trade: From Desktop Staple to BI Powerhouse

Once you have defined your KPIs, you need the right tools to bring them to life. The world of data visualization ranges from the spreadsheet software already on your computer to sophisticated Business Intelligence (BI) platforms that can cost thousands of dollars. The key is to choose the tool that fits your current needs, skills, and resources. You do not need a sledgehammer to hang a picture frame.

The Universal Language: Microsoft Excel

Role: Excel is the undisputed workhorse of data analysis in almost every industry, and healthcare is no exception. It is the perfect starting point for any new manager. Before you can build a complex, interactive dashboard in a BI tool, you must first be able to manipulate and analyze your data in a spreadsheet.
Strengths:

  • Ubiquity: Virtually every computer in the hospital has it. There is no special software to request.
  • Low Barrier to Entry: Most professionals have a basic familiarity with Excel.
  • Power in Simplicity: For datasets under a few hundred thousand rows, Excel’s features like sorting, filtering, PivotTables, and basic charting are incredibly powerful for initial exploration and analysis.
Weaknesses:
  • Scalability: Excel struggles with very large datasets (“big data”). It can become slow and unstable with millions of rows of data.
  • Manual Processes: Data must be manually exported from source systems and imported into Excel. Dashboards must be manually refreshed, which is time-consuming and prone to error.
  • Static Visualizations: While you can create charts, they are not truly interactive. You cannot easily click on a data point to filter the rest of the dashboard.

The Professional Storytellers: Tableau & Power BI

Role: Tableau and Microsoft’s Power BI are modern Business Intelligence (BI) platforms designed specifically for creating beautiful, interactive, and automated dashboards. They are the professional-grade tools for telling stories with data.
Strengths:

  • Live Data Connections: They can connect directly to dozens of different data sources (EHR databases, ADC servers, financial systems) and refresh the data automatically on a set schedule.
  • Scalability: They are built to handle millions or even billions of rows of data with high performance.
  • Interactivity: This is their killer feature. Users can click on any element of a dashboard (e.g., a specific drug on a bar chart) and the entire rest of the dashboard will instantly filter to show data related only to that selection. This allows for deep, exploratory analysis.
  • Secure Sharing: Dashboards can be published to a secure web server, allowing you to share them with leadership or your team with controlled access.
Weaknesses:
  • Cost: They require user licenses that can be expensive.
  • Learning Curve: While user-friendly, they are more complex than Excel and require dedicated time to learn.
  • IT Dependence: Setting up the initial data source connections often requires collaboration with the hospital’s IT department.

Start with Excel, Graduate to BI

As a new manager, your path should be clear: start with Excel. Use it to prove the value of your analysis. When you can take a raw data export and transform it into a simple but powerful chart that identifies a real problem or opportunity, you have earned the right to ask for a better tool. Many of the most successful BI dashboards started as simple Excel prototypes. Master the fundamentals of data manipulation and KPI definition in Excel, and the transition to a more powerful platform like Tableau or Power BI will be a natural and justifiable next step.

17.2.5 Principles of Effective Data Visualization: Communicating with Clarity

Creating a chart is easy. Creating a chart that communicates a clear, unambiguous message is an art. The goal of data visualization is not to make pretty pictures; it is to provide insight. A poorly designed chart can be worse than no chart at all, as it can actively mislead the viewer. By following a few simple principles, you can ensure your dashboards are not just visually appealing, but also intellectually honest and effective.

Choosing the Right Chart for the Job

The type of chart you use depends entirely on the story you are trying to tell. Are you comparing values, showing a trend over time, or breaking down the components of a whole? Choosing the right chart type is the first and most important step.

Chart Type Use It When You Want To… Pharmacy Example
Bar Chart Compare values across different categories. This is one of the most common and easily understood chart types. Comparing the total drug spend for different therapeutic classes (e.g., Oncology, Cardiology, Infectious Disease).
Line Chart Show a trend of a continuous data series over time. Nothing is better for visualizing change. Tracking the mean STAT medication turnaround time month-over-month for the past year.
Pie / Donut Chart Show parts of a whole. Use it to display the composition or percentage breakdown of a single category. Showing the percentage breakdown of pharmacist interventions by type (e.g., 40% Dose Adjustment, 30% Therapeutic Interchange, etc.).
Use with Caution!

Pie charts are easily misused. They become difficult to read with more than 5-6 slices. If comparing the sizes of the slices is important, a bar chart is almost always better.

Scatter Plot Investigate the relationship between two different numerical variables to see if they are correlated. Plotting patient weight against their required heparin drip rate to see if there is a strong positive correlation.
Histogram Understand the distribution of a single numerical variable to see its frequency and shape (e.g., normal distribution, skewed). Analyzing the distribution of IV batch preparation times to identify outliers and understand the average time and variability.
Heat Map Visualize magnitude/intensity across two categorical variables, using color to represent the value. Displaying ADC stockout events, with the cabinets on the Y-axis, the hour of the day on the X-axis, and the color intensity representing the number of stockouts. This would quickly reveal, for example, that the ED cabinet consistently stocks out of lorazepam between 8 PM and 10 PM.
Bullet Chart / Gauge Track performance of a single KPI against its target. It is a compact and powerful way to show progress. Showing this month’s 340B capture rate (the bar) against the quarterly target (the line), with color-coded bands for poor, satisfactory, and good performance.
Dashboard Design: The Dos and Don’ts
The DOs of Dashboard Design
  • Know Your Audience: Design for the viewer. A C-suite dashboard needs high-level financial KPIs. A technician supervisor’s dashboard needs granular productivity metrics.
  • Keep It Simple (KISS): Place the most important information in the top-left corner. Use white space effectively to avoid a cluttered look. A good dashboard should be understandable in 5 seconds.
  • Use Color with Intent: Don’t use color for decoration. Use it to communicate information. The red/yellow/green stoplight metaphor is universally understood for performance against a target.
  • Provide Context: A number by itself is meaningless. Always compare your KPIs to something—a target, a prior period, a benchmark—to provide context and meaning.
  • Use Clear Titles and Labels: Never make the viewer guess what they are looking at. Every chart should have a clear title, and all axes should be clearly labeled with units.
The DON’Ts of Dashboard Design
  • Don’t Use a Pie Chart for Trends: Pie charts show a single point in time. Never use multiple pie charts to try and show how a composition has changed over time. A stacked bar chart or line chart is far better.
  • Don’t Use 3D Effects: 3D charts add “chart junk” that distorts the visual perception of the data and makes it harder to read accurately. Always use 2D charts.
  • Don’t Use Inconsistent Colors: If “Oncology” is blue in one chart, it should be blue in every chart on the dashboard. Maintain a consistent color palette.
  • Don’t Forget the Axis at Zero: For bar charts, the Y-axis must always start at zero. Starting it at a higher value is a common way to visually exaggerate differences and mislead the viewer.
  • Don’t Overwhelm the User: A dashboard is not a data report. Limit your dashboard to 5-7 key visualizations. If you need more, consider creating a separate, more detailed dashboard for a specific purpose.