LogoDark mode logo
LogoDark mode logo
Contact SupportLoading Light/Dark Toggle

    • AdventureWorks
    • Au2mator
    • Azure DevOps Analytics
    • Azure Virtual Machines Health
    • Jira Health dashboard
    • Kubernetes Monitoring dashboard (with Prometheus)
    • M365
    • Microsoft Dynamics AX 2012: System Information Dashboard
    • Microsoft Teams
    • Octopus Deploy
    • PagerDuty
    • Pingdom dashboard
    • Salesforce
    • ServiceNow
    • SolarWinds Orion: Nodes and their health status
    • SQLFacts
    • SQL Page Timeframe
    • SQL Samples
    • Symantec Endpoint Protection
    • Team Presence
    • Teqwave
    • Uptime Robot
    • VM Insights Metrics
    • VM Updates
    • VMware: Status of VMs
    • Zendesk Support
  • How to integrate and visualize your external data
  • How to create a dashboard
  • Recycle Bin
  • Working with perspectives
  • Action buttons for dashboards and perspectives
  • VADA perspective
  • How to scope tiles
  • Timeframes for tiles
  • Grid Designer
  • Performance Metric Labels
  • How to use wildcards in metrics
  • How to show multiple metrics on one graph (v4.2 and below)
  • How to use Custom Labels
  • How to use criteria when scoping alerts
  • How to use criteria when scoping objects
  • How to run SCOM tasks
  • How to enable graph color matching
  • Sharing Dashboards with anyone - Open Access

dashboardingdashboard packssql page timeframe

SQL Page Timeframe

This article describes how to download a specific dashboard pack. You can download dashboard packs from dashboards.squaredup.com and learn more about how dashboard packs work here: Dashboard Packs.

Description

Sometimes, the hardest thing to deal with when designing a dashboard are date and time fields. When writing a SQL query, getting the date and time to format correctly can be a real pain. What is the current date and time, and how is it formatted? What happens if I want the date and time from 30 days ago? This SQL Page Timeframe dashboard demonstrates how the current date and time are displayed. Each tile on the dashboard does something different with the Date and Time, including an example how the page timeframe in SquaredUp DS impacts the date and time in a SQL query.

The page timeframe is the timeframe setting a dashboard or perspective is currently using. These timeframes are all relative to the current time, for example 7 days ago until now. When a user changes the page timeframe, all tiles that have use page timeframe set will adapt to the new timeframe. (Tiles that do not have use page timeframe set (i.e. are set to specific timeframe or custom timeframe) are not affected and won't change.)

The custom option can be used to set timeframes using ISO 8601 format

SquaredUp DS does not support the week notation.

How do I import and configure this dashboard?

  1. Ensure you're using SquaredUp DS v5.4 or above.

    Already a SquaredUp customer?

    Get the latest version of SquaredUp DS for SCOM

    New to SquaredUp?

    Try it for free

  2. Download and import this dashboard pack.

    1. Download the dashboard pack zip file for the dashboard pack you wish to import.

      There may be additional steps before or after the import to get the dashboard working in your environment.

    2. In DS for SCOM go to the top right hand menu ☰ > Import Dashboard Packs and drag the zip file into the Manual Import box.
    3. The dashboard pack is imported and if the pack contains top-level dashboards, these will automatically appear in the navigation bar, usually in a folder called 'Community Dashboards' for dashboard packs from the SquaredUp Community. If the dashboard pack also contains perspectives (see Working with perspectives), then you'll see these when you drilldown to the relevant object.
    4. Carry out any additional steps required to make the dashboard work in your environment. These steps will be described on the download page for each dashboard. For example, you may need to create the correctly named Web API provider, create a PowerShell profile, or edit tile collections.
    5. Edit the imported dashboard as required.

  3. Replace the connection string in each of the seven SQL tiles with the connection string to your own OperationsManagerDW database.
    Note: This dashboard requires a connection to SQL Server, but any database can be used. To make things simpler, the Master database was chosen, but the target database can be changed as needed.
    1. Edit the tiles by clicking the Edit button.
    2. Open the connection panel.
    3. Enter the connection string global:dw.
  4. Publish the dashboard.

    A newly created dashboard will not be visible to others until it is published.

    Only admins can publish dashboards, unless you have been given author permissions to a Team Folder see Team Folders

    If you made changes to an existing dashboard, the changes will only be visible to others after you published the dashboard again.

    You can identify a dashboard that has not been published yet or has unpublished changes by the unpublished button at the top:

    When you click on the unpublished button, you'll have two options:

    • Publish will make the dashboard or changes visible to others.
      Note: A newly created dashboard will appear on the menu where you created it. To move the dashboard to a different place on the navigation bar see How to edit the Navigation Bar.
    • Discard will delete your draft dashboard if it has never been published or, if you made changes to an already published dashboard, discard the changes.

    Publishing dashboards to different audiences

    Find out how to publish dashboards to a subset of users using Team Folders or visible to anyone even unlicensed users with Open Access (Sharing Dashboards with anyone - Open Access).

Was this article helpful?


Have more questions or facing an issue?
Submit a ticket

On this page

  • Description
  • How do I import and configure this dashboard?

Footer

Sites

  • SQUAREDUP
  • SQUAREDUP DS
  • DOWNLOAD
  • COMMUNITY ANSWERS

Quick Links

  • SUBMIT A REQUEST
  • EVENTS
  • CAREERS

Small Print

  • PRIVACY POLICY
  • TERMS AND CONDITIONS
Youtubex (Twitter)LinkedIn

© SquaredUp 2025