Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
Is there any way, using the custom visual API, to get the filter(s) and filter values applied to visual? So basically the "conditions" for the dataset currently served from Power BI?
- Thanks!
Solved! Go to Solution.
Hi @toresenneseth,
Visuals only know about the data supplied by Power BI to its dataView. Power BI will not supply information about applied filters or conditions, unfortunately.
The only exceptions to this are if you have enabled highlighting (which will send original data plus which values should be flagged in your code), or if your visual filters other visuals (behaving as a slicer). In that case you will only have the filters you have applied yourself rather than those that have been applied externally from other visuals or the filter pane though.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @toresenneseth,
Visuals only know about the data supplied by Power BI to its dataView. Power BI will not supply information about applied filters or conditions, unfortunately.
The only exceptions to this are if you have enabled highlighting (which will send original data plus which values should be flagged in your code), or if your visual filters other visuals (behaving as a slicer). In that case you will only have the filters you have applied yourself rather than those that have been applied externally from other visuals or the filter pane though.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |