We'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
Hi,
I want to use a date parameter within Power Query. I read that doing so has been possible since about a year, but only in Direct Query.
I uploaded data with a SQL in Direct Query and started by using a simple filter on a column (right click, function "date is"). This creates the following error message:
The message tells me Direct Query doesn't support the step I made and that I need to switch back to Import Mode. I don't understand why. How can I solve this?
Thanks,
Pauline.
Solved! Go to Solution.
Hi @Berl21 ,
It sounds like you are trying to use a date parameter in Power Query while working in Direct Query mode, but encountering an error message that Direct Query does not support the step you are trying to make.
One possible solution is to switch to Import mode, as suggested by the error message. In Import mode, you can use date parameters in Power Query without encountering the same limitations as Direct Query mode.
If you need to continue working in Direct Query mode, you may need to explore other options for filtering and manipulating your data that are supported in Direct Query mode. One option is to use SQL code to filter your data before loading it into Power Query. Another option is to use Power BI's built-in query editor to filter and manipulate your data in ways that are supported in Direct Query mode.
Refer to:
DirectQuery in Power BI - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Berl21 ,
It sounds like you are trying to use a date parameter in Power Query while working in Direct Query mode, but encountering an error message that Direct Query does not support the step you are trying to make.
One possible solution is to switch to Import mode, as suggested by the error message. In Import mode, you can use date parameters in Power Query without encountering the same limitations as Direct Query mode.
If you need to continue working in Direct Query mode, you may need to explore other options for filtering and manipulating your data that are supported in Direct Query mode. One option is to use SQL code to filter your data before loading it into Power Query. Another option is to use Power BI's built-in query editor to filter and manipulate your data in ways that are supported in Direct Query mode.
Refer to:
DirectQuery in Power BI - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |