I'm trying to create a count that changes whenever it sees an empty row in a dataset. For example, I have the first 3 columns and would like to create a column similar to Test2 (see image below) that has a new count whenever there is an empty value in Test in the preceding row. Any ideas would be greatly appreciated!
Best answer by birgit
AttributeCreators have the option to "Enable Adjacent Feature Attributes" which allows you to use the values of attributes which precede or follow the current feature. I have a working example for you that does what you describe here. The biggest problem here is that there can be multiple features that can have no value for the "Test" attribute which meant that I needed an extra AttributeCreator to get the desired result.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
AttributeCreators have the option to "Enable Adjacent Feature Attributes" which allows you to use the values of attributes which precede or follow the current feature. I have a working example for you that does what you describe here. The biggest problem here is that there can be multiple features that can have no value for the "Test" attribute which meant that I needed an extra AttributeCreator to get the desired result.
AttributeCreators have the option to "Enable Adjacent Feature Attributes" which allows you to use the values of attributes which precede or follow the current feature. I have a working example for you that does what you describe here. The biggest problem here is that there can be multiple features that can have no value for the "Test" attribute which meant that I needed an extra AttributeCreator to get the desired result.
Thank you! I was able to use the example you provided with a couple changes to deal with missing/null to get it to work with my full dataset. I appreciate the help!