Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello. I have a scenario with problems:
Scenario 1
- I created a new data source in "DirectQuery" mode;
- I chose a "Table" from the list;
- I didn't use "Advanced Options" (default)
- After import, I added custom columns.
- Everything is OK!
Scenario 2
- I created a new data source in "DirectQuery" mode
- I expanded "Advanced Options", and typed my own query
- After import, I added custom columns;
- A warning pops up on the screen, does not let me save, and says it can only save if I change from "DirectQuery" to "Import".
- I don't want to do that!
Scenario 3
- I created a new data source in "DirectQuery" mode
- I chose a "View" from the list, which does the same query I did in Scenario 2;
- I didn't use "Advanced Options" (default)
- After import, I added custom columns;
- Everything is OK!
Why can't type my own query in "Advanced Options" and create custom columns?
It's the same thing I did in Scenario 1 and 3. And both worked with "DirectQuery" and custom columns.
Thank you.
Solved! Go to Solution.
Hi @raphael_moreira,
I think that's the limitations of data transformations of DireatQuery. Please refer to #limited-data-transformations.
If you open the SQL Server profiler, you will see the difference between a View and a customized query.
If you have any more questions, please feel free to input here.
>>>Any such transformation will need to be applied on every query to the underlying source, rather than once on data refresh, so they are limited to those transformations that can reasonably be translated into a single native query. If you use a transformation that is too complex, then you will receive an error that either it must be deleted, or the model switched to Import mode.
Best Regards,
Dale
Hi @raphael_moreira,
I think that's the limitations of data transformations of DireatQuery. Please refer to #limited-data-transformations.
If you open the SQL Server profiler, you will see the difference between a View and a customized query.
If you have any more questions, please feel free to input here.
>>>Any such transformation will need to be applied on every query to the underlying source, rather than once on data refresh, so they are limited to those transformations that can reasonably be translated into a single native query. If you use a transformation that is too complex, then you will receive an error that either it must be deleted, or the model switched to Import mode.
Best Regards,
Dale
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
71 | |
56 | |
39 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |