reporting contract. It does not ship a finished .pbix file into your tenant.
Before you start
- Create a credential in Lambda under Settings → Analytics. See Connect.
- Decide who owns the Power BI workspace and the cloud connection. Prefer a shared service identity, not one employee’s personal account.
- Keep at least two workspace admins.
Connect Desktop to Postgres
1
Get data
Use the PostgreSQL connector. Enter the host and database from Lambda.
2
Sign in
Use the username and password. Require encryption.
3
Load reporting views
Navigate to schema
reporting and select the views you need. For a first model, start with
shipments, shipment_versions, and shipment_changes.Storage modes
Relationships
Turn off automatic relationship detection and automatic date tables. Create explicit single-direction relationships:shipments[shipment_key]→shipment_versions[shipment_key]shipments[shipment_key]→shipment_changes[shipment_key]cargowise_payloads[payload_id]→cargowise_deliveries[payload_id]cargowise_deliveries[event_id]→cargowise_messages[event_id]cargowise_payloads[payload_id]→ observations onpayload_idcargowise_xml_fields[semantic_field_key]→ observations onsemantic_field_key
job_number for business filters and labels. Keep shipment_key for joins.
Publish and keep it live
1
Publish
Publish the model to a Power BI workspace.
2
Configure the cloud connection
Use the same Postgres login. Cap the data source maximum connections at 5 so it matches the
database limit.
3
Share reports, not passwords
Give consumers Viewer access. Do not hand the Postgres password to every report reader.
What “build the model once” means
- Connect with the credential
- Load the curated views
- Set relationships and refresh behavior
- Publish
Prefer a database client instead?
That is supported. Use the same host, port, user, and password in any Postgres client and queryreporting directly. Power BI is optional.