Forum Discussion

IsmaelMM's avatar
IsmaelMM
Regular Visitor
1 year ago
Solved

A solution for query string parameters in public reports

I created this simple visual that allows passing filters through the URL in Publish to web reports.


For example:

https://app.powerbi.com/view?r=XXXX&column1 Is 5&column2 In ('A', 'B')


Applies the following filter to the data model:

columna1 = 5 and columna2 IN ('A', 'B')


It has some limitations, like all objects have to be loaded first showing all data, but that is due to limitations of how the pbi service works. Or that it only allows one filter/condition per column, which I plan to improve in future versions, but I think it could be useful for many users.


Here is the GitHub repository with more details in case you want to use it.

https://github.com/orihuela-iom/powerbi-public-query-parameters

2 Replies