Forum Discussion
How to get a parameter in a slicer?
- Anonymous4 years ago
HI whu,
For the parameterized report, you need to enter to data source setting to change the parameters then it can affect the data connections:
Using the Power BI Service Parameters to change connection strings (To possibly change between Dev
For your scenario, I'd like to suggest you take a look at the following link about preview feature dynamic M query parameters.
Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs
Notice: current this feature does not work for direct query mode data source, please use the import mode table instead.
SpoilerThe feature is only supported for M based data sources. The following DirectQuery sources are not supported:
T-SQL based data sources: SQL Server, Azure SQL Database, Synapse SQL pools (such as Azure Synapse Analytics (formerly SQL Data Warehouse)), and Synapse SQL OnDemand pools
Live connect data sources: Azure Analysis Services, SQL Server Analysis Services, Power BI Datasets
Other unsupported data sources: Oracle, Teradata, and Relational SAP Hana, PostgreSQL
Partially supported through XMLA / TOM endpoint programmability: SAP BW and SAP HanaRegards,
Xiaoxin Sheng
HI whu,
For the parameterized report, you need to enter to data source setting to change the parameters then it can affect the data connections:
Using the Power BI Service Parameters to change connection strings (To possibly change between Dev
For your scenario, I'd like to suggest you take a look at the following link about preview feature dynamic M query parameters.
Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs
Notice: current this feature does not work for direct query mode data source, please use the import mode table instead.
The feature is only supported for M based data sources. The following DirectQuery sources are not supported:
T-SQL based data sources: SQL Server, Azure SQL Database, Synapse SQL pools (such as Azure Synapse Analytics (formerly SQL Data Warehouse)), and Synapse SQL OnDemand pools
Live connect data sources: Azure Analysis Services, SQL Server Analysis Services, Power BI Datasets
Other unsupported data sources: Oracle, Teradata, and Relational SAP Hana, PostgreSQL
Partially supported through XMLA / TOM endpoint programmability: SAP BW and SAP Hana
Regards,
Xiaoxin Sheng