Visualise SQLite Information in Energy BI

Date:


SQLite + Power BI

Because the title implies, SQLite is a lightweight weight transactional SQL database engine. It’s open-source and free to be used both for private business. SQLite is extensively utilized in cellular apps and lots of different desktop functions that want an inner mild weight free SQL database. On this publish I clarify how you can visualise SQLite information in Energy BI.

To have the ability to undergo the method it’s essential meet the next necessities:

  • Newest Model of Energy BI Desktop (Present model: 2.52.4921.682 64-bit (November/2017))
  • Set up SQLite ODBC driver: Be sure you set up 64 bit model in case your Energy BI Desktop is 64 bit model like mine!

Notice: It’s possible you’ll set up each x32 and x64 bit variations of the driving force in case your different functions are in x32 bit.

  • An current SQLite database

Notice: In case you simply wish to do that and also you don’t presently have a SQLite database you may obtain a SQLite model of “Web Gross sales” of AdventrueWorksDW2016 that I made obtainable for you.

Like another Energy BI circumstances, it’s very easy to load information from an current SQLite database to a Energy BI Desktop mannequin. You simply want to make use of ODBC information connection and hook up with a predefined “ODBC DNS” OR use a “Connection String”. I’ll clarify each strategies. After you load information to your Energy BI Desktop, you create the relationships you then’re good to go and create flashy experiences. Proceed studying if you happen to’re to an step-by-step information to visualise SQLite information In Energy BI.

Importing SQLite Information to Energy BI Utilizing ODBC DSN

  • Open the proper model (x32, x64) of ODBC after you downloaded and put in SQLite ODBC Driver
  • Click on “Drivers” tab and ensure SQLite ODBC Driver(s) efficiently  put in

ODBC DriversClick on “Consumer DSN” tab then click on “Add”

  • Choose applicable driver from the checklist, in my case it’s “SQLite3 ODBC Driver”
  • Click on “End”
  • Enter a reputation for the info supply
  • Click on “Browse” and find your SQLite database then click on OK

Create DSN in ODBCNow you efficiently created an ODBC DSN that can be utilized in Energy BI to hook up with SQLite.

  • Open Energy BI Desktop
  • Choose “ODBC” from “Get Information” then click on “Join”
  • Choose the DSN you created earlier from the dropdown checklist then click on OK

Load Data From ODBC DSN to Power BIClick on “Default or Customized” tab then click on “Join”

ODBC DriverChoose the specified tables from the checklist then click on both load

Power BI Select TablesAfter you imported information into Energy BI it’s essential manually create the relationships between the tables

Power BI Desktop Relationship PaneNow you’re good to go and create experiences.

Importing SQLite Information to Energy BI Utilizing Connection String

  • After you put in SQLite ODBC drivers, open Energy BI Desktop
  • Choose “ODBC” from “Get Information”
  • Choose “SQLite3 Datasource” from the dropdown checklist
  • Click on “Superior choices”
  • Now kind “database=” adopted by your SQLite file path then click on OK

Import Data From ODBC to Power BI Using Connection StringClick on “Default or Customized” tab then click on OK

ODBC Driver and Connection String in Power BIThe remaining is identical as earlier methodology.

All finished! Smile

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Share post:

Subscribe

spot_imgspot_img

Popular

More like this
Related

Girls, It’s Time To Take Management Of Your Cash!

With ladies’s empowerment rising in magnitude, right here’s...

Utilizing AI to Enhance KPIs for Alignment and Readability

Key efficiency indicators (KPIs) are the spine of...