Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Custom SQL Query in Snowflake DataSource

Hi Team,

 

When we connect to snowflake data source, we are not getting advanced options in the powerquery editor to pass the custom sql Query.

 

Kindly suggest alternative way to pass Custom SQL query or When can PowerBI get this feature avaialble for snowflake data source.

 

Thanks in Advance,

 

Regards,

Prasad

8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    If you can't find these options on power bi snowflake connector, it mean power  bi not support them.
    BTW, I also check snowflake odbc driver related informations but I haven't found any documents mentioned send custom t-sql query from odbc driver.

    Regards,
    Xiaoxin Sheng

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi,

       

      Tableau offers the option to Custom Query with Snowflake...

       

      Thanks,

  • JohanEriksson's avatar
    JohanEriksson
    Frequent Visitor

    Does anyone know if there any updates of this?

     

    Snowflake has told me that it should be possible with Custom queries.

    Hwever I canot see any option when I connect to Snowflake database.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi,
      You can use a parameter and use the M function in the Navigation step via Advanced editor.
      SAMPLE VIEW :
      Create a Parameter:

      and then use Table.SelectRow directly on the end Navigation Step.



      This works because when changing the parameter, the refresh time of the dataset is very less than the actual refresh time of the complete dataset.

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi,
    You can use a parameter and use the M function in the Navigation step via Advanced editor.
    SAMPLE VIEW :
    Create a Parameter:

    and then use Table.SelectRows directly on the end Navigation Step.



    This works because when changing the parameter, the refresh time of the dataset is very less than the actual refresh time of the complete dataset.