Forum Discussion
Passing slicer selection to REST API call in power query
- 2 years ago
Dynamic M Query Parameters only work with Direct Query data sources. Your API isn't one.
- Anonymous2 years ago
Hi girlwonder
As the lbendlin mentioned, if you want to use the dynmaic paramater, you need to make sure that your connection mode is direct query, such as SQL database and so on, they can be connected by Power BI Desktop with direct mode, You can refer to the following link about the dynamic paramater.
If you want to change the paramater with the import mode, it only can be changed in power query or In data source settings in Power BI Service, You can refer to the following link.
You can change the data source to the ones that support direct query mode. such as :
- SQL Server
- Azure SQL Database
- Azure Synapse Analytics (formerly SQL Data Warehouse)
- Oracle
- Teradata
- SAP HANA
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dynamic M Query Parameters only work with Direct Query data sources. Your API isn't one.