web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button goes invisible ...
Power Apps
Answered

Button goes invisible after it's first usage of an app

(0) ShareShare
ReportReport
Posted on by 339

Hello guys,

 

I wanted to create a rule that, after someone finishes a form, they wouldn't be able to enter the powerapp again. My ideia for this was to create a session screen where the "Start" button would dissapear after you have finished the form.

 

After checking online, i see the following code:

IsEmpty(Filter(DATABASE, Author.DisplayName = User().FullName).Author)

It looks greats, but when ill use it, it shows me an error, and it will not work. I even switched the "," to ";" but it will not work. Can somebody help me?

I also want to use this code to guide someone to other screens in case they already did the form.

Categories:
  • MB-02102022-0 Profile Picture
    Microsoft Employee on at

    Do you mind sharing the error that you are receiving?

  • Field Profile Picture
    339 on at

    It says in the "," that it's an unexpected token, and the first two "(" is an invalid argument. 

    See the screenshot below

    error.PNG
  • MB-02102022-0 Profile Picture
    Microsoft Employee on at

    For some reason, I can't reproduce the error. Are you perhaps using a non-english language? If so, do you mind sharing what it is?

     

    Some languages use different delimiters.Here are docs on the different language differences: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/global-apps.

     

    But even then, according to the docs, switching the comma to a semicolon should have worked for you. I'm assuming you got a similar error when you switched to a semicolon. Is that correct?

     

     

  • Field Profile Picture
    339 on at

    Well, after using the ";", the code is right, the problem is, it won't work, even with the testing.

     

    Check the images down below. I have my vote on the sharpoint list, but in the powerapps, the blocks should have dissapeared but it won't dissapear.

     

    I removed the text manually, it should have dissapeared everything at this point. 

     

    Edit: All of this with ";", Powerapps says the code is right, but it doesn't work for some reason

    2.PNG
    1.PNG
  • MB-02102022-0 Profile Picture
    Microsoft Employee on at

    Can you try creating a few text labels with the following formulas? It should help debug what is going wrong.

     

    1. The first label verifies the name PowerApps is looking for in your SharePoint list (this should be your name)
    2. The gallery should show at least one record that has your name in it (if not, that means the vote you submitted wasn't under your name)
    3. The last text box should evaluate to false, showing that PowerApps found your name in the SharePoint list

     

    Screen Shot 2018-05-03 at 8.48.27 AM.png

     

  • Field Profile Picture
    339 on at

    I've tried, the 2º doesn't show anything at all, and the 3º shows as true instead of false. The first one shows my name

     

    Solutions?

  • MB-02102022-0 Profile Picture
    Microsoft Employee on at

    Do you at least have empty rows in your gallery? (this would imply you have data in your SharePoint List) If not, this suggests to me that your app is not pulling from the right data source.

     

  • Field Profile Picture
    339 on at

    I do have empty rows, and when i go to the data, the list knows it was me, there is my name on it. I have tried with a dummy app and it will not work as well. I think the problem is with sharepoint rather than the powerapp.

     

    I didn't said, but it might be it, it shows an error in a blue underline, to say that the Filter Formula can't be done correctly due to server limitations. That blue underline is under the "=" and "DisplayName"

     

     

  • Verified answer
    Field Profile Picture
    339 on at

    I found the error. Was in the coding, i edited the coding and now it works... Sorry for wasting time 

     

    IsEmpty(Filter(DATABASE; Author.Email = User().Email).Author)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard