Introduction
Why Raw Data Fails to Drive Revenue: The Importance of Data Transformation
The importance of investing in reliable data foundations is also reflected in recent industry research. According to Gartner research published in April 2026, organizations reporting successful AI initiatives allocate up to four times as much of their revenue to foundational areas such as data quality, governance, and organizational readiness compared with those experiencing poor AI outcomes.
- “Our business is not ready.” Even your first year of records can reveal trends and set performance benchmarks.
- “It requires a large investment.” Start with a few critical KPIs and cost-effective tools, then scale as returns grow.
- “Our data is scattered across systems.” Integration and automated pipelines can consolidate databases, applications, and spreadsheets.
What a Sample of Raw Data Looks Like in Real-Life Data Analysis
- Revenue and profitability: What does each pharmacy actually earn?
- Insurance reimbursements: What is expected, received, and still outstanding by payer?
- Medication performance: Which medications are dispensed most, and which drive profit?
- Patient acquisition: Which marketing channels, referrals, and prescription transfers bring new patients?
- Inventory and procurement: Is stock purchased according to actual demand?
- Operational capacity: Does pharmacist availability match dispensing workload?
- Location performance: How does each pharmacy compare to its goals?
Most of this information already exists within operational and financial applications. The difficulty is that individual systems capture different parts of the same business transaction.
| Data Source | Reference ID | Information Recorded |
|---|---|---|
| DigitalRx | RX-1001 | Prescription successfully dispensed |
| Pharmacy POS | TX-2001 | Patient copayment of $20 |
| Insurance Claims Records | CL-3001 | Insurance reimbursement received: $80 |
| Procurement Records | MED-4001 | Acquisition cost of the dispensed medication quantity: $65 |
| QuickBooks | JE-5001 | Accounting entry recording the same $20 patient payment |
Data Source
DigitalRx
Reference ID
RX-1001
Information Recorded
Prescription successfully dispensed
Data Source
Pharmacy POS
Reference ID
TX-2001
Information Recorded
Patient copayment of $20
Data Source
Insurance Claims Records
Reference ID
CL-3001
Information Recorded
Insurance reimbursement received: $80
Data Source
Procurement Records
Reference ID
MED-4001
Information Recorded
Acquisition cost of the dispensed medication quantity: $65
Data Source
QuickBooks
Reference ID
JE-5001
Information Recorded
Accounting entry recording the same $20 patient payment
The reference IDs and financial figures are illustrative.
The Data Analysis Process: 10 Steps Across 4 Phases
Phase 1: Understand the Business and Collect the Right Data
Step 1: Business Understanding
Step 2: Data Gathering
| Data Source | Information Gathered |
|---|---|
| DigitalRx (Pharmacy Management System) | Prescription numbers and dates, medication details, National Drug Codes (NDCs), dispensing quantities, refill records, patient identifiers, prescribing providers, and prescription statuses |
| DigitalRx Integrated POS and Payment Records | Prescription copayments, cash payments, retail transactions, payment methods, refunds, payment statuses, and settlement records |
| QuickBooks (Accounting) | Invoices, expenses, financial records, supplier payments, account balances, and payment summaries |
| McKesson Connect (Pharmaceutical Procurement) | Medication purchase orders, product information, purchase quantities, acquisition costs, and order history |
| Insurance Claims and Reconciliation Records | Claim identifiers, payer details, expected reimbursements, received payments, patient responsibility, claim statuses, rejections, reversals, and adjustments |
| Pharmacy Inventory Records | Stock quantities, medication receipts, dispensing quantities, returns, inventory adjustments, and expiry dates |
| Salesforce (CRM) | Customer inquiries, lead creation dates, lead sources, referral information, and follow-up activities, where authorized |
| Google Ads and Meta Ads | Campaign details, advertising spend, impressions, clicks, inquiries, and aggregate campaign performance |
| Excel and Google Sheets | Business targets, budgets, staffing schedules, inventory trackers, and supporting operational information |
| Existing Reporting Portal | Financial reports, prescription summaries, reimbursement figures, and operational metrics used as references for validation |
Data Source
DigitalRx (Pharmacy Management System)
Information Gathered
Prescription numbers and dates, medication details, National Drug Codes (NDCs), dispensing quantities, refill records, patient identifiers, prescribing providers, and prescription statuses
Data Source
DigitalRx Integrated POS and Payment Records
Information Gathered
Prescription copayments, cash payments, retail transactions, payment methods, refunds, payment statuses, and settlement records
Data Source
QuickBooks (Accounting)
Information Gathered
Invoices, expenses, financial records, supplier payments, account balances, and payment summaries
Data Source
McKesson Connect (Pharmaceutical Procurement)
Information Gathered
Medication purchase orders, product information, purchase quantities, acquisition costs, and order history
Data Source
Insurance Claims and Reconciliation Records
Information Gathered
Claim identifiers, payer details, expected reimbursements, received payments, patient responsibility, claim statuses, rejections, reversals, and adjustments
Data Source
Pharmacy Inventory Records
Information Gathered
Stock quantities, medication receipts, dispensing quantities, returns, inventory adjustments, and expiry dates
Data Source
Salesforce (CRM)
Information Gathered
Customer inquiries, lead creation dates, lead sources, referral information, and follow-up activities, where authorized
Data Source
Google Ads and Meta Ads
Information Gathered
Campaign details, advertising spend, impressions, clicks, inquiries, and aggregate campaign performance
Data Source
Excel and Google Sheets
Information Gathered
Business targets, budgets, staffing schedules, inventory trackers, and supporting operational information
Data Source
Existing Reporting Portal
Information Gathered
Financial reports, prescription summaries, reimbursement figures, and operational metrics used as references for validation
Step 3: Data Profiling and Assessment
Phase 2: Clean, Connect, and Model the Data
Step 4: Data Ingestion and Pipelines
Step 5: Data Cleaning and Standardization
Step 6: Data Integration and Modeling
Phase 3: Define KPIs and Validate Every Calculation
Step 7: KPI Definition and Analysis
| KPI | Practical Challenge | How It Is Resolved |
|---|---|---|
| Actual Revenue and Profitability | Patient payments and insurance reimbursements may appear across multiple systems. Refunds, discounts, claim adjustments, and medication costs complicate financial calculations. | Reconcile financial records, distinguish recognized revenue from actual receipts, prevent duplicate transactions, and establish consistent rules for COGS, gross profit, and gross margin. |
| Insurance Reimbursements | Expected amounts differ from actual receipts because claims are rejected, reversed, or adjusted | Separate tracking of billed amounts, expected reimbursements, received payments, and outstanding balances |
| Patient Conversion and Acquisition | Not every inquiry or transfer is a new patient; an existing patient visiting another location could be counted twice | A qualifying event, such as a first completed dispensing within an agreed conversion window, with “new to a location” tracked separately from “new to the network” |
| Prescription and Refill Performance | Multiple claim submissions for one prescription inflate volume | Separate counts for unique prescriptions, completed dispensing events, refills, cancellations, and claim submissions |
| Patient and Provider Analysis | Prescription volumes alone do not explain patient activity, refill patterns, or prescribing provider trends. | Analyze unique patient counts, dispensing frequency, refill activity, and prescription distribution across prescribing providers and pharmacy locations. |
| Medication and Inventory Performance | Purchase quantities alone do not show real demand, stock availability, or profitability | Analysis of acquisition costs, stock balances, dispensing quantities, receipts, returns, adjustments, and branded versus generic performance |
| Operational Capacity | Higher prescription volume does not prove efficient use of staff | Dispensing workload compared with pharmacist and technician availability, working hours, operating hours, and capacity |
| Pharmacy Performance | Higher revenue alone does not mean better overall performance | Multiple KPIs and actual-versus-target comparisons, adjusted for operating scale and seasonal demand |
KPI
Actual Revenue and Profitability
Practical Challenge
Patient payments and insurance reimbursements may appear across multiple systems. Refunds, discounts, claim adjustments, and medication costs complicate financial calculations.
How It Is Resolved
Reconcile financial records, distinguish recognized revenue from actual receipts, prevent duplicate transactions, and establish consistent rules for COGS, gross profit, and gross margin.
KPI
Insurance Reimbursements
Practical Challenge
Expected amounts differ from actual receipts because claims are rejected, reversed, or adjusted
How It Is Resolved
Separate tracking of billed amounts, expected reimbursements, received payments, and outstanding balances
KPI
Patient Conversion and Acquisition
Practical Challenge
Not every inquiry or transfer is a new patient; an existing patient visiting another location could be counted twice
How It Is Resolved
A qualifying event, such as a first completed dispensing within an agreed conversion window, with “new to a location” tracked separately from “new to the network”
KPI
Prescription and Refill Performance
Practical Challenge
Multiple claim submissions for one prescription inflate volume
How It Is Resolved
Separate counts for unique prescriptions, completed dispensing events, refills, cancellations, and claim submissions
KPI
Patient and Provider Analysis
Practical Challenge
Prescription volumes alone do not explain patient activity, refill patterns, or prescribing provider trends.
How It Is Resolved
Analyze unique patient counts, dispensing frequency, refill activity, and prescription distribution across prescribing providers and pharmacy locations.
KPI
Medication and Inventory Performance
Practical Challenge
Purchase quantities alone do not show real demand, stock availability, or profitability
How It Is Resolved
Analysis of acquisition costs, stock balances, dispensing quantities, receipts, returns, adjustments, and branded versus generic performance
KPI
Operational Capacity
Practical Challenge
Higher prescription volume does not prove efficient use of staff
How It Is Resolved
Dispensing workload compared with pharmacist and technician availability, working hours, operating hours, and capacity
KPI
Pharmacy Performance
Practical Challenge
Higher revenue alone does not mean better overall performance
How It Is Resolved
Multiple KPIs and actual-versus-target comparisons, adjusted for operating scale and seasonal demand
- Insurance reimbursement received: $80
- Patient copayment received: $20
- Total receipts: $100
- Recognized revenue (assuming no further adjustments): $100
- Cost of goods sold for the dispensed medication: $65
- Gross profit: $35
- Gross margin: 35%
Step 8: Data Validation and Testing
- Define the calculation logic.
- Test it with one month of data.
- Compare the results with existing reports and source records.
- Validate the results with business stakeholders.
- Investigate discrepancies and refine the logic.
- Test across multiple locations and reporting periods.
- Release the validated KPIs.
Phase 4: Visualize, Automate, and Monitor
Step 9: Data Visualization and Reporting
- Financial Performance: Net revenue, gross profit, profit margins, and medication acquisition costs.
- Insurance and Payer Performance: Expected and received reimbursements, outstanding balances, and payer-level profitability.
- Prescription and Medication Analysis: Prescription volumes, dispensing activity, refills, and branded versus generic medication performance.
- Patient and Provider Analysis: Patient activity, prescription patterns, and prescribing provider trends.
- Pharmacy Location Performance: Individual location comparisons, historical performance, and actual-versus-target analysis.
Step 10: Reporting Automation and Monitoring
- Automated Data Ingestion and Processing: Incorporating new and updated source records without repeated manual consolidation.
- Scheduled Dataset Refreshes: Refreshing reporting datasets after the underlying information has been successfully processed.
- Scheduled Scorecard and Report Distribution: Automatically distributing aggregated performance reports to authorized stakeholders.
- Excel-Based Operational Updates: Enabling pharmacy locations to maintain supplementary targets, schedules, and operational information through structured files.
- Row-Level Security (RLS) and Access Management: Restricting users to authorized location-specific information, with additional safeguards for sensitive patient records.
- Centralized Calculation Logic: Maintaining consistent KPI definitions across dashboards and reporting periods.
- Documentation and User Training: Documenting business rules, calculation logic, data dependencies, and reporting functionality.
- Ongoing Validation and Maintenance: Monitoring failed refreshes, data discrepancies, calculation errors, and evolving business requirements.
Tools and Technologies for the Process
| Tool or Technology | Purpose in the Data Analysis Process |
|---|---|
| Google Cloud Storage | Supports centralized storage and ingestion of exported files before analytical processing. |
| BigQuery | Provides centralized data warehousing, integration, SQL-based transformation, and analytical processing. |
| BigQuery External Tables | Provide an architectural option for querying supported external files without first loading them into native BigQuery tables. |
| Scheduled SQL Queries and ETL Processes | Automate recurring data preparation, business calculations, standardization, and analytical dataset updates. |
| Power BI | Converts prepared analytical datasets into interactive dashboards, performance scorecards, and business reports. |
Tool or Technology
Google Cloud Storage
Purpose in the Data Analysis Process
Supports centralized storage and ingestion of exported files before analytical processing.
Tool or Technology
BigQuery
Purpose in the Data Analysis Process
Provides centralized data warehousing, integration, SQL-based transformation, and analytical processing.
Tool or Technology
BigQuery External Tables
Purpose in the Data Analysis Process
Provide an architectural option for querying supported external files without first loading them into native BigQuery tables.
Tool or Technology
Scheduled SQL Queries and ETL Processes
Purpose in the Data Analysis Process
Automate recurring data preparation, business calculations, standardization, and analytical dataset updates.
Tool or Technology
Power BI
Purpose in the Data Analysis Process
Converts prepared analytical datasets into interactive dashboards, performance scorecards, and business reports.
Benefits of Data Transformation for Businesses: From Insight to Revenue
| Business Insight | Business Decision | Potential Value |
|---|---|---|
| High prescription volume but low margins | Review acquisition costs and reimbursement patterns | Higher profitability |
| Delayed or outstanding reimbursements | Prioritize claim reconciliation and payer follow-ups | Better cash flow |
| Channels with many inquiries but few conversions | Move budget to better-performing channels | Lower patient acquisition cost |
| High demand but insufficient stock | Adjust procurement quantities and replenishment schedules | Fewer stockouts and missed dispensing opportunities |
| Slow-moving or near-expiry medications | Rebalance purchasing and allocation across locations | Less inventory waste |
| Heavy workload with limited staff | Adjust pharmacist and technician schedules | Better operational efficiency |
| Some locations consistently outperform others | Identify and replicate their practices | Stronger overall performance |
| Significant manual reporting effort | Automate data processing and reporting | Time and cost savings |
Business Insight
High prescription volume but low margins
Business Decision
Review acquisition costs and reimbursement patterns
Potential Value
Higher profitability
Business Insight
Delayed or outstanding reimbursements
Business Decision
Prioritize claim reconciliation and payer follow-ups
Potential Value
Better cash flow
Business Insight
Channels with many inquiries but few conversions
Business Decision
Move budget to better-performing channels
Potential Value
Lower patient acquisition cost
Business Insight
High demand but insufficient stock
Business Decision
Adjust procurement quantities and replenishment schedules
Potential Value
Fewer stockouts and missed dispensing opportunities
Business Insight
Slow-moving or near-expiry medications
Business Decision
Rebalance purchasing and allocation across locations
Potential Value
Less inventory waste
Business Insight
Heavy workload with limited staff
Business Decision
Adjust pharmacist and technician schedules
Potential Value
Better operational efficiency
Business Insight
Some locations consistently outperform others
Business Decision
Identify and replicate their practices
Potential Value
Stronger overall performance
Business Insight
Significant manual reporting effort
Business Decision
Automate data processing and reporting
Potential Value
Time and cost savings
Implementing Data Transformation: Where Should Your Business Start?
- Missing data: Identify and collect it through structured inputs.
- Scattered data: Use integration and automated pipelines.
- Inconsistent data: Apply cleaning and standardization.
- Complex calculations: Build business-specific KPI logic.
- Unreliable reporting: Validate data and business rules repeatedly.
- Manual reporting: Automate and centralize dashboards.
- Changing questions: Add flexible analytics and AI-powered investigation.
The Future of Data Transformation: AI-Powered Analytics
- Instead of “What was our revenue last month?” ask, “What factors might explain the revenue decline?”
- Instead of “Which payer has the lowest reimbursement rate?” ask, “What patterns could explain reimbursement differences across payers?”
- Instead of “What is our current stock level?” ask, “Which medications may face shortages based on historical demand?”
- Instead of “Which pharmacy has the lowest margin?” ask, “What separates high-performing pharmacies from low-performing ones?”
- Instead of “How many prescriptions were dispensed?” ask, “What might be driving changes in prescription demand?”
“Without trust in the data, outputs and decisions of AI models and agents, there is no value from AI.”
How SculptSoft Helps Businesses Turn Data Into Revenue
At SculptSoft, we help businesses transform fragmented operational, financial, and customer information into reliable business insights through our data services and solutions and AI-powered technologies, enabling informed decision-making and improved operational efficiency.
- PharmaSight Analytics Platform: Centralized financial, prescription, insurance, medication, patient, and provider information for a multi-location pharmacy business using Google Cloud, BigQuery, and Power BI.
- ClinicIQ: Centralized reporting across multiple US outpatient clinics, providing consistent healthcare KPIs, automated reporting, and clinic-level performance visibility.
Conclusion: Turn Your Existing Data Into Better Business Decisions
Let’s Discuss Your Data Challenges with our engineering team.