Hi
Sai Skanda,
Welcome to Microsoft Q&A forum.
As I understand, you could not connect to Azure Database for PostgreSQL from Power BI.
Could you please let us know if you are using the Azure Portal option for connection as shown below:
And tried the steps mentioned in the link: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/connect-with-power-bi-desktop
Please let us know the configurations and steps taken for connection so that we can understand and help.
Thanks