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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
mussol_
Advocate II
Advocate II

TWO PATHS FOR MS ACCESS ORIGIN

Hello everybody,

 

I need two different paths for an MS Access data base.

Actually I have one working fine with the following PQ instruction for origin:

= OleDb.DataSource("provider=Microsoft.ACE.OLEDB.12.0;data source=""X:\PROFESIONAL\CUSTOMER\MANTENIMIENTO\GMAO - Access\GepmesterPlusz.mdb"";jet oledb:system database=""X:\PROFESIONAL\CUSTOMER\MANTENIMIENTO\GMAO - Access\SysGm.mdw""")

 

But my customer has another path and I want to select with a parameter (as it works with MS Excel Files, for example). If I try the same way (just replacing path for the name of the parameter) it does not work.

 

Can somebody help me with this?

 

Many thanks in advance.

 

Josep.

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @mussol_ ,

It seems that you use ODBC connector to get data from Microsoft Access database.

Normally, we could use query parameter to change the data source, but the data model and the data type should be the same.

What about your data structure of the two data source?

In addition, you could try with the direct connector for MS Access database in power bi desktop.

Capture.PNG

Best  Regards

Cherry

 

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

View solution in original post

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @mussol_ ,

It seems that you use ODBC connector to get data from Microsoft Access database.

Normally, we could use query parameter to change the data source, but the data model and the data type should be the same.

What about your data structure of the two data source?

In addition, you could try with the direct connector for MS Access database in power bi desktop.

Capture.PNG

Best  Regards

Cherry

 

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

Hello Again,

I tried to load the access DB with PBI access connector but all tables appear as empty.

I think the file SysGm.mdw is related with this.

 

Any other sugestion?

 

Thanks a lot!

 

Josep. 

Hi @mussol_ ,

It's really strange for that.

You could use ODBC connector and change the data source with query parameter as I suggested in my first reply.

Best  Regards,

Cherry

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

Hello V-piga-msft

 

Yes, I am using ODBC connector because acces DB has passwords and users...

 

I will try your solution and explain.

 

Thanks a lot!

 

Josep

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.