Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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 

 

Step 2:  Able to see data from vertica DB table

 

 

Step 3: In Power Query created parameter as below

 

 

 

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

 

Kindly suugest.

Thank you

 

  • Hi Anonymous 

     

    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

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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's avatar
    v-jingzhang
    Community Support

    Hi Anonymous 

     

    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. 

     

     

    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.

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.

       

       

      Thank you

      • v-jingzhang's avatar
        v-jingzhang
        Community Support

        Hi Anonymous 

         

        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