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.
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.