This Query Contains Transformations That Cannot Be Used in Directquery

Invoking the following function in Power Query editor returns the error below:

let
    Origem = (x, y) => x * y
in
    Origem

Invoked Funtion:

This query contains transformations that cannot be used in DirectQuery.

This is the only query I have in this data model so I have no idea why this message..

Can anyone help?

Thanks!

1 Answer

This is a Power BI bug with the new Composite Model Preview setting.

If you turn it off, restart Power BI, then copy and paste the old query into a new one, and delete the old one, it should refresh fine.

Reference:

DirectQuery errors on imported tables. July 2018 Composite Models.

this query contains transformations that can't be used for directquery

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest