• Home
  • Visit Our Website
  • Home
  • Visit Our Website
Visit Our Website

Users

188
  • Getting Started
    • How to Log into Assette
    • The Assette Home Page
    • The Assette Navigation Bar
    • Glossary
  • Authoring Center
    • Smart Docs
      • Smart Docs
      • How to Create a Smart Doc
      • Copying and Restoring from Version History
      • Tracking Changes with Life Events
      • Smart Docs X-Ray View
      • Smart Doc Troubleshooting
      • Troubleshooting
        • Troubleshooting Smart Docs
    • Smart Pages
      • Creating & Editing Smart Pages
      • Smart Pages
      • How to Unlock a Smart Page
      • Deleting Smart Pages
      • Tracking Changes with Life Events
      • How to Insert Blank Columns and Rows
      • Changing a Smart Page’s Size
      • Supported PowerPoint Charts
      • Copying and Restoring from Version History
      • Smart Page X-Ray View
      • Smart Page Content Classifications
      • Compliance Tags
      • Assette Editors
        • PowerPoint Editor
          • How to Add New Series to a Chart
          • How to Insert Images Using the Assette Ribbon
          • Assette Ribbon
            • The “Un-Fabricate” Button
          • Troubleshooting
            • Resolving “Failed to Open” Errors in the Assette PPTX Editor
            • Installing the Assette PowerPoint Editor
            • How to Check Your Microsoft PowerPoint Version
          • Advanced Settings
            • Advanced Settings Overview
            • General Tab
            • Margin Tab
            • Zigzag Tab
    • Fixed Content
      • Fixed Content
    • Data Docs
      • Data Docs
    • Smart Shells
      • How to Preview Smart Shells
      • Coupled Shells
      • Smart Shells
      • Tracking Changes with Life Events
      • Copying and Restoring from Version History
      • Creating Smart Shells Using the Smart Shell Library
      • Editing Smart Shells Using the Smart Shell Library
      • Creating Smart Shells via Assette’s PowerPoint Editor
      • How to Refresh Smart Shells
      • Deleting Smart Shells
      • Renaming Smart Shells
      • Smart Shells X-Ray View
      • Smart Shell Content Classifications
      • Performance History Chart
      • Smart Shells Frequently Asked Questions (FAQ)
      • Creating an “As of Date” Smart Shell
    • Brand Themes
      • Assette Dynamic Brand Theme Setup
      • Brand Themes
      • Managing Multiple Themes Within a Single Brand Theme
      • Creating a Brand Theme
      • Shell Styling
      • Dynamic Brand Themes
      • Master Slide Layouts for Dynamic Brand Themes
      • Changing a Smart Page’s Size
    • Email Templates
      • Using Variables in Assette Email Templates
      • Email Templates
    • Additional Features
      • Using Quick View in Assette
      • Automatic Extension Correction
      • X-Ray View Overview
      • The Generation Screen
      • Compare Versions
        • Compare Smart Page Versions
    • Authoring FAQs
      • Understanding the Difference Between My Workspace and Workrooms
      • What’s the Difference between Footnotes & Coupled Shells?
  • Content Hub
    • Library
      • Saved Trays in the Assette Library
      • Content Library
      • Content Generation and Sharing with Content Library
    • My Workspace
      • Adding Generated Content to a Workroom or Workspace
      • Editing Generated Content
      • Removing Content from My Workspace
      • Copying Content to My Workspace
      • My Workspace
    • RFPs & DDQs
      • Implementing the Assette RFP Module
      • Editing, Reordering, and Categorizing Questions
      • Editing an RFP Answer
      • Uploading an RFP to the Assette
      • RFPs & DDQs
    • Workrooms
      • Adding Generated Content to a Workroom or Workspace
      • Editing Generated Content
      • Removing Content from a Workroom
      • How to Edit Content in a Workroom
      • Copying Content to a Workroom
      • Workroom
    • Assette Viewer
      • Disabling or Removing the Assette Outlook Add-in
      • Assette Viewer Overview
      • Assette Viewer Basics
    • Content Center
      • How to Add a New Organization to the Organization Master
      • Content Plan Data Model
      • Content Plans
      • Content Types
      • Using Advanced Search in the Content Library
  • Data Engine
    • Input Center
      • Input Center Overview
      • Data Files Overview
      • Recipients
      • External Content Overview
    • System Data
      • System Data
    • Data Files
      • Troubleshooting Data Files Uploads
    • Data Validations
      • Data Validations
    • Qualitative Data
      • Adding and Editing People in Qualitative Data
      • Qualitative Info
      • Ownership Data
      • Firm Overview
      • People Data
      • Master Questionnaire
    • Disclosures
      • Managing Disclosure Fragment Categories
      • Creating or Editing a Disclosure Fragment
      • Disclosures versus Footnotes
      • Disclosures
  • Analytics
    • Usage Analytics
      • Content Sharing Analytics
    • Workflow Analytics
      • Workflow Analytics Overview
    • Component Analytics
      • Search and Filtering in Component Analytics
      • Component Analytics
      • Using X-Ray with Component Analytics
      • Templates Analytics
        • Templates Dashboard
      • Brand Theme Analytics
        • Brand Theme Analytics
      • Section Analytics
        • Sections Dashboard
      • Shell Analytics
        • Shells Dashboard
      • Data Block Analytics
        • Data Blocks Dashboard
  • Administration
    • Workbox
      • Workflow Path
      • Workbox Frequently Asked Questions (FAQ)
      • Workbox Basics
    • Content Types Master
      • Overview of the Content Types Master
      • Creating an Input File Content Type
      • Understanding Purpose in Content Types
      • Content Groups
      • Creating Content Types
      • Content Classes
      • Content Filename Aliases
    • Users
      • Work Group Basics
      • Internal Users
        • Internal User Roles & Responsibilities
        • Manually Creating Users in Assette
        • Reset or Unlock User’s Accounts
        • SSO Internal User Roles & Tasks
      • Work Groups
        • Creating & Editing Work Groups
        • Creating Subgroups
    • Workflows
      • Workflows Basics
      • Workflow Frequently Asked Questions (FAQ)
      • Workflow Management
        • Workflow Management Overview
        • Workflow Reassignment
      • Workflow Design
        • Client Portal User Approval Workflow
        • Editing or Deleting a Workflow
        • Creating a Workflow
        • Creating Conditional Workflows
    • Product Master
      • Adding or Editing a Product
      • Composite vs. Rep Accounts
      • Product Master Overview
      • Deactivating & Deleting Products
      • Troubleshooting Product Master Errors
    • Classification Master
      • Classification Master Overview
      • How to Manage Content Classifications
      • Creating & Managing Labels
      • Labels
      • Limitations
      • Compliance Tags
      • Data Ingredients Overview
    • Configurations
      • Attribution Data Objects Configurations
      • Batch Configurations
        • Smart Doc Name Format
        • Batch Configurations
  • Client Portal
    • Security Overview for the Assette Client Portal
    • Client Portal Overview
    • Creating Notifications for Client Portal Users
    • Client Portal Users
      • Client Portal User Workflow Lifecycle
      • Client Portal Frequently Asked Questions (FAQ)
      • Client Portal Session Handling
      • Log into the Assette Client Portal
      • Managing User Access in the Client Portal
      • Creating a New Portal User
      • Editing or Creating Portal Users
      • Deleting a Client Portal User
      • Monitoring and Accessing User Login Activity for Client Portal
  • Tutorials
    • RFP Module Implementation Checklist
    • When to Create a New Artefact in Assette
    • Creating a Fixed-Row Zigzag Table
  • Legacy Support
    • Assette Centers [Legacy]
    • Data Validations [Legacy]
    • Assette Roles Overview [Legacy]
    • Create & Manage Attributes [Legacy]
    • Internal Users Management [Legacy]
    • Legacy Authoring Center
      • Data Object Library [Legacy]
      • Data Docs [Legacy]
      • Smart Shells [Legacy]
      • How to Create a New Smart Page [Legacy]
      • Legacy Smart Pages
        • Creating and Editing Smart Pages [Legacy]
      • Legacy Smart Docs
        • Creating a Smart Doc [Legacy]

