Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |