cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Stylead
Helper III
Helper III

Hide some choices

Hi, 

 

I have a choices column but I want to hide some of them and showed only this :

 

  • In Store (San Campus 2020)
  • In Store (Main Campus G3030)
  • In Store (Arzanah 8301)
  • In Store (CMHS)

 

Screen Shot 2022-03-10 at 10.38.32 AM.png

 

Any kind of help is appreciated ^^

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Dual Super User
Dual Super User

@Stylead,

Look at my proposal. Because you didn't specify, i build it for a Sharepoint datasource:

With({
   prefferedChoices:
       [
          "In Store (San Campus 2020)",
          "In Store (Main Campus G3030)",
          "In Store (Arzanah 8301)",
          "In Store (CMHS)
       ]
},
Filter(
       Choices(SharepointList.ColumnName),
       Value in prefferedChoices.Value
      )
)

 If is DataVerse please let me know !

 

Hope it helps !

View solution in original post

2 REPLIES 2
gabibalaban
Dual Super User
Dual Super User

@Stylead,

Look at my proposal. Because you didn't specify, i build it for a Sharepoint datasource:

With({
   prefferedChoices:
       [
          "In Store (San Campus 2020)",
          "In Store (Main Campus G3030)",
          "In Store (Arzanah 8301)",
          "In Store (CMHS)
       ]
},
Filter(
       Choices(SharepointList.ColumnName),
       Value in prefferedChoices.Value
      )
)

 If is DataVerse please let me know !

 

Hope it helps !

Works perfectly thanks a lot ^^

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,326)