Developers

213
  • Getting Started
    • The Assette Navigation Bar
    • User Login & Creation
      • Add Assette Users with Azure AD
      • Developer Roles & Permissions
      • How to Create & Assign Permission Groups
      • Permission Groups Overview
    • Implementation Overview
      • Introduction to Assette Implementation
      • The Assette Implementation Approach
      • What Data is Required to Start?
      • Connecting to Source Systems with Assette
      • Essential Data Blocks
      • Fields Synchronized with Assette
  • Developer Tools
    • Tool Setup
      • Developer Tools Overview
      • Assette Development Stack
      • Developer Center Configurations
      • Prohibited Data Block Keywords and Built-ins
      • Python Data Block Libraries & Keywords
      • Troubleshooting
        • Troubleshooting AxiosError-500 Errors
        • Assette VS Code Extension Troubleshooting
    • Data Block Editor
      • Using Nested Functions in Data Blocks
      • Importing Python Libraries
      • Import & Export Data Blocks
      • Data Block Unit Testing in Python
      • Data Block Editor Basics
        • Introduction to the Data Block Editor
        • Calculation Operators and Precedence
        • Secret Management
        • How to Copy & Delete Data Blocks
        • Creating & Editing Data Blocks
        • How to Freeze Data Blocks
      • Data Block Keywords
        • Understanding the “response” Keyword in Assette Data Blocks
        • Understanding the ‘read’ Keyword in Assette Data Blocks
      • Data Block Editor Metadata
        • How to Update Data Block Metadata
      • Data Block Editor Troubleshooting
        • Troubleshooting API Authentication Issues
    • Data Object Editor
      • Troubleshooting Data Object Run-Time Errors
      • Applying Row Filtration with Data Objects
      • Locking a Data Object
      • Introduction to the Data Object Editor
      • Dynamic Row Numbering
      • Force Unlocking a Data Object
      • Editing Data Objects
      • Creating Data Objects
      • Data Object KeyError
      • How to Copy & Delete Data Objects
      • Generation Time Data Settings
      • Importing & Exporting Data Objects
      • Design View
        • Data Settings Tab
          • Data Settings Tab
        • General Info Tab
          • General Info
          • Styling Classes
        • Data Source Tab
          • Data Source Tab
        • Columns Tab
          • Columns Tab
          • Date Formats
        • Groupings Tab
          • Grouping Tab
          • Group Expressions & Group Ordering
          • Creating Group Header Rows
          • Creating Group Summary Rows
          • How to Create “Group By” Data Settings
        • Sorting Tab
          • Sorting Tab
        • Summary Tab
          • Summary Tab
        • Row Types Tab
          • Row Types Tab
        • Title & Footnotes Tab
          • Title & Footnotes Tab
        • Legend Tab
          • Legend Tab
        • Output Variables Tab
          • Output Variable Tab
        • Internal Variables Tab
          • Internal Variables
          • Internal Variable Type Assignment
        • No Data Message Tab
          • No Data Message Tab
      • Expressions
        • The “round(value, n)” Expression
        • Expressions, Operators, & Functions
        • The “Contains()” Function
        • The “HasValue()” Function
        • The “NOT” Operator
        • The “OR” Operator
        • The “<> Not Equal To” Operator
        • The “>= Greater Than or Equal To” Operator
        • The “ADD” Expression
        • The “AND” Expression
        • The “Divide” Expression
        • The “Minus” Expression
        • The “Multiply” Expression
        • The “<= Less Than or Equal to” Operator
        • The > Greater Than Operator
        • The “==” Equals Operator
        • The Grouping Operator “()”
        • The < Less Than Operator
    • Dynamic Fields
      • Dynamic Fields
    • Footnote Editor
      • Footnote X-Ray View
      • Footnote Editor
      • How to Create & Edit Footnotes
      • Import Variables & Columns
    • Tenant Manager
      • Failed Validations in Tenant Manager
      • Deployment Statuses
      • Tenant Manager Overview
      • Deploy Content Using the Assette Tenant Manager
      • Review Artifacts
      • Tenant Manager Troubleshooting
      • Tenants in the Tenant Manager
      • Deployment Processing & Error Logging
    • Visual Studio Code
      • Assette Visual Studio Code Extension
      • How to Find Where a Component is Used in the VS Code Extension
      • Error and Status Messages Reference
      • Signing Into the Assette VS Code Extension
      • VS Code Frequently Asked Questions (FAQs)
      • Installing the Assette Block Editor VS Code Extension
      • Assette VS Code Extension Troubleshooting
  • Data Blocks
    • Data Block Basics
      • Restricted Keywords and Functions
      • Stacking Decorator Blocks
      • Decorator Data Blocks
      • Publishing Data Blocks
      • Data Block Basics
      • Data Block Categories
      • Data Block Request Parameters
    • Data Blocks by Category
      • Understanding Assette Data Blocks
      • System Data Blocks
        • Organization Add Data Block
        • Organization Master Data Block
        • Get Recipient Info Salesforce Transform Data Block
        • Get Recipient Info Salesforce Data Blocks
        • Get Recipients LocalDB Data Block
        • Get Recipient Info Local Data Block
        • Recipient Master Data Block
        • Attribute Type Values Local Data Block
        • Brand Theme Selector Data Block
        • Brand Theme Extract Data Block
        • System Data Blocks Overview
        • Account Master Data Block
        • Asset Classes Local Data Block
        • As of Dates Data Block
        • Countries Data Block
        • Currency Codes Data Blocks
        • Product Master Data Block
        • Sub Accounts Client Database Data Block
        • Sub Accounts Local Database Data Block
        • Sector Schemes Data Blocks
        • Sectors Data Block
        • Sub Accounts Data Block
      • Sync Data Blocks
        • Sync Data Block Overview
        • Country List Sync Data Block
        • Product Master Sync Data Block
        • Attribute Type Values Sync Data Block
      • Source Data Blocks
        • Source Product Offer Countries Data Block
        • Source Sub-Accounts Relationship Data Block
        • Source List of Attribute Type Values Data Block
        • Source Extract Accounts Details Data Block
        • Source Account Attributes Values Data Block
        • Source List of Currency Codes Data Block
        • Source Product Master Extract Data Block
      • Transform Data Blocks
        • Validation Account Performance Factors Data Block
        • Assette Get Valid Periods Data Block
        • System Period Information Data Block
        • Assette Get Begin & End Date Data Block
        • Source Extract Accounts Details Data Block
      • Interface Data Blocks
        • Strategy Info for Product Data Block
        • Organization Read Local Data Block
        • Sectors Local Database Data Block
        • Assette Period Code Map Data Block
        • Account Attribute Mapping Local Database Data Block
        • Account Attributes Local Database Data Block
        • Source Product Master Extract Data Block
        • Source List of Currency Codes Data Block
        • Source Account Attributes Values Data Block
        • Product Master Local Data Base Data Block
      • Configuration Data Blocks
        • Salesforce Settings Data Block
        • Configuration Data Block Overview
        • Calculation Python Environment Data Block
        • Python Data Calculation Modules Data Block
        • Python Environment for Date Calculation Data Block
        • Demo Snowflake Setting Data Block
        • Snowflake Demo Certificate Data Block
        • Calculation Environment Data Block
    • Data Blocks by Functionality
      • Get Major Minor Ticker Data Block
      • Account Master
        • Account Master Data Block
        • Filtering the Account Master Using Account Codes
      • Qualitative Information
        • Personnel Information Data Block
      • Assette Helper Data Blocks
        • Get Formatted Date Data Block
    • Example & Demo Blocks
      • Demo Asset Class Data Block
  • Data Objects
    • Data Objects
    • Data Object X-Ray View
    • Introduction to Data Objects
  • Integrations
    • Salesforce
      • Connecting Salesforce with Assette
    • Snowflake
      • Source Account Attributes Values Data Block
      • Snowflake Integration
    • Aprimo
      • Assette-Aprimo Integration Overview
      • Inserting Content with Aprimo
      • Aprimo Image Library Data Block
      • Aprimo Thumbnail Image Library API Data Block
      • Modifying the Aprimo API Records Data Block
      • Aprimo Data Blocks
        • Aprimo API Post Order Data Block
        • Aprimo Image Thumbnail Data Block
        • Aprimo API Single Record Data Block
        • Aprimo API Records Data Block
        • Aprimo API Order Status
        • Image Content Data Block
  • Developer FAQ
    • Batch Generation Architecture
    • How to Add a New Product to the Product Master
    • How to Add New Attributes to the Attribute Master
    • Data Blocks Frequently Asked Questions (FAQ)
    • Data Object Frequently Asked Questions (FAQ)
    • Tenant Manager Frequently Asked Questions (FAQ)
    • TLS Email Encryption via SendGrid
    • Data Block Cheat Sheet
    • Why Can’t I Edit a Data Object?
    • How Do Unit Tests Work in Assette?
    • Enable Assette Add-In in Case of Failure
    • How Do I Log into Snowflake?
    • Period Codes
    • Developer Tools FAQs
      • Artefact Name Change Handling
      • Removing Blank or NULL Columns
      • How to Display Different Values in the Account Code Dropdown in the Data Object Editor Preview
      • When and Why You See an Impact Change Message in the Developer Center
  • Tutorials
    • Creating a Correlation Matrix Table
    • Data Block Tutorials
      • Structuring Data for Time-Series Charts in PowerPoint
      • How to Cache Data Using Data Blocks
      • Creating a Certificate Data Block
      • Making Public API Calls Using Assette Data Blocks
      • Using Data Blocks to Make API Calls
    • Data Object Tutorials
      • Creating Dynamic Column Headings
