Forum Discussion

v-shmirg's avatar
v-shmirg
Regular Visitor
9 years ago

Power BI Embedded filter not accepting more than 100 values as parameter

Hi,

 

I have a requirement which I need to pass more than 100 values as a parameter to filter the data in PBI Embedd report.

 

As per my understanding It accepts only 100 like this:

 

const filter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: table,
column: column
},
operator: "In",
values: [1,2,3,4,5,6,7,8,9,10,11, ...] // accepts only 100 values
};
var embedConfiguration = {
type: 'report',
accessToken: accessToken,
id: reportId,
embedUrl: 'https://embedded.powerbi.com/appTokenReportEmbed',
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: true
},
filters: [filter]
};
var $reportContainer = $('#content');
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);

report.off("loaded");

// Report.on will add an event handler which prints to Log window.
report.on("loaded", function () {
// Log.logText("Loaded");
});

 

My question is how can we pass more than 100 values as a parameter since the filter array size is only 100.

 

Please help.

No RepliesBe the first to reply