Hi Dmitry,
It is a generic error. Mostly caused when the operation becomes more than what HANA can handle. Data Preview is not a very helpful feature as it creates a very huge query with sum of all KFs and group by clause with all attributes. I'd suggest you to breakdown the issue with following.
Please check the SQL statement generated from the data preview. Select some KFs and some attributes to see if your query actually runs at all. You can then add additional KFs / attributes to narrow down the error.
Mostly, if you have complex join conditions and very high volume of data, then the intermediate result set generated is very likely to be quite big. Hence it is advisable to select only that data which might be relevant from the reporting perspective.
Regards,
Ravi