Forum Discussion
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?
- Anonymous6 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
- amitchandakSuper User
Anonymous , Postgresql direct query is supported. Are you converting and import mode to direct mode or this anew direct mode connection?
- AnonymousNot applicable
amitchandak is a new direct mode connection
- v-zhenbw-msftCommunity 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.
- AnonymousNot 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.