In the Project dimension, use the ‘define calculated member’ option to create your aggregated member.
It should look something like the example below
I’ve called it ‘My categories’ but you can give it a more appropriate name
Use the ‘Aggregagte’ function and list the different categories you wish to include as per the example (which just has two items)