Salesforce reports data lookup using ADF not fetching all columns

2023-09-07T07:26:10.9666667+00:00

Hi Team,

I am using ADF lookup activity to fetch records of a salesforce report and seeing one issue. There are two columns with name "Call Type" and "Call type" in salesforce, but ADF lookup activity is fetching "Call Type" column with "Call type" column values. I have checked and these are direct columns from base tables and there are no conditions as well. I have attached the screenshot for reference. Please let me know if anything is missing.

User's image

User's image

Thanks & Regards,

D. Sai Venkatesh.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,626 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2023-09-07T12:44:58.5633333+00:00

    It might be worth it to see if you can rename one of the columns temporarily to something different, then run your ADF pipeline and see if the issue still persists. If it doesn't, then rename it back.

    Check for views, custom fields, or other configurations in Salesforce that might cause the data to be treated in this manner.

    Some platforms treat column names as case-sensitive, while others do not. If ADF is pulling Salesforce data in a case-sensitive manner, but Salesforce is storing it in a case-insensitive manner, this could cause conflicts. Make sure to account for case discrepancies.

    Instead of using Lookup directly on the Salesforce data, you can create a Data Flow. In the Data Flow, you can rename columns, handle transformations, and even manage case issues. Once the columns are properly renamed or managed in the Data Flow, use the Lookup on this corrected dataset.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.