implementation

Implementation

18
  • Getting Started
    • Welcome to the Assette Implementation Guide
  • Planning Your Implementation
    • Assette 101
    • The Three Layer Model
    • What to Expect from Implementation
  • Platform Layers
    • The Data Engine
    • Authoring Center
    • Content Hub
  • Assemble Your Implementation Team
    • Technical Environment & Tenant Setup
    • Building Your Implementation Dream Team
    • Scaling Your Implementation Across Strategies & Modules
  • Working With Data
    • Content Inputs
    • Prepare and Shape Your Data
    • Real-Word Examples
  • Implementation Process & Support
    • Implementation Steps
    • Analyze Backward, Build Forward
    • Assette Support & Roles
  • ACE Training
    • How ACE Training Works
    • ACE Syllabus
  • Home
  • Docs
  • Developers
  • Data Blocks
  • Data Blocks by Functionality
  • Get Major Minor Ticker Data Block

Get Major Minor Ticker Data Block

7 min read

The Get Major Minor Ticker (ast_fn_GetMajorMinorTicker) Data Block is designed to dynamically generate a sequence of date “ticks” between a given “begin_date” and an “as_of_date”. Depending on inputs, it can emit monthly, quarterly, annual, or auto-calculated periods based on dataset “size” and the elapsed time window. The output is a simple data table with a single Period column (ISO date strings) designed to drive other blocks’ layout or chart tick marks. This Data Block is part of Assette’s charting helper Data Blocks, allowing content creators to control and customize time intervals on a chart. It serves as a helper utility to determine date markers (ticks) that can be applied as axis labels and gridlines within PowerPoint.

Purpose and Usage #

This block helps users:

  • Generate time intervals dynamically based on input parameters such as account history or chart size
  • Create major/minor tick marks for use in charts (e.g., monthly, quarterly, annual intervals)
  • Support flexible rendering across different chart sizes and data ranges
  • Power Smart Shells or other template components that depend on time-based scaling

Note: This Data Block does not generate charts. It is intended to be used as a data source for other Data Blocks or Data Objects that consume its output to drive visual rendering in templates.

General Info #

AttributeValue
Nameast_fn_GetMajorMinorTicker
Block CategoryInterface
Block TypePython
Output TypeData Table
EditableFalse
Public BlockTrue

Dependencies #

Data BlockDescription
PythonEnvForDateCalculationUsed to import Python libraries and modules for date calculations. [Link]

Columns #

N/A

Request Parameters #

This block accepts the following parameters to customize the output:

ParameterDescription
begin_dateThe start date of the time window, in YYYY-MM-DD format. The first period in the output is calculated from this date forward.
as_of_dateThe end date of the time window, in YYYY-MM-DD format. The last period in the output is guaranteed to align with this date, even if it does not naturally fall on a frequency boundary.
sizeA qualitative indicator of dataset scale (small, mid, or large). Used only when display_frequency = “auto” to determine how frequently ticks should be emitted.
display_frequencyDetermines how dates are generated:
• “auto” → System auto-selects frequency based on size and elapsed time window.
• “monthly” → Returns month-end dates.
• "quarterly" → Returns quarter-end dates.
• “annually” / “yearly” → Returns year-end dates.

