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

Dashboard table column number sort without leading zero

Solved1.18K views19th September 2023Dashboard GQI sort
2
Dave Keller [DevOps Enabler]1.60K 9th September 2023 0 Comments

Hi Dojo,

I have just created a dashboard with a GQI table to show the status of some switches.  Is it possible to correctly sort my uptime column by longest uptime, as it seems to be sorting based on the first digit.  So 1090 days is shown above 3 days, which is above 31 days, which is above 406 days.  I expect the issue wouldn't happen if there were leading zeros, but the data isn't in the element with leading zeros.

Thanks

Dave Keller [DevOps Enabler] Selected answer as best 19th September 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Ben Vandenberghe [SLC] [DevOps Enabler]9.06K Posted 9th September 2023 3 Comments

Hi Dave - others my have more input on this, but in any case I wanted to share already that maybe you can opt for a custom operator (if reformatting that data works around the sorting limitation that there seems to be).  With a custom operator, you can take data from any columns, manipulate it / reformat it, and create a new column with the result of that.  Configuring a custom operator for a query | DataMiner Docs

Irrespective, it is a very handy capability that can be used for many fun use cases, so worth knowing about.

Dave Keller [DevOps Enabler] Selected answer as best 19th September 2023
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 11th September 2023

Certainly, I think the problem here is that the column is currently being treated as text, causing it to consider only the first digit rather than interpreting the entire digit. By implementing a custom operator, you can convert this text into a number, and you can even preserve the display value. Once it’s recognized as a number, the sorting should function as intended.

Sebastian Ulloa [SLC] [DevOps Advocate] commented 11th September 2023

In the answers of this question: https://community.dataminer.services/question/low-code-app-table-component-sorting-on-ip-address-column/?hilite=sort
you can find an example on how to build a custom operator that sorts the column in a specific way, maybe you can use it as a base.

Dave Keller [DevOps Enabler] commented 15th September 2023

Thanks for the suggestions Ben and Sebastian(s).
I haven’t tried Custom Operator yet, as I believe that it’s still in soft launch, but it sounds like it might do the trick, especially when a device API returns values are a mixture of text and numbers.

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 0 Answers | 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