BigBear.ai logo light version BigBear.ai logo dark version

Industries

Government & Defense

Improve operational efficiency and force deployment, optimize supply chains, run and manage autonomous systems, improve situational awareness, and detect/analyze vulnerabilities to protect valuable assets.

Manufacturing & Warehouse Operations

We optimize operations for warehouses, shipyards, life sciences companies, and more. Model production systems, resource management and warehouse operations with our AI-powered decision intelligence solutions and expertise.

Healthcare & Life Sciences

Life Sciences companies use our solutions for regulatory support modeling, labeling and submissions modeling, patient studies, portfolio modeling, and clinical trials modeling. Healthcare providers work with us to visualize and tailor care delivery settings to optimize patient flows.

Latest News

Press Release

BigBear.ai and Hardy Dynamics Collaborate to Advance AI Orchestration for U.S. Army Drone Swarm Operations in Project Linchpin

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

Industries

Government & Defense

Improve operational efficiency and force deployment, optimize supply chains, run and manage autonomous systems, improve situational awareness, and detect/analyze vulnerabilities to protect valuable assets.

Manufacturing & Warehouse Operations

We optimize operations for warehouses, shipyards, life sciences companies, and more. Model production systems, resource management and warehouse operations with our AI-powered decision intelligence solutions and expertise.

Healthcare & Life Sciences

Life Sciences companies use our solutions for regulatory support modeling, labeling and submissions modeling, patient studies, portfolio modeling, and clinical trials modeling. Healthcare providers work with us to visualize and tailor care delivery settings to optimize patient flows.

Latest News

Press Release

BigBear.ai and Hardy Dynamics Collaborate to Advance AI Orchestration for U.S. Army Drone Swarm Operations in Project Linchpin

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

Solutions

Supply Chain Management

Digitally transform your processes, inject automation, eliminate bottlenecks, optimize production, and forecast future supply chain issues for a streamlined and more efficient operational environment.

National Security

Over 30 years of providing modern, critical capabilities at the speed and scale required for national security. Our approach: Operational readiness, autonomy at the edge, and facilitation of contested logistics.

Digital Identity

Uniting facial recognition, image-based anomaly detection and advanced biometrics with next-gen computer vision, machine learning and predictive analytics.

Professional Services

Expert resources you can trust to support mission delivery, digital transformation initiatives, and complex data/integration projects.

Latest News

Press Release

BigBear.ai to Join Global Leaders at BASC Panama 2025 Forum to Discuss the Future of Secure Trade and Logistics

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

schedule a demo
view all solutions

Solutions

Supply Chain Management

Digitally transform your processes, inject automation, eliminate bottlenecks, optimize production, and forecast future supply chain issues for a streamlined and more efficient operational environment.

National Security

Over 30 years of providing modern, critical capabilities at the speed and scale required for national security. Our approach: Operational readiness, autonomy at the edge, and facilitation of contested logistics.

Digital Identity

Uniting facial recognition, image-based anomaly detection and advanced biometrics with next-gen computer vision, machine learning and predictive analytics.

Professional Services

Expert resources you can trust to support mission delivery, digital transformation initiatives, and complex data/integration projects.

Latest News

Press Release

BigBear.ai to Join Global Leaders at BASC Panama 2025 Forum to Discuss the Future of Secure Trade and Logistics

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

schedule a demo
view all solutions

Investors & Partners

Investor Overview

Discover why BigBear.ai is uniquely positioned in the markets that we service.

Partners

Our partners are a critical part of our business. We collaborate with technology providers, systems integrators, and consulting firms to meet the needs of our customers. See how to work with us.

Financials

See the latest BigBear.ai financial results.

Governance

BigBear.ai’s corporate governance at a glance.

News & Events

Browse the latest BigBear.ai news and events.

SEC Filings

Browse our SEC filings.

Latest Investor News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Announces First Quarter 2025 Results; Affirms 2025 Outlook

Investors & Partners

Investor Overview

Discover why BigBear.ai is uniquely positioned in the markets that we service.

Partners

Our partners are a critical part of our business. We collaborate with technology providers, systems integrators, and consulting firms to meet the needs of our customers. See how to work with us.

Financials

See the latest BigBear.ai financial results.

Governance

BigBear.ai’s corporate governance at a glance.

News & Events

Browse the latest BigBear.ai news and events.

SEC Filings

Browse our SEC filings.

Latest Investor News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Announces First Quarter 2025 Results; Affirms 2025 Outlook

