MicroStrategy ONE

Remove Custom Group Element statement

Remove a custom group element from a custom group. Note that if you have two or more elements with the same name in a custom group, this command will not work.

Copy
REMOVE ELEMENTelement_nameFROM CUSTOMGROUPcustomgroup_nameIN FOLDERlocation_pathFOR PROJECTproject_name;

where:

  • element_name is the name of the custom group element to be removed, of type string, between double quotes (").

  • customgroup_name is the name of the custom group, of type string, between double quotes (").

  • location_path is the folder where the custom group resides, of type string, between double quotes (").

  • project_name is the name of the project where the custom group resides, of type string, between double quotes (").

Example

Copy
REMOVE ELEMENT "25-35" FROM CUSTOMGROUP 
 "Copy of Age Groups" IN FOLDER "\Public Objects\Custom 
 Groups FOR PROJECT MicroStrategy Tutorial;