Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Vishal_PBI
Frequent Visitor

filter by parameter in web published report

Hi All,

 

End goal is to Restrict user to see their report only in web.

 

I have a report which consist 100s of user and adding new users every week, currently I am creating report for each user manually by putting filtered value in SQL query then publish to web since user don't have power bi license. I tried achieving the same with parameter filter in url but that doesn't work for web published report.

 

I am looking for a way where I can automate this process because on weekly basis we add some new users, so it is a never-ending process. 

 

Thanks!

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Vishal_PBI,

 

If you reports are share with 'publish to web' feature, current it not support any security settings and url filters.

 

Limitations and troubleshooting

There are a couple of things to be aware of when using the query string parameters.

  • Query string filtering does not work with Publish to web or Power BI Embedded.
  • Field type has to be number or string.
  • Table and field names cannot have any spaces.

 

I'd like to suggest to use power bi embedded with dynamic RLS to instead.

 

Power bi embedded:

Official Documentation – Power BI Embedded

GitHub Sample Repo

 

RLS:

Power BI – Dynamic Row Level Security – Tips to get it working!

RLS with UserName()

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Alguien sabe si ya es posible modificar los filtros de informe desde la url?

GilbertQ
Super User
Super User

I would also just add a comment that the Publish to Web is not secure and if the users are sitting next to each other, they could share links to each other and see each others data.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

v-shex-msft
Community Support
Community Support

Hi @Vishal_PBI,

 

If you reports are share with 'publish to web' feature, current it not support any security settings and url filters.

 

Limitations and troubleshooting

There are a couple of things to be aware of when using the query string parameters.

  • Query string filtering does not work with Publish to web or Power BI Embedded.
  • Field type has to be number or string.
  • Table and field names cannot have any spaces.

 

I'd like to suggest to use power bi embedded with dynamic RLS to instead.

 

Power bi embedded:

Official Documentation – Power BI Embedded

GitHub Sample Repo

 

RLS:

Power BI – Dynamic Row Level Security – Tips to get it working!

RLS with UserName()

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

HI Xiaoxin Sheng,

 

Thanks for your help, I am working on it. hope it works for me.

 

Thanks! 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors