Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visual Overview: How are timestamps internally represented?

Solved1.14K views14th December 2022Visual Overview
3
Robin Becker [DevOps Advocate]1.40K 12th December 2022 0 Comments

I can't seem to understand how timestamps are represented internally in visual overviews. I'm trying to use datetime and timestamp values but I don't really find it intuitive.

I have a parameter containing a timestamp and I want to see if this time has passed or not use that boolean as a conditional to show or hide a shape. Nothing happens when using

<A>-A|127701/259|307:[tableindex]|>[DataMinerTime]

When adding a text shape with the placeholder

[Subtract:[Param:127701/259,307,[tableindex]],[DataMinerTime]]

this shows correctly. For example if the time has passed it shows -01:00:00. However when trying to do

<A>-A|Value|[Subtract:[Param:127701/259,307,[tableindex]],[DataMinerTime]]|>0

or

<A>-A|Value|[Subtract:[Param:127701/259,307,[tableindex]],[DataMinerTime]]|Regex=^[\d:]+

neither works.

Robin Becker [DevOps Advocate] Selected answer as best 14th December 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 13th December 2022 4 Comments

I tried setting it up locally and it works as expected here with your final example. Your regex matches everything that contains ONLY a number or ':', meaning that if you use it as a Hide condition it will NOT SHOW all the positive timespans.

An even simpler regex for this would just be "-" though. If I set this as my Hide shape data, all positive results are hidden:

<A>-A|Value|[Subtract:[DataMinerTime],[Param:Data Insights,820,[tableindex]]]|Regex=-

If you are still encountering issues, feel free to reach out for some further investigation (maybe with sharing a dmimport package and your DMA version?).

Robin Becker [DevOps Advocate] Selected answer as best 14th December 2022
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 13th December 2022

The dash is used as a separator for multiple parts of your condition, you’ll need to change it using the [Sep:XY] syntax in order for this to work.

Toon Casteele [SLC] [DevOps Enabler] commented 14th December 2022

Thanks. Overlooked that part. But the regex comparison and the subtract in the extended condition definitely do work.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 14th December 2022

Indeed, although using a regular expression is less straight forward for this use case.

Robin Becker [DevOps Advocate] commented 14th December 2022

Good catch with the separator and the simpler regex! What seemed to be missing (not really sure why) was adding the shape data fields View: [this view] and Enabled: False.

1
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.72K Posted 12th December 2022 2 Comments

Hi Robin,

Great use case! Unfortunately, the extended shape manipulations do not support comparing datetime values (yet). So this is currently the expected behavior. However I do believe this is a nice use case.

Feel free to create a feature suggestion here and/or create a new feature request in your M&S project.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Edited comment 13th December 2022
Toon Casteele [SLC] [DevOps Enabler] commented 13th December 2022

While DateTime comparisons are not supported by the condition logic, I believe the last example Robin gives is a configuration issue? It uses the placeholder that worked and uses it as a value for a regex comparison. Let’s take some time to take a look at that one? Likely the [TableIndex] is not getting resolved correctly? This could easily be checked by doing a condition with ONLY the [TableIndex]

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 13th December 2022

@Robin, @Toon, the second example is probably failing on the minus (dash) character since that’s used to separate the different parts of an extended condition. Please try replacing the dash character with something else using the [Sep:XY] syntax.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin