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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
irrefutable14
New Member

.DBF files as Data source

I have a folder of .dbf files  stored on a network folder that I want to have as a custom data set.

I've researhed around and cant seem to find out how to make this work. I'd like to have it

pull from this folder as things will be exported to that folder daily. Any ideas?

 

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @irrefutable14,

 

Here is a similar thread in which a solution is mentioned. Could you go to check if it works in your scenario? Smiley Happy

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.



 

Regards

View solution in original post

2 REPLIES 2
YagoAndrade
New Member

Boa tarde, aqui eu fiz e funcionou perfeitamente. Só estou com uma dúvida.. Nesse caso os meus registros cancelados do DBF eu não consigo visualizar dentro do power BI. Como fazer para visualizar tanto os registros ativos quanto os cancelados?

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @irrefutable14,

 

Here is a similar thread in which a solution is mentioned. Could you go to check if it works in your scenario? Smiley Happy

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.



 

Regards

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.