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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
techpowerbi
Frequent Visitor

remove the filter on a field parameter in a visual

HI, I need a solution for this problem.

I have a field parameter to show the columns of a table.

techpowerbi_0-1689781864999.png

I have a standard state where UU is the only column to show

techpowerbi_1-1689781984685.png

When a condition is fulfilled (myVariable is True) the filter on the visual should be removed. 

How to remove the filter on a field parameter in a visual?

Thks

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi ,  @techpowerbi 

According to your description, you want to realize the "When a condition is fulfilled (myVariable is True) the filter on the visual should be removed".

And now you put the filter on the "Filter on this visual" .

First of all, the function of "Filter on this visual" is to filter the visual that you want to display by default, and the function of automatic modification cannot be realized, only manual modification can be performed.
For this , you can refer to :
Filters and highlighting in Power BI reports - Power BI | Microsoft Learn
Add a filter to a report in Power BI - Power BI | Microsoft Learn
 
Secondly, for the Power BI slicer, there is currently no automatic clearing of the selected function according to the situation.For your needs, you can try to use Custom visual to see if it can meet your needs. Preselected slicer can select the corresponding value by default according to clearing.
For this , you can refer to my case before:
Solved: How to set last 2 months as default filter in a po... - Microsoft Fabric Community
 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi ,  @techpowerbi 

According to your description, you want to realize the "When a condition is fulfilled (myVariable is True) the filter on the visual should be removed".

And now you put the filter on the "Filter on this visual" .

First of all, the function of "Filter on this visual" is to filter the visual that you want to display by default, and the function of automatic modification cannot be realized, only manual modification can be performed.
For this , you can refer to :
Filters and highlighting in Power BI reports - Power BI | Microsoft Learn
Add a filter to a report in Power BI - Power BI | Microsoft Learn
 
Secondly, for the Power BI slicer, there is currently no automatic clearing of the selected function according to the situation.For your needs, you can try to use Custom visual to see if it can meet your needs. Preselected slicer can select the corresponding value by default according to clearing.
For this , you can refer to my case before:
Solved: How to set last 2 months as default filter in a po... - Microsoft Fabric Community
 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

lbendlin
Super User
Super User

That's a bit of a corner case usage scenario but if this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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