It sounds like the hierarchy you created is using the same data cube you are trying to use with the hierarchy. As mentioned in the message - the hierarchy cannot be based on the same data cube. Instead try the following:
- Create a new data cube (it can be a copy of your current data cube).
- Configure the process results in the new data cube to use the hierarchy you already created.
That said, it is a best practice to try and create your hierarchies from data cubes or databases structures (i.e. tables/views) that only contains the possible values for your hierarchy rather than all of your data (in database terms, that would be: try to create your hierarchy from a dimension table and not your fact table). For example: if you have the following table:
ContinentCountrySalesYear
Europe France $2M 2017
Europe France $2.5M 2018
Europe Spain $1.5M 2017
Europe Spain $3.5M 2018
it will be better to create a data cube that only contains the distinct (aggregated) values of the continents and countries and then create your hierarchy based on that. So the data cube that will power the hierarchy will look like that:
ContinentCountry
Europe France
Europe Spain
To easily get this structure, simply configure your data cube as follow:
on your first transform only keep the Continent and Country fields
use the aggregate transform to get the distinct combination of values for those fields
build your hierarchy using this data cube
use the hierarchy in a data cube that contains all the fields you need including the measures (i.e. sales amount).
I hope this makes sense in terms