Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vanessafvg
Super User
Super User

Pulling in .dbf files

I can't figure how to pull in a .dbf file- i know its a database file (so is not on a server), how does one access the data from the file in Power BI





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




3 REPLIES 3
jpretorius
Advocate I
Advocate I

 

You could try the below:

 

let
    Source = OleDb.DataSource("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<Path to folder containing dbf file>;extended properties=<dbase version>", [Query="select * from [<dbf file name>.<dbf file extension>]"])
in
    Source

 

Example:

let
    Source = OleDb.DataSource("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\dbfFolder\;extended properties=dBASE IV", [Query="select * from [myFile.dbf]"])
in
    Source

 

You'll need the Access Database Engine provider deployed.

 

James

v-yuezhe-msft
Employee
Employee

Hi @vanessafvg,

As far as I know, we are not able to connect to .dbf file from Power BI Desktop. Regarding to this issue, please vote it in this idea: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7185167-dbf .

In addition, to work around this issue, you can firstly use Microsoft Access or Microsoft Excel to import the data from .dbf files into an Access database or Excel spreadsheets, then use Power BI Desktop to connect to Access database or Excel file.


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The easyest way is using this driver (ODBC and 64-bits) go.helpbi.com/dbf

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.