Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Power BI Report Server Passing URL Parameters for report filtering

Good evening,

 

We have published a report at the on premises Power BI Report Server. We need this report to be embedded to an on premises - as well- web application . The report should interact with the surroundings of the web app in the sense of passing parameters to the report upon users' interactions.

For the time being we test the functionality using a very plain  report, trying to pass YEAR and MONTH values to filter its data through  browser .

For instance, http://pbiserver/bireports/powerbi/Test Folder/test report? filter= Table1/YEAR eq 2020 and Table1/MONTH eq 3

 

With the url above what should I expect to happen to my table report? As you may see below, report data is not filtered by month as expected.

Feel free to share your thoughts.

 

Thank you in advance.

 

  • This works on my machine. Do you have a space after the "filter= " ? I found that if I do that the filter just silently fails to work, while if I deliberately misspell the table name I get a warning icon over in the filters pane.


2 Replies

  • This works on my machine. Do you have a space after the "filter= " ? I found that if I do that the filter just silently fails to work, while if I deliberately misspell the table name I get a warning icon over in the filters pane.


    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you very much. It was the space after '?' and after '=' that were included in my url. I eliminated them and it worked just fine.