cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PaulMaksimovic
Level: Powered On

Common Data Service Date value and Calculated columns

Hello All

 

I have a couple of issues when using the common data service and I hope you can help.

 

1) The do not appear to be any calculated fields within the entities of the common data service.I am able to provide the calculations by adding a text box and performing calculations using the formula bar of powerapps however these fields are not then exportable when I am trying to export the data for reporting purposes. What I am looking for is a calculation field that refers to the other fields within the same entity.

 

2) I imported data into the common data service via excel. One of the columns were dates in the format of dd/mm/yyyy. for some reason this is displayed as m/dd/yyyy, 02:00 am. I can understand the regional settings are not configured for the UK ( which I will correct shortly) however I am unsure as to why the sate has 02:00 am included. I have applied a date filter within powerapps however this is not working and I believe it's down to this issue.

 

Kind regards

1 REPLY 1
Community Support Team
Community Support Team

Re: Common Data Service Date value and Calculated columns

Hi PaulMaksimovic,

 

About question#1, do you want to have a calculation field within the entity? It seems that currently CDS don’t support calculation field, you could consider to create a request at PowerApps Ideas Forum.

We can achieve this on PowerApps. Say I have a custom EntityA which contains three Number columns, column name are number, Number1, Number2.


Then create an auto-generated app based on this entity. On the EditForm screen, unlock the Number field, then set its Default property as DataCardValue15.Text*DataCardValue16.Text.


When values are entered in the Number1 and Number2 field, the number field would be calculated automatically. And it can also be saved to the entity.

3.PNG


About question#2, what’s the field type for the Date column? Is it a Date field or DateTime field?


According to this documentation about “Import or export data from the Common Data Service”, I test this issue with EntityA. I can import the data from Excel to EntityA with correct format.

https://powerapps.microsoft.com/en-us/tutorials/data-platform-export-data/


Please make sure the format you are using in the import Excel file is the same with the format you have configured for the Date field.

 

Please feel free if you need more help.

 

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 225 members 3,367 guests
Please welcome our newest community members: