How a Digital Media Analytics Platform Replaced Manual Power BI Reporting with a Serverless AWS Data Pipeline

Executive Summary:

A digital media analytics platform relied on manual Power BI reporting as mobile usage data grew. Rapyder moved its DAX logic into a serverless AWS data pipeline using S3, Glue, Delta Lake, Athena, Lambda and API Gateway. Incremental processing reduced repeated historical work, while API-delivered metrics were validated against existing Power BI outputs.

About Customer:

The customer helps brands plan, activate and measure digital media and e-commerce campaigns. Its platform provides consumer insights, audience activation and panel surveys for CPG, gaming, OTT, BFSI and mobile phone brands, using a privacy-first approach to consumer behaviour analysis.

Problem Statement:

The platform’s metric logic sat in Power BI DAX formulas and relied on manual reporting. Growing mobile usage data made repeated historical processing inefficient, while fragmented definitions made installs, monthly active users and engagement hard to compare across apps and regions. Brand clients needed timely, consistent insights in a privacy-first environment.

Industry:

Industries, Media & Entertainment

Offering:

Offerings, Data Analytics

Business Challenges:

  1. Privacy-first measurement: As traditional consumer tracking became less effective, the platform needed a privacy-first framework based on aggregated app usage data.
  2. Dashboard-bound metrics: Metric logic lived in manual Power BI DAX formulas, making it difficult to scale reporting as the business and its brand client base grew.
  3. Growing event volume: Increasing volumes of granular mobile usage events made it inefficient to reprocess historical data whenever new data arrived.
  4. Inconsistent definitions: Metrics were fragmented across apps, categories and geographies, with no standard way to calculate installs, monthly active users and engagement across filters.
  5. Dashboard delivery: Brand clients expected low-latency, dashboard-ready insights that the manual reporting approach struggled to deliver at scale.

Solution Implemented:

  1. Partitioned S3 data lake: Stored mobile app usage CSV data in Amazon S3, partitioned by application, date and device attributes.
  2. Schema discovery: Used AWS Glue Crawlers to detect schema changes and maintain the Glue Data Catalog across raw and curated datasets.
  3. Incremental ETL: Built PySpark-based AWS Glue jobs to normalise timestamps, derive sessions and calculate weighted metrics. Job bookmarks limited routine processing to newly ingested data.
  4. Curated Delta Lake storage: Wrote curated output to Amazon S3 in Delta Lake format to support ACID transactions and consistent incremental updates.
  5. DAX-to-SQL conversion: Converted existing Power BI DAX formulas into Amazon Athena SQL and validated the resulting metrics against the legacy dashboard outputs.
  6. Dashboard API layer: Used AWS Lambda to build parameterised Athena queries for Month, State, NCCS, Gender, Category and App filters. Amazon API Gateway exposed secure REST endpoints for dashboard consumption.
  7. Controlled rollout: Deployed and validated the architecture in Development and Production environments for a controlled rollout.

Technology Stack:

  • Amazon S3
  • AWS Glue
  • Amazon Athena
  • AWS Lambda
  • Amazon API Gateway

Business Benefits:

  1. App onboarding without pipeline redesign – The serverless S3, Glue, Athena and Lambda architecture supported new app data without rebuilding the core pipeline for each app.
  2. Less repeated historical processing – Glue job bookmarks and partitioned data supported incremental ETL, avoiding a full historical scan during routine processing.
  3. Interactive dashboard delivery – Pre-aggregated datasets and optimised Athena SQL supported interactive access to the platform’s metrics.
  4. Consistent reporting – Automated ETL, centralised metadata and monitored query execution across Development and Production helped keep metrics reliable and reproducible.
  5. Lower query scan overhead – Partition pruning, columnar data storage in Delta Lake and pay-per-use AWS services reduced unnecessary data scanning and helped control query costs.
  6. Validated metric parity – Converted Athena SQL queries were checked against existing Power BI DAX outputs to validate that the migrated calculations matched the legacy metrics.

Still relying on manual Power BI reporting?

Automate reporting with a serverless AWS data pipeline.

Talk to Rapyder

Key Takeaways:

  • Reusable metric logic – Moving the existing DAX calculations into Athena SQL made the metric layer available through APIs, beyond an individual dashboard.
  • Incremental processing – Glue bookmarks and partitioned data limited repeated historical processing as new mobile usage data arrived.
  • Output validation – Comparing migrated SQL results with legacy Power BI outputs helped preserve the metric definitions business users relied on.
Expert Reviewed bySyed Shahid Nazeer

Content Writer, Rapyder Cloud Solutions

Common Questions

Frequently Asked Questions

In this platform, metric logic sat inside Power BI and depended on manual reporting. Converting the existing DAX calculations into Amazon Athena SQL made those definitions available through APIs to other dashboards and applications. The team validated the SQL results against the legacy Power BI outputs.

Growing mobile usage data made repeated historical scans inefficient. AWS Glue job bookmarks tracked processing progress, while partitioned data allowed routine ETL runs to focus on newly ingested data. This reduced the need to recompute the full historical dataset for each update.

The platform needed curated metrics to remain consistent as new data arrived. Delta Lake added an ACID transaction layer to curated data in Amazon S3, supporting reliable incremental writes and updates. It formed the storage layer for the refined analytics datasets.

Brand dashboards needed consistent metrics across different audience and app filters. AWS Lambda built parameterised Amazon Athena queries from the requested filter values, and Amazon API Gateway served the results through REST endpoints. Curated datasets and optimised SQL supported interactive dashboard use.

Case Studies

Share

Search Case Studies

Recent Case Studies

Categories

Tags

Subscribe to the
latest insights

Subscribe to the latest insights

Related Case Studies

Rapyder migrated 1.5+ petabytes of Qualtrics Elasticsearch, Kafka and PostgreSQL from IBM bare metal to AWS with zero data loss and 99.99% uptime.
How Rapyder containerised Truemeds’ 33-service healthcare platform on Amazon EKS with Jenkins CI/CD and Prometheus and Grafana monitoring.
How Rapyder migrated EaseMyTrip from GCP to AWS across a full application portfolio and 1.7TB of data, cutting infrastructure costs by 30%.
Rapyder Cloud Solutions logo

By Team Rapyder

Get in Touch!

Are you prepared to excel in the digital transformation of healthcare with Rapyder? Let’s connect and embark on this journey together.

Right arrow icon

Let’s Tackle Your Cloud Challenges Together

I accept  T&C and  Privacy  
Consult Now WhatsApp