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

Visio: Color row based time passed and matching column

Solved670 views28th May 2024Visual Overview
1
Robin Becker [DevOps Advocate]1.40K 9th November 2023 1 Comment

I have a table of events with two columns, A: Start time & B: Label.

The start times can be both in the past(ongoing) and future (upcoming).
The table can contain rows with the same label appearing multiple times at different start times.
Labels will only appear as at most 1 ongoing row.

I want to colour the background of upcoming rows if that row's label appear on an ongoing row AND the start time of the upcoming row is within 10 minutes from current time.

I've tried SubscriptionFilter but since it can't be used to compare timestamps (VALUE=101<=[Sum:[DataminerTime],00:10:00]]) I'm stuck.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 28th May 2024
Toon Casteele [SLC] [DevOps Enabler] commented 10th November 2023

If I understand correctly you want to color a row if the label is ongoing on ANY row AND is also closeby on ANY row? i.e. you want to figure out which labels are close together in terms of time?

How do you visualize your rows? With a children shape? What do you have so far? Feel free to edit your question.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 13th November 2023 2 Comments

If I understand correctly, you are well on your way to a working solution, but the filter is not working?

DateTime fields are converted ToOADate when filtering. That means they are converted to a double.

Problem is I don't think there's a format string that can output this double from a datetime directly. You'd need to execute a script to execute the ToOADate method and then output the result.

Eventually though, I think you'll run into performance issues because DataMinerTime updates every second, so you'll be executing scripts and setting new subscriptionfilters every second...
To resolve this, you could:

  • Use the [DataMinerTime] as a timer to execute a script on page level. Format the DateTime with "mm" for instance rather than seconds so it doesn't execute the script every second but rather every minute.
  • Use the DateTime.Now + 10 min ToOADate in the script to output the current time in double.
  • Use that output in your subscriptionfilter.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 28th May 2024
Robin Becker [DevOps Advocate] commented 7th March 2024

How would I go about solving the first bullet point, executing a script every minute in visual overview?

Toon Casteele [SLC] [DevOps Enabler] commented 8th March 2024

https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/miscellaneous/Configuring_a_page_to_execute_a_script_automatically.html?q=executepage

You use the Trigger=ValueChanged here and then the DataMinerTime placeholder like I described in the bullet point somewhere in your Parameters for instance. Even though you might not want to use it in your script, using it like this will trigger the script whenever the value of the formatted DataMinerTime changes.

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