Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |