We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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?
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |