This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Upgrading Server to version 22.1? We’ve enabled the faster AMP engine by default. Read about how these system settings changes might affect you.
2022-05-24 Updates: Login: If you are facing issues with logging in, please try clearing all your cookies or trying another browser. We have a fix being deployed on the evening of 5/25. Email: If you're not seeing emails be delivered from the Community, please check your spam and mark the Community emails as not junk. Thank you for your patience.
I have a series of columns. The first row contains dates. Each section of columns ends with a total column that is structured with the year followed by a forward slash symbol, and the month for the particular data set.
I want to be able to write an IF statement where I can single out these total columns, then convert all values in those columns to null (so ultimately these columns can be dynamically filtered out of the data set).
It is important to note that the position of these total columns changes with different data inputs. In the screenshot below, it happens to be in column F34, but if I used, for example, April data, it may be in column F46, or something along those lines.
I'm thinking the formula would be something like the following:
IF [any column] CONTAINS "/*" THEN NULL() ELSE NULL()
The * would represent a wildcard character for any string value, or value that is not a number following the forward slash symbol.
If you want them removed you can simply do the following:
This isolates the first row, determines if any of the fields are of the shorter length, makes the value null if they are and removes null columns, then uses a specific config on the union to only take a sub-set of all inputs:
Perhaps I spoke too soon... while your solution does remove the row 1 header, the column itself still exists after your workflow runs. I want the entire column to be filtered out/removed, not just the header.
Can you modify your workflow to have this additional step added please? Again thanks for all the help so far!
There are 2 sample tools. The second one skips 1st N rows. When the second sample tool is joined with the first string of tools, it brings back the data that was in the column you just deleted in the first set of tools. Does that make sense? I don't want F34's data to be brought back in through the join tool. I just want the whole column to be filtered out.