crogers111
Technical User
CR XI
SQL
I'm trying to create a formula that looks at the text of a string (from left to right) and groups text that is the same together. My goal is to group my report based on this formula to perform summaries.
EXAMPLE of CURRENT DATA & GROUPING:
Allergy Injections-EG
Alllery Injections-PPO
Alllery Injections-NonPPO
Chiro-EG
Chiro-PPO
Chiro-NonPPO
DESIRED DATA GROUPING:
Allergy Injections
Chiro
i.e. I'd like records with the first 3 descriptions to be grouped together as 'Allergy Injections'
SQL
I'm trying to create a formula that looks at the text of a string (from left to right) and groups text that is the same together. My goal is to group my report based on this formula to perform summaries.
EXAMPLE of CURRENT DATA & GROUPING:
Allergy Injections-EG
Alllery Injections-PPO
Alllery Injections-NonPPO
Chiro-EG
Chiro-PPO
Chiro-NonPPO
DESIRED DATA GROUPING:
Allergy Injections
Chiro
i.e. I'd like records with the first 3 descriptions to be grouped together as 'Allergy Injections'