Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Can not use Paramter in Direct Query

I have used Direct Query to get data from Postgresql database, now I want to use that query with parameter. The refresh and review step work well but I can not apply and close to return to Power Peviot, it keep showing this error, can anyone help me?

  • Anonymous's avatar
    Anonymous
    6 years ago

    v-zhenbw-msft Thank you for your support, I have found the cause of problem. I have created a new column which used value of other column as condition. When I remove new column, everything works fine.

4 Replies

  • Anonymous , Postgresql direct query is supported.  Are you converting and import mode to direct mode or this anew direct mode connection?

  • v-zhenbw-msft's avatar
    v-zhenbw-msft
    Community Support

    Hi Anonymous ,

     

    We think it should not be a matter of parameter influence, maybe you can test in this way :

    Delete all parameters and try close and apply.

    Could you tell us what else databases are used besides Postgresql database?

     

    If the issue still exists, you can refer to this resolved post.

     

    If you have any question, please kindly ask here and we will try to resolve it.

     

    Best regards,

     

    Community Support Team _ zhenbw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      v-zhenbw-msft Thank you for your support, I have found the cause of problem. I have created a new column which used value of other column as condition. When I remove new column, everything works fine.