Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I am using Python code to fetch data from SQL server with help of DirectQuery.
I want to pass one parameter to the select query and also want to execute python code to generate another set of columns.
It seems Pythonscript doesnt work with Direct Query.
Please guide.
@darshaningale , As far as I know, the python script method to load data is import mode
So, the idea of direct query is to unnable any kind of transformation in PowerBI? I mean, python doesn't work, power query doesn't work, DAX is extremly restricted. Care to explain?
No reply because no one knows. DirectQuery is useless in that mentioned cases.
I believe Direct Query is meant for data that has already been transformed in your data source completely.
Agreed, came to the same conclusion and went to transform in the source
So is it that we cannot write python script for direct query ? Power BI Desktop allows to do it but shows error while executing it.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |