cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

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

 

6 REPLIES 6
Syndicate_Admin
Administrator
Administrator

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

Syndicate_Admin
Administrator
Administrator

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

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (3,066)