Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
We have been experiencing this type of problem for several days.
If I use the filter parameter in my embedded configuration ... an error is displayed when I instantiate the report.
Here is my code ...
-----------------------------------------------------------------------------------
const filter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: mReport.srcTable,
column: "targa"
},
operator: "eq",
values: ["AA123"]
};
var models = window['powerbi-client'].models;
//console.log('models: ' + models);
var embedConfiguration = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: mReport.accessToken,
embedUrl: mReport.embedUrl,
id: mReport.id,
permissions: models.Permissions.All,
filters: [filter],
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: true
}
};
var $reportContainer = $('#reportContainer');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
-----------------------------------------------------------------------------------
Can you inform me if the configuration settings of the parameters for the embedded report have changed?
If the way of setting the filter has changed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.