Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
JimPreschlack
Contributor
Contributor

Best Way to Connect to MongoDB in QLik

Hi Everyone,

We just spun up a trial account with Qlik and connected to our MongoDB and it displays the collections in Mongo as "tables" in Qlik, but it also adds additional tables for collections that have objects in them, which is odd. 

For example, we have a collection called ballotHistory, but it also shows tables for ballotHistory_castBallots, ballotHistory_earlyBallots, ballotHistory_primaryBallots when those are not actual collections, they are just subparts of the main ballotHistory collection.  It's almost like they are taking the top-level Mongo objects and breaking them up into some type of joined SQL structure, which kind of defeats the purpose. 

Is there a better way to connect to Mongo? Thank you, Jim

1 Solution

Accepted Solutions
sandster
Contributor
Contributor

There are two methods through which you can easily connect MongoDB in QLik

  1.  through Qlik Sense, you connect to a MongoDB database through the Add data dialog or the Data load editor.
  2. And, QlikView you connect to a MongoDB database through the Edit Script dialog.

You will need to know the server and database name that you want to connect to, and you must have access credentials. Once you have created a connection to a MongoDB database, you can select data from the available tables and then load that data into your app or document.

Read More - https://help.qlik.com/en-US/connectors/Subsystems/ODBC_connector_help/Content/Connectors_ODBC/Mongo/...

View solution in original post

3 Replies
Adam_Mayer
Employee
Employee

Hi @JimPreschlack 

Thank you for posting your question, I am not sure if this is the correct forum for your issue though.

Please can you clarify if you are asking about MongoDB connection into Qlik Sense?

This would be the correct forum if your issue relates to a Qlik Replicate Task for MongoDB managed in Qlik Enterprise Manager.

Many Thanks 

Kind Regards 

Adam

sandster
Contributor
Contributor

There are two methods through which you can easily connect MongoDB in QLik

  1.  through Qlik Sense, you connect to a MongoDB database through the Add data dialog or the Data load editor.
  2. And, QlikView you connect to a MongoDB database through the Edit Script dialog.

You will need to know the server and database name that you want to connect to, and you must have access credentials. Once you have created a connection to a MongoDB database, you can select data from the available tables and then load that data into your app or document.

Read More - https://help.qlik.com/en-US/connectors/Subsystems/ODBC_connector_help/Content/Connectors_ODBC/Mongo/...

John_stv
Contributor
Contributor

Don't worry, you wont be able to connect to the MongoDB because Qlik doesn't upgrade its product in years it seems. How do you connect if you are using a higher version of MongoDB 4.2?