Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
Is there is a way to save the original data before applying a filter ?
Evenmore better if there is a way to get back two data setes from the filter, one for the data that passed the filter and one for the data that didn't.
Yours,
A.Ali
As far as I understand you, you should take a look at Visualization interactions in a Power BI report.
Please let me know if this meets your requirements.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thank you for your reply.
I think I didn't explain my case very well so I'll explain more.
I'm developing a new visual in PowerBI/D3. In this visual I'm showing all the data on it (No filters). Then when I setup a filter or slicer I want to keep the original data and highlight the filtered data.
But if I applied filters and save the report, the next time I'll open the report it will not get the non-filtered data, it'll show only filtered data but I need to show both of them.
So my question is how to get the original data even if there is a filtered applied? can this achieved by SQL query? or there is other method ?
Yours,
Abdallah
Thank you for the clarification.
There's no way to get the original data if any filter is applied. Highlighting is only supported for selection.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thank you Ignat for your reply,
So I need to come up with a workaround.
I appreciate it if you can help with the following questions:
1- Can we detect if there is a filter in the report by code ?
2- Can we clear the report filter by code ?
3- Can we reload the report or triger update by code ?
Yours,
Abdallah
As far as I know, all of these items are impossible using Power BI Csutom Visuals API.
However, these items might be achieved by using PowerBI-JavaScript (I'm not sure that this library might be integrated into custom visual).
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
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 |