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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Average Trend data fetching

Solved64 views2 days agoAHDS AS LCA
2
Alija Kusur [SLC] [DevOps Advocate]743 3 days ago 2 Comments

Hi all,

I am working on improving an element data table shown in LCA, by including the average trend data value (for custom time range), instead of current value, for trended columns.

So far, I was able to get the results in an ad hoc data source, but for 18 trended columns and ~100 rows, it takes ~1minute to get the data to the LCA.

Is there a way to request something like bulk parameters statistics in an ad hoc data source/automation script, as done by GetTrendStatisticsForParameter | DataMiner Docs, or any other idea that could make this work faster?

Alija Kusur [SLC] [DevOps Advocate] Selected answer as best 2 days ago
Miguel Obregon [SLC] [DevOps Catalyst] commented 2 days ago

Hi Alija,
Please could you provide us more details about the use case?
Is the intention to display all average trend data in a table component?
Or do you plan to aggregate and calculate the average value from a specific time range?

Alija Kusur [SLC] [DevOps Advocate] commented 2 days ago

Hi Miguel, the intention is to have a single average value for a parameter, index pair for a selected time range.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Miguel Obregon [SLC] [DevOps Catalyst]21.95K Posted 2 days ago 1 Comment

Hi Alija,

Calculating an average value for a parameter over a custom timespan at runtime will not be performant. For this type of use cases you could use DataAggregator.

DataAggregator allows you to schedule the execution of GQI queries. For example, running a GQI a query once a day to calculate the average value of a parameter for the previous day and storing the result in a CSV file.

You could then create an adhoc data source that reads the CSV files and compute  the required average based on the selected timespan in the LCA.

Hope it helps.

Alija Kusur [SLC] [DevOps Advocate] Selected answer as best 2 days ago
Alija Kusur [SLC] [DevOps Advocate] commented 2 days ago

Thanks for sharing this, Miguel.
The main concern for me is indeed performance. I believe that database-level aggregations are already efficient enough, so additional in‑code aggregation wouldn’t be necessary if a database aggregation approach existed, similar to how GetTrendStatisticsForParameter appears to work.
In any case, besides GetTrendStatisticsForParameter, I would also need an implementation that supports fetching data for multiple parameters in a single call, avoiding multiple round trips. Since it seems I might be the only one needing this functionality, I’ll most likely proceed with the Data Aggregator solution you shared.

You are viewing 1 out of 1 answers, click here to view all answers.
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
Privacy Policy • Terms & Conditions • Contact

© 2026 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