Careers

Explore Jobs

Find your next exciting career opportunity at BigBear.ai.

Benefits

Discover BigBear.ai’s employee benefits.

Culture

Learn about BigBear.ai’s unique work environment.

Military and Veterans

See the ways BigBear.ai is committed to supporting Veterans.

Applicant Login

Employee Login

From the Blog

Media Coverage

10 Lessons Learned: BigBear.ai Team Member Shares Journey from Soldier to Civilian

BigBear.ai Named a 2023 Best Place to Work by Built In

Careers

Explore Jobs

Find your next exciting career opportunity at BigBear.ai.

Benefits

Discover BigBear.ai’s employee benefits.

Culture

Learn about BigBear.ai’s unique work environment.

Military and Veterans

See the ways BigBear.ai is committed to supporting Veterans.

Applicant Login

Employee Login

From the Blog

Media Coverage

10 Lessons Learned: BigBear.ai Team Member Shares Journey from Soldier to Civilian

BigBear.ai Named a 2023 Best Place to Work by Built In

Company

About

Learn more about BigBear.ai.

Leadership

BigBear.ai’s executive team brings decades of experience in delivering clarity for the world’s most complex decisions.

Events

Find BigBear.ai Events including webinars, sponsorships, conferences and trade shows.

Newsroom

Get the latest news, press releases, and media coverage.

Resource Library

Access valuable resources, case studies, guides, and materials.

Blog

Read more from our experts.

Latest Company News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Awarded Contract to Modernize Critical Department of Defense Force Management Platform

Company

About

Learn more about BigBear.ai.

Leadership

BigBear.ai’s executive team brings decades of experience in delivering clarity for the world’s most complex decisions.

Events

Find BigBear.ai Events including webinars, sponsorships, conferences and trade shows.

Newsroom

Get the latest news, press releases, and media coverage.

Resource Library

Access valuable resources, case studies, guides, and materials.

Blog

Read more from our experts.

Latest Company News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Awarded Contract to Modernize Critical Department of Defense Force Management Platform

( )

BigBear.ai logo

HOME

Industries

Government & Defense

Improve operational efficiency and force deployment, optimize supply chains, run and manage autonomous systems, improve situational awareness, and detect/analyze vulnerabilities to protect valuable assets.

Manufacturing & Warehouse Operations

We optimize operations for warehouses, shipyards, life sciences companies, and more. Model production systems, resource management and warehouse operations with our AI-powered decision intelligence solutions and expertise.

Healthcare & Life Sciences

Life Sciences companies use our solutions for regulatory support modeling, labeling and submissions modeling, patient studies, portfolio modeling, and clinical trials modeling. Healthcare providers work with us to visualize and tailor care delivery settings to optimize patient flows.

Latest News

Press Release

BigBear.ai and Hardy Dynamics Collaborate to Advance AI Orchestration for U.S. Army Drone Swarm Operations in Project Linchpin

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

Industries

Government & Defense

Improve operational efficiency and force deployment, optimize supply chains, run and manage autonomous systems, improve situational awareness, and detect/analyze vulnerabilities to protect valuable assets.

Manufacturing & Warehouse Operations

We optimize operations for warehouses, shipyards, life sciences companies, and more. Model production systems, resource management and warehouse operations with our AI-powered decision intelligence solutions and expertise.

Healthcare & Life Sciences

Life Sciences companies use our solutions for regulatory support modeling, labeling and submissions modeling, patient studies, portfolio modeling, and clinical trials modeling. Healthcare providers work with us to visualize and tailor care delivery settings to optimize patient flows.

Latest News

Press Release

BigBear.ai and Hardy Dynamics Collaborate to Advance AI Orchestration for U.S. Army Drone Swarm Operations in Project Linchpin

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

Solutions

Supply Chain Management

Digitally transform your processes, inject automation, eliminate bottlenecks, optimize production, and forecast future supply chain issues for a streamlined and more efficient operational environment.

National Security

Over 30 years of providing modern, critical capabilities at the speed and scale required for national security. Our approach: Operational readiness, autonomy at the edge, and facilitation of contested logistics.

Digital Identity

Uniting facial recognition, image-based anomaly detection and advanced biometrics with next-gen computer vision, machine learning and predictive analytics.

Professional Services

Expert resources you can trust to support mission delivery, digital transformation initiatives, and complex data/integration projects.

Latest News

Press Release

BigBear.ai to Join Global Leaders at BASC Panama 2025 Forum to Discuss the Future of Secure Trade and Logistics

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

schedule a demo
view all solutions

Solutions

Supply Chain Management

Digitally transform your processes, inject automation, eliminate bottlenecks, optimize production, and forecast future supply chain issues for a streamlined and more efficient operational environment.

National Security

Over 30 years of providing modern, critical capabilities at the speed and scale required for national security. Our approach: Operational readiness, autonomy at the edge, and facilitation of contested logistics.

Digital Identity

Uniting facial recognition, image-based anomaly detection and advanced biometrics with next-gen computer vision, machine learning and predictive analytics.

Professional Services

Expert resources you can trust to support mission delivery, digital transformation initiatives, and complex data/integration projects.

Latest News

Press Release

BigBear.ai to Join Global Leaders at BASC Panama 2025 Forum to Discuss the Future of Secure Trade and Logistics

Press Release

BigBear.ai Powers Austal USA’s Next-Gen Submarine Construction using AI and Digital Twins

schedule a demo
view all solutions

Investors & Partners

Investor Overview

Discover why BigBear.ai is uniquely positioned in the markets that we service.

Partners

Our partners are a critical part of our business. We collaborate with technology providers, systems integrators, and consulting firms to meet the needs of our customers. See how to work with us.

Financials

See the latest BigBear.ai financial results.

Governance

BigBear.ai’s corporate governance at a glance.

News & Events

Browse the latest BigBear.ai news and events.

SEC Filings

Browse our SEC filings.

Latest Investor News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Announces First Quarter 2025 Results; Affirms 2025 Outlook

Investors & Partners

Investor Overview

Discover why BigBear.ai is uniquely positioned in the markets that we service.

Partners

Our partners are a critical part of our business. We collaborate with technology providers, systems integrators, and consulting firms to meet the needs of our customers. See how to work with us.

Financials

See the latest BigBear.ai financial results.

Governance

BigBear.ai’s corporate governance at a glance.

News & Events

Browse the latest BigBear.ai news and events.

SEC Filings

Browse our SEC filings.

Latest Investor News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Announces First Quarter 2025 Results; Affirms 2025 Outlook

Careers

Explore Jobs

Find your next exciting career opportunity at BigBear.ai.

Benefits

Discover BigBear.ai’s employee benefits.

Culture

Learn about BigBear.ai’s unique work environment.

Military and Veterans

See the ways BigBear.ai is committed to supporting Veterans.

Applicant Login

Employee Login

From the Blog

Media Coverage

10 Lessons Learned: BigBear.ai Team Member Shares Journey from Soldier to Civilian

BigBear.ai Named a 2023 Best Place to Work by Built In

Careers

Explore Jobs

Find your next exciting career opportunity at BigBear.ai.

Benefits

Discover BigBear.ai’s employee benefits.

Culture

Learn about BigBear.ai’s unique work environment.

Military and Veterans

See the ways BigBear.ai is committed to supporting Veterans.

Applicant Login

Employee Login

From the Blog

Media Coverage

10 Lessons Learned: BigBear.ai Team Member Shares Journey from Soldier to Civilian

BigBear.ai Named a 2023 Best Place to Work by Built In

Company

About

Learn more about BigBear.ai.

Leadership

BigBear.ai’s executive team brings decades of experience in delivering clarity for the world’s most complex decisions.

Events

Find BigBear.ai Events including webinars, sponsorships, conferences and trade shows.

Newsroom

Get the latest news, press releases, and media coverage.

Resource Library

Access valuable resources, case studies, guides, and materials.

Blog

Read more from our experts.

Latest Company News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Awarded Contract to Modernize Critical Department of Defense Force Management Platform

Company

About

Learn more about BigBear.ai.

Leadership

BigBear.ai’s executive team brings decades of experience in delivering clarity for the world’s most complex decisions.

Events

Find BigBear.ai Events including webinars, sponsorships, conferences and trade shows.

Newsroom

Get the latest news, press releases, and media coverage.

Resource Library

Access valuable resources, case studies, guides, and materials.

Blog

Read more from our experts.

Latest Company News

Press Release

Kevin McAleenan Appointed CEO of BigBear.ai

Press Release

BigBear.ai Awarded Contract to Modernize Critical Department of Defense Force Management Platform

This field is required.
Home Blog Data Warehouse Design Techniques – Ragged Hierarchical Dimensions

Data Warehouse Design Techniques – Ragged Hierarchical Dimensions

