Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am importing data from an Azure Serverless SQL db.
I chose DirectQuery for this.
Here is the full SQL script that I used:
-- This is auto-generated code
SELECT
TOP 100 *, result.filename()
FROM
OPENROWSET(
BULK 'https://xxxxx.dfs.core.windows.net/taxi/raw/trip_data_green_parquet/year=*/month=*/*.parquet',
FORMAT = 'PARQUET'
)
WITH (
VendorID INT,
lpep_pickup_datetime datetime2(7)
) AS [result]
When loading the parquet file....
I get an error which reads:
"This query contains transformations that can't be used for DirectQuery."
Strangely, it works perfectly fine with Import Query. Why do I get such an error with DirectQuery?.
Hi, @HamidBee
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 C... - Page 3 - Microsoft Power BI Community
Solved: this query contains transformations that can't be ... - Microsoft Power BI Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This answer is outdated. The composite mode is no longer in preview. I am currently using the June 2022 version of Power BI. Please update your answer. Thank you.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |