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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Rahul_Mahajan
Frequent Visitor

Dynamic M Query using Vertica DB - Bind to Parameter Operation not visible

Hi All,

 

I m new to Power BI. kindly assist on below query.

we are connected vertica DB using ODBC connector and able to read table data using direct mode sql queries.

However unable to Bind to paramter in model view of power BI desktop to achive Dynamic M query capebilities.

 

we are follwoing this URL to achive the same:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

 

belwo are the steps we are performing:

Step 1: Connecting vertica using ODBC connector 

Rahul_Mahajan_0-1650359672445.png

 

Rahul_Mahajan_1-1650359703189.png

Step 2:  Able to see data from vertica DB table

 

Rahul_Mahajan_2-1650359714956.png

 

Step 3: In Power Query created parameter as below

Rahul_Mahajan_3-1650359741844.png

 

 

Rahul_Mahajan_4-1650359741847.png

 

Step 4: Model view not able to see Bind to parameter option for table

Rahul_Mahajan_5-1650359774780.png

 

Kindly suugest.

Thank you

 

1 ACCEPTED SOLUTION

Hi @Rahul_Mahajan 

 

Vertica supports DirectQuery connection. But I'm not sure whether it supports Dynamic M Query Paramters.

 

In Power BI February 2022 Feature Summary blog, it introduces which data sources are supported currently. Here is the link: Dynamic M Query Parameters now supports SQL Server and more data sources 

 

When Dynamic M Query Parameters was released, the feature supported M-based data sources (such has Azure Data Explorer, Databricks, BigQuery, Snowflake and more) but did not support other sources like SQL Server. This month we’re excited to announce that Dynamic M Query Parameters now supports more DirectQuery data sources:

  • T-SQL based data sources: SQL Server, Azure SQL Database, Synapse SQL pools (such as Azure Synapse Analytics), and Synapse SQL OnDemand pools
  • Oracle
  • Teradata
  • Dataflows (enhanced compute engine enabled)
  • SAP Hana Relational

 

It doesn't mention Vertica so I cannot confirm. Can you give it a try and share your finding with the community?

 

Best Regards,
Community Support Team _ Jing

View solution in original post

6 REPLIES 6
Rahul_Mahajan
Frequent Visitor

Thank you @v-jingzhang for information.

 

Sure we will try to connect Vertica,  Using Vertica datasource connection and check if direct M Query paramenter works or not.

 

Will keep you posted once done this activity from our side.

 

Regards,
Rahul Mahajan

v-jingzhang
Community Support
Community Support

Hi @Rahul_Mahajan 

 

It is because the Dynamic M Query Parameter feature is only available to DirectQuery mode queries. It is not available to queries in Import mode or Live Connection mode. However, the ODBC connector only supports Import mode at present, so you are not able to see the Bind to parameter option. 

 

vjingzhang_1-1650608442662.png

 

vjingzhang_0-1650607685701.png

Reference:

Power BI data sources - Power BI | Microsoft Docs

User editing of DirectQuery query parameters

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Dear @v-jingzhang ,

 

Thank you for information.

 

We gone through with given documentation, its say that ODBC not supported in direct query mode as mention in your reply. so can we achive this Direct query using vertica data source- Data query/Live connection ?  kindly assist.

 

Rahul_Mahajan_0-1650946330226.png

 

Thank you

Hi @Rahul_Mahajan 

 

Vertica supports DirectQuery connection. But I'm not sure whether it supports Dynamic M Query Paramters.

 

In Power BI February 2022 Feature Summary blog, it introduces which data sources are supported currently. Here is the link: Dynamic M Query Parameters now supports SQL Server and more data sources 

 

When Dynamic M Query Parameters was released, the feature supported M-based data sources (such has Azure Data Explorer, Databricks, BigQuery, Snowflake and more) but did not support other sources like SQL Server. This month we’re excited to announce that Dynamic M Query Parameters now supports more DirectQuery data sources:

  • T-SQL based data sources: SQL Server, Azure SQL Database, Synapse SQL pools (such as Azure Synapse Analytics), and Synapse SQL OnDemand pools
  • Oracle
  • Teradata
  • Dataflows (enhanced compute engine enabled)
  • SAP Hana Relational

 

It doesn't mention Vertica so I cannot confirm. Can you give it a try and share your finding with the community?

 

Best Regards,
Community Support Team _ Jing

Dear @v-jingzhang ,

 

Thank you for your help.

We have tried the Dynamic M Query Parameters with Vertica DB and its working fine as expected.

 

Regards,

Thank you for your feedback. Glad to hear the good news! 😀

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors