Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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?
What is the code of angular project? Is there a default initial value when defining XX selector?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |