so I have a situation where I have data that needs desperate cleaning. In the example below under Provider Type and Provider Phone number I need to replace the number with the majority number listed. Under ProviderLicense I need to replace the nulls with the with the License number.
Solved! Go to Solution.
Hi @COrr
Can you provide some sample data?
What do you want to do with the Provider Type.
In your description you mention "majority number". Which field does this come from.
Dan
Hey @COrr ,
A little unclear at this moment as far as what's being replaced - are you looking to fill down the empty License field?
If so, a multi-row tool will do that for you, set to update ProviderLicense, with an expression of:
If IsNull([ProviderLicense]) then [Row-1: ProviderLicense]
Else [ProviderLicense]
Endif
If there's some more to it, feel free to post an example of what you'd like your end result to be.
Example workflow attached
Thanks for the sample. Can you provide the answers to my other 2 questions as well? Without those, I can't tell what you want. the easiest way to do that is give us an example of what the output data should look like
Dan
I know I'm terrible at explaining things. In the column ProviderType there is multiple Examples like FM, Board Certified FM, FP and fam med. Since FM is imputed the most I would like to replace everything with FM.
Is the value always going to be FM, or is it because FM occurs most often in the dataset?
Also: what about the majority phone number question?
Dan
because it occurs the most in the column and also the same for the phone number.
This is amazing is there a way we can specify these results to the specific HCP provider name or is that impossible?