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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
giammariam
Solution Sage
Solution Sage

Custom Visual - Access Filtered and Unfiltered Data

When a filter is applied, I need to be able to access both the filtered and unfiltered data in my visual. I am developing a hierarchical tree, so once data is filtered/sliced to a specific node, I need to know what that node is AND I need the unfiltered dataset to find the filtered node's ancestors and children.

 

One thing I tried was editing the slicer's visual interactions to not filter my custom visual's dataset. While I obviously could access the entire dataset, my custom visual had no way of knowing what values the slicer was set to filter on.

 

Is it possible to access both the filtered dataset and the unfiltered dataset in the dataViews?



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!
2 REPLIES 2
Anonymous
Not applicable

I am looking at a similar issue. Did you find a fix? The only thing I can think is to store the data when the page loads, and use it to compare against the changing dataViews data.

Sorry for responding so late to this, but what I ended up doing was storing the original dataset in one object and the current dataset in another object. On update, the current dataset would get overwritten each time but the original dataset would only change if more data became visible on update (i.e. if the report was set to initially load with a filter already applied and the user turned it off). By storing two versions of the dataset, I could reference datapoints that had been filtered out. 



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.