Forum Discussion
giammariam
7 years agoSolution 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 ne...
Anonymous
6 years agoNot 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.
- giammariam6 years agoSolution Sage
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.