cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dlprentice
Helper V
Helper V

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,646)