Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Al345
Frequent Visitor

Dynamic M Query Parameter with Redshift

I am testing the Dynamic M Parameter feature and I'm having trouble getting it to work once it is published to PBI Service. I am connecting to a Redshift database which I believe is an M based connector (correct me if I'm wrong here, I couldn't find much documentation on this point). I followed the steps in the documentation and bound the parameter to the virtual table of values I created and the slicer appears to work correctly in PBI Desktop. Then when I publish to PBI Desktop, the visual that should be changing based on my slicer selections has an error message that it "Can't desiplay the visual". When I look at the error code all I see is this: "Couldn't retrieve the data for this visual. Please try again later."

 

I also double checked that the report is setup on our enterprise gateway and I can refresh the report without issue so I don't think there are any issues with connecting back to the datasource. Can anyone confirm if Redshift is a compatible source for this feature? If so, what am I doing wrong? 

4 REPLIES 4
Anonymous
Not applicable

Sorry, Could you share a sample .pbix file for me ? i use redshift too, But I still can't see 'bind to parameter' option.

amitchandak
Super User
Super User

@Al345 , As per the document, this supported on following:https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

 

  • 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 (aka Azure 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
    • Partially supported through XMLA / TOM endpoint programmability: SAP BW and SAP Hana

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you but I have reviewed that documentation and Redshift is not in the list of unsupported sources. I found another article (not from Microsoft) that indicated that Redshift is an M based connector and should thus be compatible with this functionality. 

Anonymous
Not applicable

Hi @Al345 ,

Could you share the below information with us in order to make troubleshooting?

1. The codes in your Advanced Editor (please mask the sensitive data)

Advanced Editor.JPG

2. How did you set your virtual table with parameter values? Which data type are they?

Note: Please DON'T select the type as "Any" when set the data type for parameter list

parameter data type.jpg

Best Regards

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors