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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PatrikK123
Regular Visitor

filter showing default value which is not there if i set the filter to another value

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:

PatrikK123_0-1720514311353.png

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? 

PatrikK123_1-1720514397545.png

So there should be, in second filter, just value H1.

6 REPLIES 6
v-jianpeng-msft
Community Support
Community Support

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:

vjianpengmsft_0-1720778933608.png

vjianpengmsft_4-1720779203752.png

 

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:

vjianpengmsft_2-1720779133226.png

vjianpengmsft_3-1720779143970.png

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:

PatrikK123_0-1720779890768.png

 

 

Hi, @PatrikK123 

After my testing, this is by design. For this purpose, I created a simple sample data as follows:

vjianpengmsft_0-1721376816437.png

To verify whether the additional unmatched filter items have an impact on the results, I created the following metric:

Measure = SUM('Table'[Index])

vjianpengmsft_1-1721376922683.png

When I select H1,H2:

vjianpengmsft_2-1721376982048.png

vjianpengmsft_3-1721377002051.png

When I select YTD, H1, H2 in the slicer, although the slicer retains the unmatched items, it does not affect the final result:

vjianpengmsft_4-1721377114631.png

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

vjianpengmsft_0-1722232224065.png

Power BI Slicer Tutorial: A Comprehensive Guide to Enhancing Your Reports | DataCamp

vjianpengmsft_1-1722232639283.png

 

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.

 

PatrikK123
Regular Visitor

I have data like this:

 

filter Afilter B
rokrok
rokYTD
pol rokH1
pol rokH2

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?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.