# How should I model order date and ship date in a Power BI semantic model?

Exam: DP-600 — Implementing Analytics Solutions Using Microsoft Fabric
Knowledge domain: Implement and manage semantic models (25–30%)
Updated: 2026-11-19T05:35:27.189438+00:00
HTML: https://learningpathx.com/faq/DP-600/dp600-alternate-date-relationship.html

## Also asked as

- When should I use separate date dimensions instead of an inactive relationship?
- How can Power BI measures use different date roles without ambiguous filters?

Use separate role-playing Date tables with active relationships when reports must filter order date and ship date independently or simultaneously. An inactive relationship is appropriate when only specific measures need an alternate date path and simultaneous filtering by both roles isn't required.

With an active OrderDate relationship and an existing inactive ShipDate relationship, a measure can use the alternate path during its evaluation:

```dax
Sales Rows by Ship Date =
CALCULATE (
    COUNTROWS ( Sales ),
    USERELATIONSHIP ( 'Date'[Date], Sales[ShipDate] )
)
```

This example assumes those columns and the relationship already exist. COUNTROWS counts Sales rows: at order-line grain, it counts lines rather than distinct orders. It doesn't change the default path for other measures. Verify the result using a date where orders and shipments differ, then check totals and blank ship dates for unshipped orders.

RLS filters propagate only through active relationships; USERELATIONSHIP doesn't make an inactive relationship carry RLS. If security or independent role filtering needs both paths, design active role-specific dimensions instead. Label the roles clearly so report authors can tell which dates they are selecting.

[Active and inactive relationship guidance](https://learn.microsoft.com/en-us/power-bi/guidance/relationships-active-inactive).

Source: [DP-600: Designing Power BI Semantic Models and Relationships in Microsoft Fabric](https://learningpathx.com/news/dp-600-designing-power-bi-semantic-models-and-relationships-in-microsoft-fabric.html)