These inputs allow downstream blocks to create context-aware axis markings that adjust based on history length, chart size, or user configuration.

How It Works #

The Get Major Minor Ticker (ast_fn_GetMajorMinorTicker) Data Block generates a sequence of dates (“ticks”) between a begin_date and an as_of_date. These ticks serve as anchor points for downstream Data Blocks or Data Objects that render time-based visuals. The behavior of the block is governed by the four request parameters:

begin_date

  • This sets the starting point of the time window.
  • The output sequence always begins from this date (or the nearest valid period boundary after it).
  • Example: if begin_date = 2023-01-01 and display_frequency = quarterly, the first period will be 2023-03-31 (end of Q1).

as_of_date

  • This sets the ending point of the time window.
  • The output sequence always includes this date, even if it doesn’t fall exactly on a frequency boundary.
  • Example: if as_of_date = 2025-06-30 and display_frequency = annually, the output will include 2025-06-30 even though it is not a year-end.

size

  • Used only when display_frequency = auto.
  • Represents the scale of the dataset and determines how coarsely or finely ticks are spaced over time.
  • The logic evaluates the age in years between begin_date and as_of_date and then applies different rules for small, mid, or large datasets:
    • Small datasets: More frequent ticks (quarterly, annually, or biennial depending on age).
    • Mid datasets: Moderate spacing (monthly, quarterly, semi-annual, or auto multi-year).
    • Large datasets: Coarser spacing (monthly, quarterly, semi-annual, or multi-year intervals).
  • Example:
    • If size = small and the period covers 7 years, ticks may be biennial.
    • If size = large and the period covers 12 years, ticks may be every 2+ years.

