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
    • Empower Replay: Limited Edition
    • 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
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

GQI Custom Operator – Get column values

Solved124 views4 days agoGQI GQI custom operator
1
Ive Herreman [SLC] [DevOps Enabler]13.84K 24th June 2025 4 Comments

Hi,

I'm following this tutorial to create a custom sort operator for GQI.

The example is going over the table row by row to identify the relative sorting position.
However, in my use case, I need the full column dataset to determine the relative sorting position.

Is there a way for me to get all values from a given column in my custom operator?

Ive Herreman [SLC] [DevOps Enabler] Selected answer as best 4 days ago
Tomás Martins [SLC] [DevOps Member] commented 24th June 2025

Hi Ive.

You can retrieve the entire column, through "header.GetColumn(columnName), in the HandleColumns method.

You can find more details about the HandleColumns method on the docs:

https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/GQI/Extensions/Custom_Operator/Tutorials/Custom_Operator_Tutorial.html?q=HandleColumns

It receives a GQIEditableHeader as argument, which can access individual columns:
https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/GQI/Extensions/API_Reference/GQIEditableHeader.html?q=GQIEditableHeader

There is also a full example on documentation about custom sorting:

https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/GQI/Extensions/Custom_Operator/Tutorials/Redirect_Sort_Operator.html

Ive Herreman [SLC] [DevOps Enabler] commented 25th June 2025

Hi Thomas,

Thanks for your feedback.
However, from the provided documentation, I'm unable to figure out how I can get all values in one column in one go.

The GQIColumn class doesn't seem to contain a method or property to fetch the info.

Do you have an example?

Tomás Martins [SLC] [DevOps Member] commented 25th June 2025

I'm sorry, I have misread your question. I don't think it is possible to get the entire column.

Steve Purcell [SLC] [DevOps Advocate] commented 27th June 2025

Hi Ive,

Not sure if it would work for your application, but have you tried using the 'Column Manipulations' method 'RegExMatch', where you can create a new column in the GQI table based on the RegexMatch results of selected column, then sort off this new results column? It may take a couple column manipulations as Regex in GQI only acts off the first match, you cannot group them together.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Ronald Gerard [SLC] [DevOps Advocate]1.93K Posted 4 days ago 0 Comments

Hi Ive,

With a custom operator it is currently not possible to access all column values at once. However, it should still be possible to apply any sort order.

The key is to find a mapping of for the cell values you want to sort to a related set a values that can then be sorted by default sort operator.

This mapping can be implemented using a custom operator, and can be linked to your original column for sorting by using the Sort Redirector operator from the catalog.

Example

Let's assume you have a column called "Numbers" with possible values "One", "Two", "Three", "Four" that when sorted should be in this numerical order.
By default, when sorting on this column the values would be sorted alphabetically: "Four", "One", "Three", "Two". We don't want this.

To change the sort order:

  1.  Create a new custom operator "Calculate sort values" that does the following:
    1. Takes as input the column with the original values
    2. Adds a new integer column, let's call it "Sortable"
    3. For every row in the data set:
      1. Gets the original cell value from the row
      2. Maps the original value to its numeric value ("One" -> 1, "Two" -> 2 etc.)
      3. Stores the numerical value in the new "Sortable" column of this row
  2. Create the following query:
    1. Your original query
    2. Custom operator: "Calculate sort values"
      1. Argument: "Numbers" column
    3. Custom operator: Sort Redirector
      1. Redirect from column: "Numbers" column
      2. Redirect to column: "Sortable" column
    4. Select: all but the "Sortable" column to remove it from the end result

Now, whenever a Sort operation is performed on the "Numbers" column of this query, the rows will be sorted using the corresponding numerical values from the "Sortable" column.

Note

As of DataMiner 10.5.9, Custom Operators do not support real-time updates yet. If this is a requirement, the only viable solution is consolidate all the custom operator logic together with the rest of your query into a single ad hoc data source.

Ive Herreman [SLC] [DevOps Enabler] Selected answer as best 4 days ago
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

© 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