Postgresql table not showing up in Power BI - postgresql

I have an existing connection between Power BI and a Postgresql database. I am able to connect and retrieve data. However, I have manually created a couple of tables in the database. These does not show up when I open up the Navigator in "Recent data sources" in Power BI.
I have tried to connect via the ODBC driver connection method in Power BI and here the tables are showing. The new created tables has primary keys and index.
It is preferred use the 'official' postgresql Power BI connector, so I hope you can help explain why I am not able to see these tables.

Related

How to use dynamic username for postgresql database connection in power bi based on user

I am using Power BI with cube.js as the data source. The connection to Cube is set up using the PostgreSQL connector in Power BI.
I am trying to figure out, how I can change the username, which is being used for the data source connection based on the user who accesses the data in the Power BI service.
The reason is, this allows us the change the security settings dynamically in Cube for each Power BI user.
How can I pass the user email as the username in basic auth for the PostgreSQL connector in Power BI?

Change Table Relationship in PowerBI

I am kinda new to Power BI. I have connected PowerBI with my PostgreSQL DB. The problem I am facing is that PowerBI is not fetching the actual relationship which is in my DB. What would be the correct way to resolve this and fetch the correct relationship?

Importing data from MS Access db to PostgreSQL db

I have a table in an MS Access db that I want to export to a PostgreSQL database. Every 2 or so months, I want to move all records from the Access table to a table in Postgres.
Right now, I am using the Export to ODBC option in Access to do this, but every time it exports as an entirely new table in Postgres. Is there a way for me to routinely append the records in the Access table to an existing table in my Postgres database? I have come across the option of a FDW but I am not familiar with how to install/use it.
I am new to using PostgreSQL, and have little to no experience working with databases other than Access, so any input/advice would be greatly appreciated.

Connecting two different database in Tableau

I want to connect two database and establish a relationship between them in tableau. One from sql sever and another from Microsoft excel sheet. How to do that?
I have goggled a lot for that but could not get a suitable answer.
You are speaking about Data Blending -
And for connecting cross database data
Cross Database Querying is a Flagship Upgrade to Tableau 10.0
However, you cannot use cross-database joins with these below connection types:
Tableau Server
Firebird
Google Analytics
Microsoft Analysis Services
Microsoft PowerPivot
Odata
Oracle Essbase
Salesforce
SAP BW
Splunk
Teradata OLAP Connector
You just need to connect to each database separately and make sure they have the same column names. When creating a sheet when you switch between datasources you will see a chain on the linked fields.
Do note that this is not properly joined but is just blended data, it would be best to create another table in your sql database for the excel sheet.

Live sync between SQL Server 2008 R2 and MongoDB with Express

I have created custom script in Express that actually migrates SQL Server database to MongoDB.
But I am facing problems in live syncing between the two databases.
Currently I have added a column updated_by in both the databases.
Then I fetch the latest updated_by row from MongoDb and SQL Server database.
Then I check the date difference and based on it I update my MongoDB database.
There are lots of db tables and I am finding it difficult to identify that, which table is being updated.
Is there any log in SQL Server 2008 R2 that states which table is updated and at what time?
I need a mechanism like, any data update in the db table should immediately sync that rows into my MongoDB.
Any more suggestions on live data syncing is also welcome.
Thanks in advance. :)
When i have such requirement to Sync between Relational DB say (MYSQL) and Non-Relational DB (Mongodb).
I had followed following steps which may help others in future. and the concept is generally called as Change Data Capture
Capture changes (For MYSQL iam using triggers.)
Transform changes to a suitable changes
ie RDBMS to Non RDBMS
Update changes
Remember to sync the structural changes of database and corresponding implementaions.
Following links may help
https://www.flydata.com/blog/what-change-data-capture-cdc-is-and-why-its-important/