cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AiolosZhao
Frequent Visitor

No data in default CDS

Hi all,

 

I'm very new to Power Apps, and I'm following the tutorials to study the Power Apps.

 

But when I use the Accounts in CDS, it shows nothing in my Power Apps, I'm not sure whether there is something I need to install or download firstly, or it's just nothing in default CDS, or my operations are wrong.

 

No data in default CDS.PNG

 

Could you please help to explain that?

 

Thanks and if you have some good learning information about Power Apps, please tell me.

 

Aiolos Zhao

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: No data in default CDS

Two things:

1. If you want to try to change the environment, do that on web.powerapps.com before you create a new app and then try again.

2. If there is another environment, and you create an app there but still don't see any data, then you simply may not have data.

In that case, use the new accounts screen in your app to create new accounts (by clicking on the + sign on the 1st screen).

Let me know in case of any questions.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

View solution in original post

14 REPLIES 14
Super User
Super User

Re: No data in default CDS

You just need to change the values of the Title/Subtitle/Body labels within your gallery.

By default, those value reflect sample data. Since you now are using Accounts entity, you need the labels to reflect the information pertaining to the Accounts entity.

So go to these labels and change their values to something like ThisItem.'Account Name' or whatever other details you want to show about the accounts.

Let me know in case of any questions.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

Super User
Super User

Re: No data in default CDS

Just to add to that, click on the red error messages that are visible in the image you attached. And replace the formula with the correct ones.

Let me know if you need some examples. Type ThisItem. and it will give you suggestions. Pick whatever details you want to display in the gallery.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com
eka24 Community Champion
Community Champion

Re: No data in default CDS

Click on the textbox where error is then show that error. It can be that the fieldname for the textbox is no correct. A picture of it would help
AiolosZhao
Frequent Visitor

Re: No data in default CDS

Hi @PowerAddict & @eka24 ,

 

Thanks for quick response, I have changed the formula like below, but it shows blank.

 

Sorry for that the Power Apps on my website is Chinese, I want to change it to English but I don't find it, and if you know could you please help?

No data in default CDS 2.PNG

 

Aiolos Zhao

Super User
Super User

Re: No data in default CDS

I think the labels are showing the default values of the sample items property of a gallery:


CustomGallerySample.

The labels are most likely showing:


ThisItem.SampleHeading
ThisItem.SampleText

 

Change these to 

ThisItem.'Account Number'

ThisItem.'Account Name'

 

See pictures attached. 

 

Let me know if this helps. 

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

 

Thanks!
Hardit Bhatia
https://thepoweraddict.com

 

 

Super User
Super User

Re: No data in default CDS

Are you sure you have data in the Accounts entity. Go to web.powerapps.com ->Data->Entities->Account->Data

 

P4.PNG

 

Let me know if you see any data here. 

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

 

Thanks!
Hardit Bhatia
https://thepoweraddict.com

AiolosZhao
Frequent Visitor

Re: No data in default CDS

Hi @PowerAddict ,

 

Do I need to insert the data into Account entity by myself?

 

I can see the Account in my Entities, but it's blank. Is that normal?

 

Aiolos Zhao

Super User
Super User

Re: No data in default CDS

That depends on how you set up the environment. There is an option to include sample data. If you selected yes, then you would have had some sample data. If not, then your database will be blank.

You can add some data by creating a form within your canvas app to allow creation for accounts.

I would suggest you create a new app and choose the option Create an app from data, then select the Accounts entity. Doing this will help you start with 3 built in screens, a gallery screen to see the list of accounts, a edit form to update any existing accounts, and a new form to create new accounts.

Let me know if this helps and if you have any questions.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com
AiolosZhao
Frequent Visitor

Re: No data in default CDS

Hi @PowerAddict ,

 

Thanks for your reply, I have tried to select:

1. Create from data

2. Choose CDS

3.Select Account entity

 

It has 3 Screens as you said, but the data is blank.

 

I have checked the environment, it's our company's environment, is that mean I can't change the settings to have sample data?

 

If I can change, could you please tell me how to make it.

 

Thanks.

Aiolos Zhao

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (4,880)