Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Form not visible, because dataset is empty

(0) ShareShare
ReportReport
Posted on by

We created a power app screen on the basis of a form (referencing one table), with different datatypes (options, text, etc.). When previewing the screen the form is not displayed anymore. (maybe because the entries are still empty). But we need the form for users to fill the different entries of the table in the first place.

 

Could someone help?

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Form not visible, because dataset is empty

    Hi @Anonymous ,

     

    1\ If your table has no data yet, you can use the newform function to create an item.

    Add a button control and set its OnSelect property to:

    NewForm(your form)

     

    2\ If your table already has data and you want to display one of its items, you could use the item property of the form.

     

    For example:

    If you want to show the first Item on the form,you could try this formula on the Item property of you form control:

    First(your table name)

     

    And please don’t forget to set the mode of your form to edit or view.

    You could use button control to set the mode of your form.

    EditForm(your form)
    ViewForm(your form)

     

    Best Regards,

    Wersky

     

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at
    Re: Form not visible, because dataset is empty

    Hi Partner,

    Even though no data source is associated , form still displays the controls added on screen.

    There is only one possibility. Please change the color of the form and then do a preview to see if the problem is simple.

    Also check the size of the form. In rare scenarios the form size will be too short that  It is not getting displayed in Preview. Check the width and height of the form.

     

    Regards

    Devi

    My Blog : https://d365topicsbydk.com

     

  • Z_Lukowski Profile Picture
    216 on at
    Re: Form not visible, because dataset is empty

    Hi @Anonymous ,

    This Is form in the canvas, right? 

    You just need to change the "Default Mode" of the form to new:

    Z_Lukowski_0-1634061186228.png

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 15

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics