Forum Discussion
waqarahmadkp
4 years agoNew Member
group/categorization
hi all. i have a column1 having approx 5000000 rows with 29 distinct text values in it. i want to group these 29 distinct under 5 categories/groups in a new column. e.g. values like oranges, mangoes...
- Anonymous4 years ago
Hi waqarahmadkp ,
You can update the formula of your calculated column as below:
Column = SWITCH ( TRUE (), [ApplicationType] IN { "Duplicate", "Duplicate (R)" }, "Dup", "other" )Best Regards
amitchandak
4 years agoSuper User
waqarahmadkp , You need to create a new column using switch
Switch( True() ,
[column] in {"1", "2", "3"} , "Cat1",
[column] in {"3", "4", "5"} , "Cat2",
"Cat3"
)
- waqarahmadkp4 years agoNew Member
based on your suggestion, i am adding a new column as follows
=Switch(True() ,
[ApplicationType] {"Duplicate", "Duplicate (R)"} "Dup",
"other"
)however it is giving error Token RightBrace Expected.
also can there be any other drag and drop option to do so.
- Anonymous4 years agoNot applicable
Hi waqarahmadkp ,
You can update the formula of your calculated column as below:
Column = SWITCH ( TRUE (), [ApplicationType] IN { "Duplicate", "Duplicate (R)" }, "Dup", "other" )Best Regards