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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
amirghaderi
Helper IV
Helper IV

Invoke Custom Function Error, Data flow reading data from sharepoint folder

I have started migrating my data sources from Power Bi desktop to data flow. I have a set of data which are stored in sharepoint folder (Excel files, dated for each week). they get imported to desktop model as expected and has been working for a long time.

Any idea for the reason? I have shown the query in both desktop and data flow 

I copied the query to Data flow query and it fals when it starts ready the custom Invoke function to read the contents.

 

Screenshot from Data Flow:

amirghaderi_0-1647182298648.png

 

 

Screenshot from desktop PBIX

 

amirghaderi_1-1647182464339.png

 

5 REPLIES 5
GilbertQ
Super User
Super User

Hi @amirghaderi 

 

As far as I understand if you are calling another function you might need Power BI Premium Per User or Premium in order for that to run before invoking this query?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I  think I am getting to the reason.

The files have been saved as CSV format in the folder. I saved them as Excel and the function worked as desktop version.

Is there any way to import them as CSV or I should save all files as Excel. It will not be ideal, if this is the only soloution

I am Pro user and company has Premium liecences for all users.

Hi @amirghaderi 

 

I would suggest looking to use a Premium App Workspace and then see if the function then works?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I am working in Premium workspace

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.