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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors