cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dlprentice
Responsive Resident
Responsive Resident

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?

dlprentice
Responsive Resident
Responsive Resident

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,331)