Categories: Power BI / Practice Datasets
Tags:

In Power BI, use Conditional Formatting to color expired dates:

  1. Select the column with dates.
  2. Go to Format pane > Conditional Formatting.
  3. Choose Background color or Font color.
  4. Use Rules: If [Date] < TODAY(), set a color (e.g., red for expired).
  5. Apply changes.

Or create Column using Modeling : Expired Flag = IF(‘Table'[Date] < TODAY(), “Expired”, “Active”)

Sample Dataset to use: https://colorstech.net/wp-content/uploads/2025/02/expireddates.xlsx

DateOrder Quantity
2025-02-1510
2025-02-1412
2025-02-138
2025-02-1215
2025-02-119
2025-02-1011
2025-02-097
2025-02-0814
2025-02-0710
2025-02-066
2025-02-058
2025-02-049
2025-02-0312
2025-02-0215
2025-02-017
2025-01-3111
2025-01-3010
2025-01-2913
2025-01-2814
2025-01-279