Turning 14 Disconnected PostgreSQL Tables Into One Live, Per-Customer Analytics Dashboard

A medical device distributor needed customers to see their own device and test data with zero visibility into anyone else's. We built a multi-tenant Power BI platform on DirectQuery with Row Level Security enforced at the data model layer, live in production across their distributor network.

Talk to Us About Your Build
Customer Focus

A medical device distribution and management company serving hospitals and diagnostic centers across multiple territories.

Scope

14-table PostgreSQL data model, Row Level Security, embedded reporting, dynamic per-customer branding.

Stack

Power BI, PostgreSQL, DirectQuery mode, Row Level Security.

Status

Delivered. Built over three months, now live in production across the distributor network.

The Problem

A Filter Problem That Was Actually a Security Architecture Problem

The distributor owns the platform, but each customer's data has to stay invisible to every other customer on it. That constraint shaped every decision that followed.

01
No Unified Analytics Layer

Device, test, territory, and lab data lived across 14 relational tables with no drill-through capability. There was no way to move from network-level totals to a single device's performance history.

02
Multi-Tenant Data Isolation

Hospitals, labs, and diagnostic centers share one platform but can't see a competitor's device performance or test volumes. Isolation had to hold at the data model layer, not just the dashboard UI.

03
Branded, Licensed Access at Scale

Every customer login needed its own logo and dynamic titles, dual time zone display for IST and UTC regions, and shareable access without a full Power BI license for every viewer.

The Tech Stack

Power BI on DirectQuery against a 14-table PostgreSQL data model, secured with Row Level Security down to the customer level.

  • Power BI
  • PostgreSQL
  • DirectQuery Mode
  • Row Level Security (RLS)
  • Embedded Reporting
  • Fact-and-Dimension Data Model
What We Built

A Multi-Tenant Analytics Platform, Layer by Layer

Connecting Power BI to a 14-Table PostgreSQL Model

We mapped the client's PostgreSQL database into Power BI's data modeling layer, defining the fact-and-dimension relationships across devices, tests, territories, and labs before building a single report. We used DirectQuery mode throughout, so every query hits the live database rather than an imported snapshot. From there we built the drill-through hierarchy: network, then territory, then laboratory, then a specific device's performance history.

  • DirectQuery mode connected to the live PostgreSQL database, no imported snapshot
  • Fact-and-dimension relationships defined across all 14 tables before report build
  • Drill-through hierarchy built from network to territory to laboratory to device
  • 14 relational tables profiled and cleaned so drill-through numbers reconcile with summary numbers

Building multi-tenant analytics on healthcare operational data?

We can walk you through how the RLS architecture connects to the database schema and how the DirectQuery model holds up at drill-through depth.

Talk to Us

Let’s #Transform Healthcare,# Together.

Partner with us to design, build, and scale digital solutions that drive better outcomes.

Location

Global Tech Teams LLC, 525 Washington Blvd, Industrious at Newport Tower, Jersey City, NJ 07310, United States.

Contact

+1 408 786 5974
contact@mindbowser.com
BOOK A QUICK CONSULTATION

Have a Healthcare Project in Mind?

Let’s discuss your goals, workflows, and next steps in a focused consultation call.

Calendar icon Schedule a Call

Contact form