Jim McHugh

In my last post, we discussed the creation of simple hierarchical dimensions. In this post, I will discuss how to handle those ragged hierarchies, those which can skip levels in the hierarchy.

Snowflaking

There may be instances where you wish to normalize the hierarchy into a snowflake. Below is a city, state/province, country hierarchy which can easily be converted into a snowflake model.

Here we would simply take the list of all of the countries and place them into a country dimension, the state/provinces into a state/province table and finally a city into a city table. While loading these dimensions, you must remember to carry the parent and grandparent IDs along. Therefore, the city dimension will reference the state table where appropriate and the country table (always) while the state/province table will only reference the country dimension.

Flatten Hierarchy

One way to handle the ragged hierarchy is to flatten the hierarchy just as we did in the simple dimensional hierarchy and copy the grandparent level data down to the parent level. This copying of this “pseudo data” into the columns where the hierarchy is skipped is done to balance any skipped hierarchy level. The “pseudo data” can also include a flag telling the user that the connection between the child record and the parent needs to be skipped and instead moved up to the next level (grandparent).

Let’s look at a classification example.

As you can see from the example above not all classifications refer to sub-types but rather point directly to a type. To resolve this issue for consistent reporting at the sub-type tier we would simply copy the type record data down to the sub-type tier to “cover” the missing data in the sub-type tier. Remember it is helpful to set the flag indicating that this data is pseudo data and only used to ensure create a flattened hierarchy.

Recursion

Another way to work with a ragged hierarchy is to use a recursion to address the recursive hierarchy. Recursion is created when the child record has a relationship to the parent record as an attribute of the child record.

This is the simplest and most flexible solution to address the challenge of a ragged hierarchy. Like all solutions, there are some challenges with using a recursion as a solution. The major challenges with recursion are the query performance and the limited number of reporting tools that can execute a recursion query.

Hierarchical Bridge Table

Hierarchical bridge tables are incredibly powerful hierarchical tools. Below is a standard organization chart. If you wanted to see all of the people who report to Shavonne or find the list of management above Duncan, a hierarchical bridge table makes this request effortless.

To create a hierarchy bridge table you will create a table consisting of each record associated with itself and its association with all of its subordinates regardless of level. You should also capture the number of levels removed from itself and flags indicating if this is the top of the hierarchy or the bottom of the hierarchy. Here is an example of the data for Quinton.

Once this table is created you can quickly find all of the people who work under Quinton or what is the management chain above Eugene with a simple select statement.

Combining the hierarchy bridge table with a fact table request enhances the power of the reports you can generate. Let’s take a look at how we can use the hierarchy bridge table. When looking at creating a report from the top down we would join the Employee_Key on the fact table to the Subordinate_ID on the hierarchy bridge table which would then join to the Employee_ID on the Employee dimension to the Superior_Key from the hierarchy bridge table.

In a similar way when wishing to create an ascending report (bottom up) we would join the Employee_Key on the fact table to the Superior_ID on the hierarchy bridge table which would then join to the Employee_ID on the Employee dimension to the Subordinate_Key from the hierarchy bridge table.

As you can see the hierarchy bridge table has removed the recursive join and replaced it with better performing, simple joins. You can also use the levels to help limit the number of levels above or below the current employee you wish to traverse.

Not all reporting tools can use the power of the hierarchy bridge table, in those cases I recommend using recursive hierarchies, if possible, before settling on a flattened hierarchy with pseudo data to meet your user requirements.

About the Author

Jim McHugh is the Vice President of National Intelligence Service – Emerging Markets Portfolio. Jim is responsible for the delivery of Analytics and Data Management to the Intelligence Community.

BigBear logo BigBear logo for mobile screen sizes.

General

Home Industries Solutions Product Support ProModel Student Software

Info

Careers in AI Blog Events Investors About

Other

Privacy Policy Terms of Use Accessibility Copyright Site Map

Follow Us

LinkedIn Youtube Facebook X

Contact

7950 Jones Branch Drive McLean VA 22102 [email protected] [email protected] 1-410-312-0885

Sign up to receive BigBear.ai updates

Get Updates

BigBear.ai ©2025

Back to top
Logo Logo

Contact

Consent
This field is hidden when viewing the form
This field pushes a "1" (the default value) in the Salesforce webhook if the "Receive Bigbear.ai Updates" is left unchecked.
This field is hidden when viewing the form
This field is for validation purposes and should be left unchanged.
BigBear.ai Privacy Policy