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

Previous visual data not removed if a new filter has no data

Solved1.23K views13th January 2021Visio Visio variables
1
Blake Smethers [SLC] [DevOps Advocate]980 7th January 2021 0 Comments

I'm working with a visio where we filter a table in an element to grab some cable modem metrics (e.g. Total, # offline, % offline) based on the manufacturer of the cable modem. The filter looks like such:
1401:*[cardVar:_CabModManufacturer]*

The card variable is set by another shape. You can see it in action below:

However, if I remove the filter, the data gathered remains:

How can I remove the old data so it is empty if the filter is removed?

I tried doing an Execute on the page level to replace the variable with "N/A" so the filter wouldn't work (no matches in the table), but the old data is still there. See below:

Any help is appreciated, thanks!

Blake Smethers [SLC] [DevOps Advocate] Selected answer as best 13th January 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 8th January 2021 3 Comments

A solution like the one you proposed at the end of your question should work. Try making an intermediate variable and using a regexreplace in your execute page data to turn it into N/A when the variable is empty.

Here's how I did it and the result below it both for an empty filter and one that's filled in.

Blake Smethers [SLC] [DevOps Advocate] Posted new comment 13th January 2021
Blake Smethers [SLC] [DevOps Advocate] commented 8th January 2021

Hi Toon, thanks for the reply.
What you said is exactly what I tried, but the Regex was slightly different. See here:
SET|CardVariable|_CabModManufacturer|[RegexReplace:^(?![dD]),[cardVar:CabModManufacturer],N/A]|SetTrigger=ValueChanged

I unfortunately can’t paste more pictures here (in a comment), but they will be similar to whats shown above. However the results are still the same, the old data is shown after I display the variable. I will email you the pictures as a follow-up, and see if I can add them to the original question.

Toon Casteele [SLC] [DevOps Enabler] commented 13th January 2021

As a follow up:

What happens is a filter that yields no results also sends no event from the server to the client. So no update to the value happens if you use a filter like *N/A*.

A solution would be to hide the shape when the filter is empty and show a different one (e.g. “no filter specified”) with a show condition on the same thing.

Blake Smethers [SLC] [DevOps Advocate] commented 13th January 2021

Thanks once again for the help Toon! Hope others get use out of this as well.

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 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 (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) 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