cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,447)