Dynamic table hide line

Hi everyone,

is it possible to hide a dynamic table row depending of the varuable value?

Hi Carlos!

You wouldn’t be able to hide the row itself, but you could use formulas to hide the data within the row.

If you could explain your use case a little more I might be able to give additional suggestions. :slight_smile:

Hi Freddy!

In our application we receive new data every 10 minutes. One of the data is the status of the product. Almost all status data received are “produtct OK” I would like to filter and hide the rows with this data and show only the rows with the information “product failure”. And Even the information “product failure” should be showed just once per failure occurance

Hi Carlos,

I see, in this case I would recommend you create a separate variable just for when a product is at a certain status, that way you can only show that specific status when using the dynamic table.

You could add a condition in the device payload parser to create the variable depending on the value of the original variable.

If you need help creating the parser or have another question just let me know!

Hi Freddy,

looks to be a good idea to create a new variable during the parse. However the product can became in failure mode for a long time. Then if I create a new variable, if the status value is “product failure” it will create many repeated rows in the dynamic table with the message “product failure”, and I would like just one row per failure occurance. I can do it using the analysis, cheking the last value received and adding a new variable value just if the current value if different from the last received. But I would like to avoid to use tha analysis.

Hi Carlos,

The dynamic table groups the different columns by using the variable’s group property. You can set up the payload parser to generate a new variable for each uplink that uses the same group property.

If the uplink is in failure mode, you can prevent the additional variable from being added to the uplink from within the payload parser by adding additional conditionals.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.