cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dlprentice
Resolver II
Resolver II

Intersection expression is returning no values?

Hello,

 

I am trying to copy data from an Excel table into a SharePoint list that has existing data. I am trying to use the intersection expression to see what is the same and what is not the same so to delete or update items. However my intersection seems to return nothing. It should be noted that both of the select steps I have mapped to be identical keys.

 

Here is my intersection expression: 

intersection(body('Select_ExcelKeys'),body('Select_SharePointKeys'))

 

Screenshot 2021-02-12 090716.png

 

Screenshot 2021-02-12 090802.png

2 REPLIES 2
Serbay
Resolver I
Resolver I

Hi,
Could you please share details about "Select Excel Keys" and "SharePoint Keys"? What kind of object do they have?

Sure no problem,

 

e1.png

 

Using Parse JSON this is the Schema from the Excel select:

{
    "type": "object",
    "properties": {
        "body": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "City": {
                        "type": "string"
                    },
                    "State": {
                        "type": "string"
                    },
                    "Location Name": {
                        "type": "string"
                    },
                    "Verizon IP Address": {
                        "type": "string"
                    },
                    "FWS IP Address": {
                        "type": "string"
                    },
                    "DNS Entity Name": {
                        "type": "string"
                    },
                    "Entity Hostname": {
                        "type": "string"
                    },
                    "Local Contact Name": {
                        "type": "string"
                    },
                    "Local Contact Email": {
                        "type": "string"
                    },
                    "Local Contact Cell Phone": {
                        "type": "string"
                    },
                    "Local Contact Office Phone": {
                        "type": "string"
                    },
                    "Location Streeet": {
                        "type": "string"
                    },
                    "Location Zip Code": {
                        "type": "string"
                    },
                    "Data Access Type": {
                        "type": "string"
                    },
                    "Circuit Speed": {
                        "type": "string"
                    }
                },
                "required": [
                    "City",
                    "State",
                    "Location Name",
                    "Verizon IP Address",
                    "FWS IP Address",
                    "DNS Entity Name",
                    "Entity Hostname",
                    "Local Contact Name",
                    "Local Contact Email",
                    "Local Contact Cell Phone",
                    "Local Contact Office Phone",
                    "Location Streeet",
                    "Location Zip Code",
                    "Data Access Type",
                    "Circuit Speed"
                ]
            }
        }
    }
}

 s1.png

Using Parse JSON this is the Schema from the SharePoint select:

{
    "type": "object",
    "properties": {
        "body": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "City": {
                        "type": "string"
                    },
                    "State": {
                        "type": "string"
                    },
                    "Location Name": {
                        "type": "string"
                    },
                    "Verizon IP Address": {
                        "type": "string"
                    },
                    "FWS IP Address": {},
                    "DNS Entity Name": {
                        "type": "string"
                    },
                    "Entity Hostname": {
                        "type": "string"
                    },
                    "Local Contact Name": {
                        "type": "string"
                    },
                    "Local Contact Email": {
                        "type": "string"
                    },
                    "Local Contact Cell Phone": {},
                    "Local Contact Office Phone": {},
                    "Location Streeet": {
                        "type": "string"
                    },
                    "Location Zip Code": {},
                    "Data Access Type": {
                        "type": "string"
                    },
                    "Circuit Speed": {}
                },
                "required": [
                    "City",
                    "State",
                    "Location Name",
                    "Verizon IP Address",
                    "FWS IP Address",
                    "DNS Entity Name",
                    "Entity Hostname",
                    "Local Contact Name",
                    "Local Contact Email",
                    "Local Contact Cell Phone",
                    "Local Contact Office Phone",
                    "Location Streeet",
                    "Location Zip Code",
                    "Data Access Type",
                    "Circuit Speed"
                ]
            }
        }
    }
}

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (923)