Forum Discussion

Tom Hamilton's avatar
Tom Hamilton
Copper Contributor
Jan 24, 2022
Solved

Conditionally show/hide column based on 2 conditions

I have a Sharepoint list column which i'm trying to show based on two conditions.

 

e.g. if Column A is 1 OR Column A is 2, show,hide

 

It works with the one condition but not two. I've tried in both SharePoint and editing the form in Power apps but neither work. Does anyone have an example formula?

  • Tom Hamilton=if([$Number] == 1 || [$Number]==2, true, false)

     

    Rob
    Los Gallardos
    Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

3 Replies

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Tom Hamilton=if([$Number] == 1 || [$Number]==2, true, false)

     

    Rob
    Los Gallardos
    Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

    • RehmanR's avatar
      RehmanR
      Copper Contributor
      Has this formula stopped working? I am getting syntax error.

Resources