Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello!
I am trying to do basic calculation Related in the Direct Query mode:
Sales Amount = RELATED('product'[Unit_Price]) * sales_streaming[Units]
and i get the following error:
Is there any work around to perform the calculation between two tables in the direct query mode?
Thanks!
Hi @RT6
Did you use conditional formatting for your fields when your connection mode is Import ?
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.
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.
What i also found in this paper, Related should be supported in DAX:
https://www.sqlbi.com/whitepapers/directquery-in-analysis-services-2016/
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
71 | |
37 | |
21 | |
18 | |
15 |
User | Count |
---|---|
126 | |
32 | |
27 | |
24 | |
23 |