cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaikSayyad
Level: Powered On

Filter the DropDown options which those are not want to be displayed.

Hello Mates,

 

I have created a DropDown control using with Distinct function, it was working fine.

Now I need to hide some of the dwopdown options, like I have A B C D E  Distinct options from a list column, so I need to display B C D E options only. Here it is my formula 

Distinct('TestList',Title)
1 ACCEPTED SOLUTION

Accepted Solutions
R3dKap
Level 10

Re: Filter the DropDown options which those are not want to be displayed.

Ok, so try this:

Distinct(Filter(EUS_DAT_CS_REGION,Not(StartsWith(Title,"GLOBAL"))),Title)

View solution in original post

5 REPLIES 5
R3dKap
Level 10

Re: Filter the DropDown options which those are not want to be displayed.

Hi @ShaikSayyad,

Try this:

Distinct(Filter('TestList',<your condition to remove 'A' values>),Title)
ShaikSayyad
Level: Powered On

Re: Filter the DropDown options which those are not want to be displayed.

Nope, It was showing red line under the formula, I tried with out arows <> and "GLOBAL" but it was not showing anything.

Distinct(Filter(EUS_DAT_CS_REGION,<'GLOBAL'>),Title)
R3dKap
Level 10

Re: Filter the DropDown options which those are not want to be displayed.

In fact, < and > signs in my formula should not stay in the formula... They must be replaced with what's described inside.

Can you tell us exactly how your filter should work (exact name of fields and values) ?

 

ShaikSayyad
Level: Powered On

Re: Filter the DropDown options which those are not want to be displayed.

Title is field name and values are GLOBAL, USA, UK, CANADA, CHINNA . I wanted only USA, UK, CANADA, CHINNA has to show in dropdwon list
R3dKap
Level 10

Re: Filter the DropDown options which those are not want to be displayed.

Ok, so try this:

Distinct(Filter(EUS_DAT_CS_REGION,Not(StartsWith(Title,"GLOBAL"))),Title)

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,434)