cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Resident Rockstar
Resident Rockstar

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
Highlighted
Resident Rockstar
Resident Rockstar

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)
Highlighted
Helper I
Helper I

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)
Highlighted
Resident Rockstar
Resident Rockstar

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) ?

 

Highlighted
Helper I
Helper I

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
Highlighted
Resident Rockstar
Resident Rockstar

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,212)