Eliminate columns with null values when reading in excel from browse
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
How can I filter out columns with all nulls values ?
is there a way to do this?
Thanks.
Solved! Go to Solution.
- Labels:
- Custom Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There are a couple of ways you can do it.
1) You can use a Select tool to deselect the fields you don't want. It's not dynamic, so if your data source changes and you end up with more columns or differently named columns that are all nulls, you'll have to manually deselect those fields. 
2) You can use the Data Cleanse tool to remove null columns.
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@wonka1234 Data Cleansing tool is an option to remove the columns with all Null values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I agree with @Prometheus and @binuacs -- Easiest way to do it is Data Cleanse as I assume in production you wouldn't know which columns will be fully blank beforehand.
Though I kind of miss the Transpose/Crosstab approach (or was it Crosstab/Transpose...) from before the Data Cleanse Tool had that functionality. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Could you please upload your data file
Thanks
