Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Here is my code:
let
Source = Sql.Database("localhost", "DB",
[Query="select id from table#(lf)where name = '"&Name&"'#(lf)and othercondition = 0#(lf)"]),
id = Source[id]
in
id
I get "This query contains transformations that can't be used for DirectQuery."
Is there a way of running sql selects with PB parameters in DQ mode?
Thanks
Solved! Go to Solution.
DQ mode connects directly to the source data stays where it is, it doesn't import the data into Power bi engine/power query to make transformation on it. DQ mode doesn't allow trasformations to be made directly on the source just like Live connection mode.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi @Markzolotoy
The answer is simply no, you can't use SQL statemants in DQ mode, it needs Database.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
What does it mean "requires database"?
DQ mode connects directly to the source data stays where it is, it doesn't import the data into Power bi engine/power query to make transformation on it. DQ mode doesn't allow trasformations to be made directly on the source just like Live connection mode.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 69 | |
| 39 | |
| 35 | |
| 23 |