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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ali_Shakh
Helper II
Helper II

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
Ali_Shakh
Helper II
Helper II

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
Ali_Shakh
Helper II
Helper II

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors