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'm embeding a Power BI report through Liquid.
When I'm using the authenticationtype pbiEmbedded, the javascript is recognized perfectly, but when I switch to AAD, it doesn't work.
Someone with the same problem?
I assume the problem is the var $(".powerbi")[0]; but I don't know how to put it correctly at the Portal
$(function(){ var embedContainer = $(".powerbi")[0]; var report = powerbi.get(embedContainer); report.on("loaded", function(){ report.updateSettings({ panes: { filters :{ visible: false }, pageNavigation:{ visible: false } } }).catch(function (errors) { console.log(errors); }); }) report.on('dataSelected', function(event){ console.log('Event - dataSelected:'); console.log(event.detail); }) })
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.