The appropriate intermediate attributes cannot be found. The intermediate attributes should have the same number of key columns ...

The appropriate intermediate attributes cannot be found. The intermediate attributes should have the same number of key columns as the reference dimension attribute, and the data types of the key columns should also correspond.