Tags are used to group data rows in a data table by attaching tags to rows. For example, if you want to gather the top 100 values into a common category, or to split results into categories like "Good", "OK", and "Bad" where you decide the boundaries:
With that in mind, if you apply tags to on-demand data table rows, you might observe that sometimes Tags are not retained after on-demand data table refresh, even though data table's key columns specified are unique and do not contain null values as mentioned in article about
retaining Tags.
Such a situation can arise when the on-demand data table is refreshed with different sets of inputs than the previous refresh from when tags were created and attached to the marked rows.
For example:
Suppose, you mark position '2B' and 'C' in 'Imported' table and related rows get populated in 'On Demand' table. Then you mark some rows in 'On Demand' table and attach those to tag 'MarkedTags' as shown below:
Now, you change the selection in 'Imported' table to '1B' and related rows get populated in 'On Demand' table. You will observe that the markings are no longer present in 'On Demand' table since the data has changed and rows/values tagged are also lost:
Then you again mark position '2B' and 'C' in 'Imported' table assuming they would now get appear in tags as well because 'NAME' unique column has been specified in Key columns of table2. But tags are still 0 and previous tagged rows/values are lost: