SOLVED
Removing Null from multiple columns
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ksarker
7 - Meteor
07-19-2022
09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
i am working with multiple Quarters YTD data. how can i remove line C and E as there are no $$. Also, how can i convert 0 to Null to be consistent with Quarters with Null
| Business | Q1 | Q2 | Q3 | Q4 |
A | 20 | -15 | Null | 10 |
| B | 12 | Null | -20 | 50 |
| C | Null | Null | 0 | Null |
| D | -50 | 10 | 40 | Null |
| E | Null | Null | Null | 0 |
Solved! Go to Solution.
Labels:
- Labels:
- In Database
5 REPLIES 5
17 - Castor
07-19-2022
09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ksarker
Here's one way:
- Multi-field to update 0 to null
- Transpose quarter info
- Summarize tool to count records per business and null records
- Compare record count to null record count and filter out businesses where all records are null
- Join back to remove data
17 - Castor
07-19-2022
09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @ksarker,
One way of doing this is with a multi field formula like this:
That formula will replace all 0's with NULL.
Then a Filter tool can get rid of the NULL rows:
Any questions or issues please ask :)
HTH!
Ira
DylanDowrick
9 - Comet
07-19-2022
09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
07-19-2022
12:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Awesome !!!!!!. these steps work perfectly. thanks for your help.
17 - Castor
07-19-2022
12:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Great to hear @ksarker 😄
