Guide overview
Create a DP01 household product variant, request uppercase household names in Transform, and review the changed SQL and transformation history. Validate the result and reporting contract before saving and verifying your product.
What you will learn
- Create a separate DP01 variant using the household relationship contract.
- Open Transform, describe the required household_name formatting change and apply the request.
- Review transformation history and confirm the SQL uses UPPER(MAX(m.household_name)) without changing DP01’s twelve outputs, join, snapshot, grain or counts.
- Validate transformed household names and unchanged business results, then save and verify the product before sharing.
Before you start
Browser practice: No account or setup required. Practise with genuine app captures, captions and a simulated transform in this browser. Practice does not change a live data product.
Follow along in Latttice: A signed-in Latttice session with access to Databricks Demo and its latttice_demo schema, plus permission to create and transform a data product. Use a unique DP01 variant name and verify the generated SQL and preview.
Read the 13-step workflow
This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.
Start with the household outcome.
Create a Transform learning variant of the existing DP01 household relationship foundation. Keep the same fixed snapshot, household grain and twelve outputs.
- Open PinBoard → Create Structured Data Product.
- Name the variant DP01 | Household Relationships - Transform Demo.
- Use a unique name to preserve the original DP01 reference.
Check: Synthetic household relationships · fixed 9 October 2026 snapshot.
Generate from a precise request.
State the source, snapshot, join keys, household grain and calculations. Review the generated DP01 contract before applying a Transform.
- Paste the prepared request into Intent / Use Case.
- Confirm Databricks Demo, latttice_demo and 2026-10-09.
- Select Generate and review the recommendation.
Check: Membership and banker ownership describe relationships; they grant no access.
Check the tables and their meaning.
DP01 combines household membership with customer party details. Review the current semantic coverage, gaps and direct source meaning before accepting the recommendations.
- Confirm household membership and customer party.
- Check relevant semantic definitions, table coverage and gaps.
- Select Accept Latttice AI Recommendations after review.
Check: Reported coverage does not verify business meaning. Review mappings and gaps.
Keep both sides on the same date.
Each membership must match its party in the same snapshot. The output rolls up to one household at one reporting date.
- Confirm the tables and columns; select Next: Configure Access.
- In Define Access & Transformations, open SQL.
- Check both join keys, 2026-10-09 and the household snapshot grain.
Check: Join: party_id + as_of_date. Grain: household_id + as_of_date.
Make the business calculations clear.
DP01 contains two keys and ten computed fields. Entities include BUSINESS and TRUST parties; a KYC review due on the snapshot is not overdue.
- Open Tables & Columns.
- Review the two keys and ten computed fields.
- Count KYC only when its due date is before 2026-10-09.
Check: 12 fields. A KYC review due on the snapshot is not overdue.
Transform the product deliberately.
In Define Access & Transformations, select Transform. Natural Language Transformations lets you describe a change to the generated product.
- In Define Access & Transformations, select Transform.
- Find Natural Language Transformations.
- Review the existing DP01 contract before requesting a change.
Check: The Transform tab changes the generated product through a natural language request.
Change the name format. Preserve DP01.
Request uppercase household names while retaining the household_name alias, all twelve outputs, both join keys, the fixed snapshot and unchanged household counts.
- Enter the prepared request in the natural language box.
- Change only household_name to uppercase.
- Preserve the twelve fields, join, snapshot, household grain and calculations.
Check: A formatting Transform should preserve every household and all existing count calculations.
Apply the reviewed request.
Select the inner Transform button below the request box. After processing finishes, check the new Transformation History entry and review the changed SQL.
- Select Transform below the reviewed request.
- Wait for Processing... to finish.
- Check the new Transformation History entry; review SQL next.
Check: Transform applies the change; a history entry records the request. Inspect the resulting SQL.
Check the exact transformation.
Open SQL. The observed Transform changed household_name to UPPER(MAX(m.household_name)) AS household_name. Verify the alias and every other part of the DP01 contract.
- Open SQL after the Transform completes.
- Find UPPER(MAX(m.household_name)) AS household_name.
- Check the other fields, joins, snapshot and household grain are unchanged.
Check: Uppercase the household name. Keep the household_name alias and all twelve outputs.
Check the data after the Transform.
Open Preview Data and select Load Preview. The captured 100-row sample returned all twelve outputs with uppercase household names. Check that the household calculations and full product contract remain intact.
- Open Preview Data → Load Preview.
- Check uppercase household_name and all twelve output fields.
- Compare household counts and calculations with the DP01 baseline.
Check: Observed: 100 sample rows, 12 outputs and uppercase household names. Full 800-row equality still needs checking.
Save the reviewed product.
After the transformed preview passes, select Next: Preview & Finalize. Review the separate Transform variant and select Create Data Product.
- After preview checks pass, select Next: Preview & Finalize.
- Review the unique Transform variant and DP01 contract.
- Select Create Data Product and wait for a successful save.
Check: Create the separate Transform variant after the output review passes.
Verify the saved product.
After saving, the reference retained its Transform history and SQL. Its reopened preview returned twelve outputs and uppercase household names. Repeat these saved-product checks on your own variant.
- Reopen the variant: PinBoard → Edit → Continue Manually.
- Continue to Transform; inspect the saved history and SQL.
- Check uppercase names and unchanged DP01 calculations in the saved output.
Check: Saved history, SQL and a 100-row preview were checked. Full 800-row equality is a separate check.
A clear product. A precise Transform.
You have practised creating DP01, applying a natural language Transform and reviewing the changed SQL. Verify the saved product’s uppercase household names and unchanged DP01 reporting contract in Latttice.
- Keep the checklist for your own DP01 Transform variant.
- Verify the saved Transform and actual output in Latttice.
- Return to the library for the next lesson.
Check: Practice records learning progress; it applies no live transform.
