Looking for some help to understand the behavior or a better way to script this.
Writing a script to catch exceptions in the data. When version is GP but active is not X.
Names Default To Here( 1 );
dt = Current Data Table();
df = dt << Data Filter(
Location( {138, 181} ),
Add Filter(
columns( :Active, :Version ),
Where( :Active != "X" ),
Where( :Version == "GP" )
)
);
Then the rest of the script subsets that data and creates a tabulate from that subset.
The problem I am encountering is when all rows have Active == X. The filter is selecting all rows. I suppose that's because it's not finding an alternative to X which is blank (not missing). What's the best way to handle this?
Result of the above code: