π Summary:
What it is: The Completed Hour AM/PM dimension represents the time of day an order was completed, categorized into morning or afternoon/evening time bands.
How to use it:
β’ Analyze purchasing patterns by identifying peak ordering times during day or night
β’ Segment customer behavior to understand when different customer groups prefer to complete wine orders
Tip: Select multiple AM/PM values to create comprehensive time-of-day filtering for more nuanced order analysis across broader time ranges.
This summary was generated by AI.
π Quick Stats:
π·οΈ Type: string
π Build Beyond Limits Group: Order General
π Description
This is the AM/PM representation of in local time zone of the order_completed_date
Enopedia
We extract the hour from the time and it returns just the hour component as an integer from 0-23, discarding any minutes or seconds.
Here's how it works:
10:15:30 AM β extracts hour as
10(not 11)10:45:59 AM β extracts hour as
10(not 11)10:59:59 AM β extracts hour as
10(not 11)
The code then converts 24-hour format to 12-hour format:
Hour 0 (midnight) β "12 AM"
Hours 1-11 β "1 AM" through "11 AM"
Hour 12 (noon) β "12 PM"
Hours 13-23 β "1 PM" through "11 PM"
So an order completed at 2:45:30 PM would show as "2 PM" in the order_completed_hour_am_pm field, effectively grouping all orders from 2:00:00 PM to 2:59:59 PM together.
β
π Build Beyond Limits Group
Order General
π Other Dimensions in this Group
Bundle Item Quantity
Bundle Item Quantity Ratio
COS
βοΈ Technical Details
Type: string
βΉοΈ Additional Details
Created: 2024-10-02T20:41:00Z
Key:
[dimension].[Completed Hour AM/PM]ID:
f1a01815-b54a-4a6f-8e64-27c08c0bd7c2
π·οΈ Tags
Completed Hour AM/PM
Order General
