Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I noticed that report shown in https://app.powerbi.com have some cache mechanism when the user open it for the 2nd time and so on. Making it faster to load the report.
Can the Embedded report have the same user experience for this?
Hi @eddywijaya,
Please refer to PowerBI-JavaScript/wiki/Phased-Embedding-API#preload-warm-start. You can try it out.
Best Regards,
Dale
Hi @v-jiascu-msft,
Thanks for your reply, I have tried your solution and it considerably faster now.
But I applied (pre-defined) filter in my embedded report
Like this :
var MyFilter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: "Table1",
column: "Column1"
},
operator: "Contains",
values: "1234"
}
report.on("loaded", function() {
report.setFilters([MyFilter]).catch
(errors => {console.log(errors)});
});I tried to do the same with on('preload') but the data shown is not filtered
Hi @eddywijaya,
I'm afraid Preload wouldn't work with filters. Because it only requires a base URL.
>>>This function only requires the type of embedded entity, and a base URL for PowerBI Embedded, i.e. embed URLs without any specific URL parameters such as reportId, groupId etc.
Best Regards,
Dale
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |