Forum Discussion
Palazhi
8 years agoRegular Visitor
Power BI Report level Filters not working properly in ASP.NET MVC application
Hi All, My ASP.NET MVC application's URL use three parameters, that is Region, Subregion and Pagenumber from Power BI basic filter. When I run application which gives right results for Region and Pa...
v-ljerr-msft
8 years agoMicrosoft Employee
Hi Palazhi,
The main code above looks fine to me, and it works fine in my test.
Have you tried debugging the code to see what's wrong with it?
In addition, could you try setting filterPaneEnabled to true in the configure to see what's in the Filter Pane with the code? :smileyhappy:
var config = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
permissions: models.Permissions.All,
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: false
},
pageName: defaultPage,
filters: [filterRegion, filterSubRegion]
};
Regards