Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

Posted on by 22

When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string. How is it possible? Is there anything we need to do on CRM side so field value will be always empty if not provided.

thank you for you help.

  • Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Hi Akshay,

    Is there any place where you are handling the min value of the date and default value? that may be the issue

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Hard to crack the logic

  • Akshay AEMO Profile Picture
    Akshay AEMO 22 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Thank you for your response, Pradeep.

    Yes we can handle the null or empty string using the derived column but I just wanted to understand why it is null for some records and empty string for others.

    I will check out the video. Thanks.

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Hi Akshay,

    Can you please check below link:

    https://www.youtube.com/watch?v=PzQYyNZmo6o

    I guess with the help of Drived Columns you can handle null or empty check.

    https://stackoverflow.com/questions/64494018/azure-data-factory-how-to-derive-empty-to-null-value-with-dynamic-columns

  • Akshay AEMO Profile Picture
    Akshay AEMO 22 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Thanks for the reply, Bipin. The field is not enabled for field security profile.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Hi,

    Have you enabled field security profile for your field in crm dynamics?

    If yes then please verify if User has added to the field security profile

  • Akshay AEMO Profile Picture
    Akshay AEMO 22 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Okay will check & let you know, thanks Naveen

  • Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    If that case I would suggest you to check the ADF pipeline configuration for date field if there is any expression or condition is causing the issue

  • Akshay AEMO Profile Picture
    Akshay AEMO 22 on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Thanks for the comment Naveen. We don't want that date field to be mandatory & when there is a data in the field then it works fine. I don't understand how the same column type shows different values for different records.

  • Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: When I extract data from an entity using ADF, one of the date field value for some of the records are null and for some empty string

    Hi Akshay,

    There is a possibility that ADF pipeline configuration has some issues while retrieving the data. Also, I am not sure but try making the field mandatory and replicate the issue.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans