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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
qubbec
New Member

Error regarding slicer when loading embedded PBI report

Hi,

 

I am using an embedded powerBI report in one of my Angular projects. I have a few reports, where I am using a date slicer and get an error when loading a report. The error occurs during the 'load' phase. The report renders correctly, but some of funcionalities, especially those connected to the slicer seem to not work. See the error below:

 

CustomEvent {isTrusted: false, detail: TypeError: Cannot read properties of undefined (reading 'selector')
    at a.<anonymous> (https://c…, type: 'error', target: div.content-container, currentTarget: div.content-container, …}
isTrusted: false
bubbles: true
cancelBubble: false
cancelable: true
composed: false
currentTarget: null
defaultPrevented: false
detail: TypeError: Cannot read properties of undefined (reading 'selector') at a.<anonymous> (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.slicer-api.min.a7547ea825d041780dfa.js:1:8861) at https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:3057 at Object.next (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:3169) at https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:2076 at new qr (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:1623688) at p (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:1801) at a.persistSlicer (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.slicer-api.min.a7547ea825d041780dfa.js:1:8701) at a.<anonymous> (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.slicer-api.min.a7547ea825d041780dfa.js:1:7954) at https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:3057 at Object.next (https://content.powerapps.com/resource/powerbiwfe/scripts/reportEmbed.min.a909023638f6ddcd868b.js:1:3169)
eventPhase: 0
path: (8) [div.content-container, app-pbi-report.ng-star-inserted, app-shell.ng-star-inserted, app-root, body.mat-typography, html, document, Window]
returnValue: true
srcElement: div.content-container
target: div.content-container
timeStamp: 6489.699999999255
type: "error"
[[Prototype]]: CustomEvent

 

It seems to be an error in the slicer API on powerBI's side. Can you please help?

1 REPLY 1
V-lianl-msft
Community Support
Community Support

What is the code of angular project?  Is there a default initial value when defining XX selector?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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