Case Study 03
FP&A
CommentarySummary
AI-powered hierarchical summarization for global pharmaceutical FP&A, transforming monthly consolidation from weeks to same-day.
Client
Global publicly traded pharmaceutical company, engaged through the partner firm Unicorn
Role
Architect and developer
Duration
< 1 month to MVP
Tech Stack
Power BI • Fabric SQL DB • OpenAI in Fabric • Snowflake • SAP/SACP
01 The Challenge
“Every month, 4-5 analysts spend two weeks reading and summarizing commentary up the hierarchy. An external vendor tried to automate this - and cancelled after 6 months.”
Corporate leadership requested commentary from markets worldwide on product performance - variances, phasing, outlook, one-offs. Hundreds of comments flowed in through Excel files. The manual consolidation left no institutional memory; each month's work lived in scattered spreadsheets.
50+
Global Markets
~2 wks
Consolidation Time
4-5
FTEs Required
6 mo
Prior Vendor (Failed)
02 Key Constraints
Data Security
FP&A refused to send commentary data to external LLM endpoints. All AI processing must remain within the Microsoft Fabric security perimeter.
Hierarchy Mismatch
Business summarization categories didn't align with standard SAP hierarchies. Custom mapping layer required to translate across 50+ markets.
Workflow Fidelity
Solution had to mirror existing Excel-based processes closely enough for adoption. Users shouldn't need to learn new tools.
03 The Solution
Fabric-Perimeter AI
A solution entirely within the Microsoft Fabric security perimeter: Power BI native writeback for collection, OpenAI in Fabric for hierarchical summarization, and Fabric SQL DB for persistence.
Security Guarantees
No External APIs
All LLM calls stay within Microsoft Fabric boundary.
Enterprise Auth
Inherits existing Azure AD permissions and audit logs.
Data Residency
Commentary never leaves the corporate Fabric tenant.
Implementation Timeline
Key Activities
- Map existing commentary workflow
- Identify hierarchy mismatches (SAP vs business)
- Document security requirements
- Understand why prior vendor failed
Deliverables
- Workflow map
- Hierarchy mapping
- Security requirements
Main Challenge
The prior vendor had spent 6 months building a solution for a workflow that didn't exist. First priority was understanding the actual process.
Key Activities
- Design Fabric-perimeter solution
- Configure OpenAI in Fabric
- Plan SQL persistence layer
- Prototype Power BI writeback
Deliverables
- Architecture design
- Security approval
- Technical prototype
Main Challenge
Ensuring all AI processing stays within the Fabric boundary - no external API calls permitted.
Key Activities
- Build hierarchical summarization logic
- Implement multi-level rollup (product → global)
- Create writeback interface in Power BI
- Develop historical archive queries
Deliverables
- Working MVP
- User documentation
- Validation results
Main Challenge
Mapping 50+ markets to 4 business units with different hierarchies required custom translation layer.
Key Activities
- User training sessions
- Pilot with single region
- Phased global rollout
- Model training on internal glossary
Deliverables
- Production system
- Training materials
- Glossary integration
Main Challenge
Change management for users accustomed to Excel-based process - solution had to feel familiar.
04 The Transformation
Before vs After
The fastest path to value was infrastructure the business already trusted, plus the smallest possible AI intervention.
Key insight:The prior vendor failed not on technology but on translation. They built a system for a workflow that didn't exist.
The Hierarchy Cascade
Summaries cascade upward: product-level summaries feed into country summaries, which feed into regional, then global.
What happens here
Individual product commentary
Example output
“Drug X variance explanation”
05 Impact
<1 mo
MVP Delivery
What took an external vendor 6 months (and still failed) was delivered in under a month with production-ready results.
06 Takeaway
“The prior vendor failed not on technology but on translation - they built a system for a workflow that didn't exist.”
The fastest path to value was infrastructure the business already trusted (Power BI, Fabric) plus the smallest possible AI intervention (summarization only, humans still author). Data security concerns that might have blocked an external LLM solution became non-issues when everything stayed within the Fabric perimeter.
Current phase: Training the model on internal glossary and business terminology.