The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
How can I set it in a Power BI visualization report so that if I have two filters, it doesn't constantly display the default value from the first filter - the first option, if I select a different option? Here is an illustrative example:
and if i click to another value - polrok, there is still in second filter the value cely rok, but this value is not in the first filter, how to change it?
So there should be, in second filter, just value H1.
Hi, @PatrikK123
If the fields used by both of your slicers are in the same table, you can traverse the filter's filter relationship to set the slicer to normal:
In the following scenario is what you are experiencing right now:
I was able to reproduce your current problem when I clicked on rock in slicerB and pol rock in slicerA:
You need to enable mutual filtering for your two slicers, just like the two images I provided earlier, and after that, you can get the results you are looking for.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
not working for tile filtering, because there ist still default value clicked:
Hi, @PatrikK123
After my testing, this is by design. For this purpose, I created a simple sample data as follows:
To verify whether the additional unmatched filter items have an impact on the results, I created the following metric:
Measure = SUM('Table'[Index])
When I select H1,H2:
When I select YTD, H1, H2 in the slicer, although the slicer retains the unmatched items, it does not affect the final result:
This is the default behavior of the slicer, which will keep the currently selected item. However, if the currently selected item does not match, it will not affect the data.
I have provided the PBIX file used in this article below. I hope it will help you understand the behavior of this slicer.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ok, and can u tell me how to do it better for user experience? this slicer is not good for this filtering.
Hi, @PatrikK123
Thank you very much for your reply. You can follow the articles below to optimize your reports to improve the user experience:
Enhance Power BI report designs for the user experience - Training | Microsoft Learn
Power BI Slicer Tutorial: A Comprehensive Guide to Enhancing Your Reports | DataCamp
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have data like this:
filter A | filter B |
rok | rok |
rok | YTD |
pol rok | H1 |
pol rok | H2 |
and if i click to filter A to value rok i see just value rok and YTD, it is default. But when i click in filter A to value "pol rok" I see default value from filter A set to value rok - filter B rok, ant it is showing none data, because it is not there when i have in filter A value pol rok. How to adjust it?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
54 | |
26 | |
14 | |
14 | |
12 |
User | Count |
---|---|
100 | |
37 | |
28 | |
22 | |
20 |