I'm trying to use a custom array property that when clicked appears the option to add either a dimension or a measure instead of having one button to add dimesion and one to add measures.
I'd suggest maybe looking at custom table extensions like this as to how they handle it, as they need to have that same option per column ( dimension OR meausure )