Forum Discussion
Related in Direct Query Mode
Hi RT6
This error is thrown when some aggregation (in this case the count) is been translated to M for execution, so it's not really SQL yet . You can check your query in Power Query Editor to see whether some queries affect your operation .
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- RT63 years agoFrequent Visitor
Hi Alisa!
Thanks fro your answer.
The issue is after any transformation in Power Query, like split columns, change data type etc i get the following error:
I need to maintain Direct Query connection. I can aggregate two tables for example, but i cannot change data type even in PB Desktop, so i cannot perform any calculations.
Any ideas? Thanks!
- RT63 years agoFrequent Visitor
What i also found in this paper, Related should be supported in DAX:
https://www.sqlbi.com/whitepapers/directquery-in-analysis-services-2016/