Forum Discussion
Can we add report level filter in power bi visuals from code (JavaScript)
Hi Eric_Zhang,
I tried your solution but when my application try to load report, it shows "The Content is not available", But when I load report using @Html.PowerBIReportFor(m => m.Report, new { id = "pbi-report", style = "height:85vh", powerbi_access_token = Model.AccessToken }) with filter, It getting loadded.
Is I am doing something wrong?
Pleae help
bhanupowerbi wrote:
Hi Eric_Zhang,
I tried your solution but when my application try to load report, it shows "The Content is not available@", But when I load report using @Html.PowerBIReportFor(m => m.Report, new { id = "pbi-report", style = "height:85vh", powerbi_access_token = Model.AccessToken }) with filter, It getting loadded.
Is I am doing something wrong?
Pleae help
"The Content is not available" is usually due to an invalid token. What do you get from the network traffic in a dev tool(F12 in Chrome).