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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors