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
Anonymous
Not applicable

Sensitivity Label in Excel causes refresh error ( Data source error ) in Power BI Service

Hi all!

 

I've created a report in Power BI Desktop using various sources (all in Excel file, but with different connection properties e.g. from Web or Sharepoint Folder),

 

A main source for the report are Excel files sent daily to Outlook automatically and a Flow saves them into a Sharepoint Folder.

 

The report itself works fine, and updates fine in Desktop, but as soon as I publish the report to the Service, refresh option stops working and returns an error that data is corrupted

Ali_Shakh_0-1680102907709.png

It took me a while to realize (trial and errors) that the issue is in Sensitivity Label of Excel files I received,

as soon as I open them, choose a label and save a file everything works fine.

Ali_Shakh_1-1680104081106.png

Opening each file manually and selecting a label isn't an option (the whole idea of this report was to automate everything).

I tried to fool Power BI doing the following =>
in PQ before "Invoke Custom Function" I made a Sorting, so when the function runs and takes a first file (which I openned and selected a label) as a parameter for others the whole refresh issue will disapear, but...
as you can see, in that case only those that had labes are openned properly, other files have errors 

Ali_Shakh_2-1680104478175.png

so, does anyone know how to solve this problem?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

UPD:
after some trial and error I figured out the workaround, just replaced all Excel files with CSV and now all is good, it's kinda weird that there is no solution for Excel

View solution in original post

1 REPLY 1
Anonymous
Not applicable

UPD:
after some trial and error I figured out the workaround, just replaced all Excel files with CSV and now all is good, it's kinda weird that there is no solution for Excel

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.