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

Importing Solution - Error while importing Calculated fields

I'm attempting to import a solution in another environment. However, I'm getting the following error:

 

  • Error while importing Calculated fields name cr55d_plannedisd

 

The field itself is working correctly in the other environment.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @DanFou,

 

Can you verify if the Behaviour of all the Date fields used in the calculated field also match? E.g. are they all "User Local"? While strangely it may not break in your source environment, it will fail to import to another environment.

 

As per the docs on Behavior and format of date/time field:

 

Warning:

Before changing the behavior of a date and time field, you should review all the dependencies of the field, such as business rules, workflows, calculated fields, or rollup fields, to ensure that there are no issues as a result of changing the behavior. After changing the behavior of a date and time field, you should open each business rule, workflow, calculated field, and rollup field dependent on the field that you changed, review the information, and save it, to ensure that the latest date and time field’s behavior and value are used. You can restrict modifying the field’s behavior, by setting the CanChangeDateTimeBehavior managed property to False. More information: Set managed property to change date and time behavior

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

5 REPLIES 5
ChrisPiasecki
Super User
Super User

Hi @DanFou,

 

Is there any further detail of the error message you can provide? You should be able to download the Import log XML and open in it in Excel. The 2nd sheet should should show a line by line detail of each component import status and eventually you should come up on the calculated field that failed to import and its error message. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

DanFou
Frequent Visitor

@ChrisPiaseckiI did have a look at the XML file provided. It features very little info, see attached file.

 

solution import issue.jpg

Edit: Sorry, just noticed your comment about the second sheet. Looking at that now!

 

Edit 2: Got a bit more info:

0x8006043AYou can only use a Date Only type of field.   

 

Edit 3: I looked at the datatypes, all the dates involved in the formula are Date Only. The field plannedisd is also Date Only. Here is my formula:

 

solution import issue2.jpg

Hi @DanFou,

 

Can you verify if the Behaviour of all the Date fields used in the calculated field also match? E.g. are they all "User Local"? While strangely it may not break in your source environment, it will fail to import to another environment.

 

As per the docs on Behavior and format of date/time field:

 

Warning:

Before changing the behavior of a date and time field, you should review all the dependencies of the field, such as business rules, workflows, calculated fields, or rollup fields, to ensure that there are no issues as a result of changing the behavior. After changing the behavior of a date and time field, you should open each business rule, workflow, calculated field, and rollup field dependent on the field that you changed, review the information, and save it, to ensure that the latest date and time field’s behavior and value are used. You can restrict modifying the field’s behavior, by setting the CanChangeDateTimeBehavior managed property to False. More information: Set managed property to change date and time behavior

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

DanFou
Frequent Visitor

I switched all the date fields (Date Only) to have the matching Behavior of Date Only and was able to import my solution. Thanks!

ChrisPiasecki
Super User
Super User

Glad that worked for you @DanFou, Happy Friday!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,565)