Select to view content in your preferred language

Filter Widget - Show no values when nothing is selected

369
4
04-08-2025 07:16 AM
Labels (2)
C_McNamara
Regular Contributor

Hello!

How do you show no values when you do not have a selection in a filter?

The image below shows the default of a group filter. The text element (highlighted by the green box) is returning the first value in my feature layer. I see  that the filter is actually on 'All' but i don't know if I have any other default choices.

How do I not show this first value?

C_McNamara_0-1744121699217.png

 

Works completely fine after I select an area to filter on:

C_McNamara_1-1744121739713.png

 

Thanks,

Colin

 

 

0 Kudos
4 Replies
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @C_McNamara,

In SQL Expression Builder, please choose the first value in the dropdown. The value will be shown in the Filter.

Ke_Xu_2-1744250153482.png

 

Ke_Xu_1-1744250105511.png

 

Thanks,

Ke

 

0 Kudos
C_McNamara
Regular Contributor

Hi @Ke_Xu,

 

Thanks for the reply!

I specifically don't want any value shown.

 

I am also using a the group sql filter and using "Unique" as the select source type:

C_McNamara_0-1744733901210.png

 

I don't have any option for "no filter/selection" here:

C_McNamara_1-1744733962908.png

 

0 Kudos
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @C_McNamara,

Currently, only All can be displayed.

 

 

Thanks,

Ke

0 Kudos
C_McNamara
Regular Contributor

Hi Ke,

I decided to use predefined unique values. That was the only way to get rid of "All".

0 Kudos