display_frequency

  • Dictates how ticks are generated:
    • Explicit values:
      • "monthly" → Returns month-end dates.
      • "quarterly" → Returns quarter-end dates.
      • "annually" / "yearly" → Returns year-end dates.
    • Auto-calculation (auto):
      • The block examines size + elapsed years to select a frequency.
      • Possible outcomes: monthly, quarterly, semi-annual, annual, biennial, or a multi-year custom interval.
  • Example:
    • If display_frequency = monthly, the output is every month-end between begin_date and as_of_date.
    • If display_frequency = auto, the output adapts intelligently to the dataset size and time span.

Example Use Cases #

The following examples demonstrate how the ast_fn_GetMajorMinorTicker Data Block responds to different parameter combinations. In all cases, the time window is defined as:

  • as_of_date = "2025-07-30"
  • begin_date = "2020-06-30"

Example 1: Auto Frequency with Small Dataset #

Request Parameters
This request asks the block to automatically determine frequency for a small dataset over ~5 years. According to the Advanced rules, this yields a biennial cadence.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "small",
  "display_frequency": "auto"
}

Response
The block emits biennial year-end ticks with the as_of_date appended.

{
  "data": [
    { "Period": "2020-12-31" },
    { "Period": "2022-12-31" },
    { "Period": "2024-12-31" },
    { "Period": "2025-07-30" }
  ]
}

Example 2: Auto Frequency with Mid Dataset #

Request Parameters
This request asks for an automatic cadence for a mid dataset over ~5 years. Advanced rules result in a semi-annual cadence.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "mid",
  "display_frequency": "auto"
}

Response
The block generates semi-annual ticks (June 30 and December 31), plus as_of_date.

{
  "data": [
    { "Period": "2020-06-30" },
    { "Period": "2020-12-31" },
    { "Period": "2021-06-30" },
    { "Period": "2021-12-31" },
    { "Period": "2022-06-30" },
    { "Period": "2022-12-31" },
    { "Period": "2023-06-30" },
    { "Period": "2023-12-31" },
    { "Period": "2024-06-30" },
    { "Period": "2024-12-31" },
    { "Period": "2025-06-30" },
    { "Period": "2025-07-30" }
  ]
}

Example 3: Auto Frequency with Large Dataset #

Request Parameters
For a large dataset over ~5 years, the block also selects a semi-annual cadence.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "large",
  "display_frequency": "auto"
}

Response
Semi-annual ticks are returned, identical in behavior to the mid-size example.

{
  "data": [
    { "Period": "2020-06-30" },
    { "Period": "2020-12-31" },
    { "Period": "2021-06-30" },
    { "Period": "2021-12-31" },
    { "Period": "2022-06-30" },
    { "Period": "2022-12-31" },
    { "Period": "2023-06-30" },
    { "Period": "2023-12-31" },
    { "Period": "2024-06-30" },
    { "Period": "2024-12-31" },
    { "Period": "2025-06-30" },
    { "Period": "2025-07-30" }
  ]
}

Example 4: Explicit Monthly Frequency #

Request Parameters
This request forces monthly ticks. The size parameter is ignored.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "small",
  "display_frequency": "monthly"
}

Response
The block generates every month-end date from June 2020 to June 2025, with the as_of_date appended.

{
  "data": [
    { "Period": "2020-06-30" },
    { "Period": "2020-07-31" },
    { "Period": "2020-08-31" },
    ...
    { "Period": "2025-06-30" },
    { "Period": "2025-07-30" }
  ]
}

