- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dynamic filtering in PowerBI report
Hi PowerBI community members,
I am looking for somekind of dynamic filtering functionality in PowerBI. Basically someway of maintain a list in PowerBI report, the list will contain data (lets say company name) which needs to be excluded/hidden in the report.
I can think of couple of ways of doing this:
1. Filter the data at the time of query. In this case for any updation in the list, pbix file need to be downloaded and edited.
2. Put the list of company names in some alternate source like sharepoint/data lake etc. and use it as a data source. If the list needs we can update it at the source and refresh the report. The report now will exclude the data with the company names from the list.
But is there a way to maintain the list in the report itself? Any visual which support such kind of thing?
If we want to update then instead of going at some other source, we can just update it in report itself.
I will explain it from example:
Lets say we have this data as a table in report.
Company | Users | Department |
Apple | 2000 | A |
Mango | 100 | B |
Test | 33 | C |
Banana | 22 | D |
Demo | 500 | E |
It has 2 test companies, "Test" and "Demo". So we will need to create a list of excluding company so that the final report will only show
Company | Users | Department |
Apple | 2000 | A |
Mango | 100 | B |
Banana | 22 | D |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @akasthan ,
I think you could try RLS. Filters restrict data access at the row level. And you can you can define filters within roles. Two roles for "Test" and "Demo". The report in company "Test", Add users in company "Demo" as the guster user of company "Test". Afterwards add them to the role you have just set up. This way, the content they view will be the content that this role can view. Or you can try setting up dynamic rls.
Refer:
Row-level security (RLS) with Power BI - Power BI | Microsoft Docs
Distribute content to external guest users with Azure AD B2B - Power BI | Microsoft Docs
What Do You Need to Implement Dynamic Row-Level Security in Power BI? - RADACAD
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @akasthan ,
I think you could try RLS. Filters restrict data access at the row level. And you can you can define filters within roles. Two roles for "Test" and "Demo". The report in company "Test", Add users in company "Demo" as the guster user of company "Test". Afterwards add them to the role you have just set up. This way, the content they view will be the content that this role can view. Or you can try setting up dynamic rls.
Refer:
Row-level security (RLS) with Power BI - Power BI | Microsoft Docs
Distribute content to external guest users with Azure AD B2B - Power BI | Microsoft Docs
What Do You Need to Implement Dynamic Row-Level Security in Power BI? - RADACAD
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 11-01-2023 05:55 AM | ||
08-13-2024 12:32 PM | |||
10-09-2024 07:27 AM | |||
07-15-2024 12:24 AM | |||
08-02-2024 06:29 PM |