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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
tswm00
Frequent Visitor

Limitiations in datamart/Power Query Online

Hi!

I have built a rather complex system using Power Query Desktop (Excel) which is to a large extent based on parameters stored in an excel workbook table.

I would like to migrate this system to Datamart and Power Query Online but experiance a lot of limitations when it comes to dynamic datasources (as provided från the parametertable) and errors with on prem execution (e.g. MS Access databases on a file system).

 

Are the limitiations expected to be permanent or is it temporary limitations in the preview of Datamart?

 

Rather crucial for med to undertstand to be able to decide what path to follow.

1 ACCEPTED SOLUTION
otravers
Community Champion
Community Champion

You're indeed better off trying to do this in dataflows rather than datamarts. Google your error about dynamic data sources, you'll find plenty of discussions about how to rewrite your function so that it works in PQO (at which point that code should also work in the desktop if you copy/paste it back there).

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

2 REPLIES 2
otravers
Community Champion
Community Champion

You're indeed better off trying to do this in dataflows rather than datamarts. Google your error about dynamic data sources, you'll find plenty of discussions about how to rewrite your function so that it works in PQO (at which point that code should also work in the desktop if you copy/paste it back there).

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals
tswm00
Frequent Visitor

Using Dataflows instead I can manage to use parameterized references to datasources (using PQ "true" parameters) and on-prem execution seems to work (e.g. Access database on lokal filesystem).

I can live with having "datasourceparameters" defined as "true" PQ parameters but it would have been nice to be able to write portable code that works in both PQO and PQD like this:

try p_pathPrislista otherwise fnGetParameter("pathPrislista")
But then the service reports "Cant save dataflow. One or more tables references a dynamic datasource" so I guess I can forget the idea of portable coce?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.