Example 5: Explicit Quarterly Frequency #

Request Parameters
This request forces quarter-end ticks. The size parameter is ignored.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "mid",
  "display_frequency": "quarterly"
}

Response
The block generates quarter-end dates (March 31, June 30, September 30, December 31) and appends the as_of_date.

{
  "data": [
    { "Period": "2020-06-30" },
    { "Period": "2020-09-30" },
    { "Period": "2020-12-31" },
    ...
    { "Period": "2025-06-30" },
    { "Period": "2025-07-30" }
  ]
}

Example 6: Explicit Annual Frequency #

Request Parameters
This request forces annual ticks. The size parameter is ignored.

{
  "begin_date": "2020-06-30",
  "as_of_date": "2025-07-30",
  "size": "large",
  "display_frequency": "annually"
}

Response
The block generates year-end dates from 2020 to 2024, plus the as_of_date.

{
  "data": [
    { "Period": "2020-12-31" },
    { "Period": "2021-12-31" },
    { "Period": "2022-12-31" },
    { "Period": "2023-12-31" },
    { "Period": "2024-12-31" },
    { "Period": "2025-07-30" }
  ]
}

Best Practices #

When configuring and using the Data Block, keep the following guidelines in mind to ensure accurate and efficient results:

1. Always Use the Correct Date Format

  • Both begin_date and as_of_date must be in the format YYYY-MM-DD.
  • This avoids parsing errors and ensures consistent results across downstream Data Blocks.

2. Set a Meaningful Date Window

  • Choose begin_date and as_of_date that reflect the actual reporting or analysis period.
  • Avoid excessively long ranges unless needed; larger ranges can generate long date lists, which may impact performance when consumed by downstream blocks.

3. Use “auto” Frequency for Flexibility

  • When the correct spacing isn’t obvious, set display_frequency = “auto”.
  • The block will intelligently choose spacing based on the dataset size (small, mid, large) and the elapsed years between dates.
  • This reduces manual tuning and helps keep tick marks readable in charts or tables.

4. Use Explicit Frequencies for Control

  • If your reporting standard requires monthly, quarterly, or annual views, set display_frequency explicitly.
  • Explicit settings override size, ensuring predictable alignment to month, quarter, or year boundaries.

5. Match Frequency to Visualization Needs

  • Use monthly only when short-term precision is needed; otherwise, it can clutter visuals.
  • Use quarterly or annually for long-range reporting where clarity is more important than detail.
  • Use auto when your audience varies, allowing the block to adapt intelligently.

6. Use as a Dependency in other Data Blocks

  • Remember that this block does not produce charts directly.
  • Its best use is as a data source for ticks or labels in downstream Data Blocks that render time-series visualizations.

Additonal Information #

  • Python Environment for Date Calculation Data Block
Still stuck? How can we help?

How can we help?

Updated on August 25, 2025
Page Index
  • Purpose and Usage
  • General Info
  • Dependencies
  • Columns
  • Request Parameters
  • How It Works
  • Example Use Cases
    • Example 1: Auto Frequency with Small Dataset
    • Example 2: Auto Frequency with Mid Dataset
    • Example 3: Auto Frequency with Large Dataset
    • Example 4: Explicit Monthly Frequency
    • Example 5: Explicit Quarterly Frequency
    • Example 6: Explicit Annual Frequency
  • Best Practices
  • Additonal Information
Stay up to date on Assette news and updates with our Newsletter:
  • Platform
  • Modules
  • AssetteAI
  • Who We Are
  • Who We Work With
  • Platform
  • Modules
  • AssetteAI
  • Who We Are
  • Who We Work With
  • Platform
  • Modules
  • AssetteAI
  • Who We Are
  • Who We Work With
  • Platform
  • Modules
  • AssetteAI
  • Who We Are
  • Who We Work With
  • Blog
  • News
  • Events
  • Contact
  • Blog
  • News
  • Events
  • Contact
  • Blog
  • News
  • Events
  • Contact
  • Blog
  • News
  • Events
  • Contact

4 Faneuil Hall, 4th Floor
Boston, MA
02109 USA
Tel: +1.617.723.6161

Book a Demo
X-twitter Linkedin Youtube
  • Privacy Policy
  • © 2025 Assette. All Rights Reserved
  • Powered By Artrivo (PVT) Ltd.