Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

i want to display my form if my condition is true

Posted on by 95

safaayadi_0-1720093873264.png

  • WarrenBelz Profile Picture
    WarrenBelz 143,246 on at
    Re: i want to display my form if my condition is true

    Hi @safaayadi ,

    Please accept @WiZey 's response if this is correct and you want some records to exist. If you want no records, use IsEmpty. NOTE: none of this is Delegable if you are using SharePoint

    !IsEmpty(
     Filter(
     Client,
     'Mail ' = User().Email &&
     !IsBlank('Contrat maintenance Logiciels') && 
     !IsBlank('Contrat maintenance Matériels ')
     )
    )

     

  • Srini007 Profile Picture
    Srini007 2,747 on at
    Re: i want to display my form if my condition is true

    Hi @safaayadi 

     

    You can write your condition under the visible property of the form, below post for your reference

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-conditionally-show-text-based-on-a-form-field-value/td-p/1229798

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Cheers,

    Srini

  • WiZey Profile Picture
    WiZey 3,013 on at
    Re: i want to display my form if my condition is true

    Hello @safaayadi ,

     

    Could you elaborate? What is the error? What are the conditions?

     

    From what I see, there is a closing parenthesis missing on the right end, but that's far from enough.

     

    If you want to switch the visibility on a control, you need a boolean and not a table. Unless you want to test if your table is empty, in that case use "IsEmpty()".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard