cancel
Showing results for 
Search instead for 
Did you mean: 
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
juandalvis
Regular Visitor

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

GilbertQ
Super User II
Super User II

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.

View solution in original post

HI Xiaoxin Sheng,

 

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

 

Thanks! 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors
Top Kudoed Authors