I have three large Arrays. Each Array has the same objects: "Employee" and "EmployeeID".
I want to combine them into one Array. Literally just stacking the Arrays together. No weaving or matching of values, as there will not be duplicates because they all come from different sources:
Array 1
{
"Employee": "Tony Stark",
"EmployeeID: "123456"
}
{
"Employee": "Peter Parker"
"EmployeeID": "119283"
}
Array 2
{
"Employee": "Scott Summers",
"EmployeeID: "142232"
}
{
"Employee": "Charles Xavier"
"EmployeeID": "892209"
}
Array 3
{
"Employee": "Eric Brooks",
"EmployeeID: "992001"
}
{
"Employee": "Bruce Banner"
"EmployeeID": "173820"
}
to become:
Final Array
{
"Employee": "Tony Stark",
"EmployeeID: "123456"
}
{
"Employee": "Peter Parker"
"EmployeeID": "119283"
}
{
"Employee": "Scott Summers",
"EmployeeID: "142232"
}
{
"Employee": "Charles Xavier"
"EmployeeID": "892209"
}
{
"Employee": "Eric Brooks",
"EmployeeID: "992001"
}
{
"Employee": "Bruce Banner"
"EmployeeID": "173820"
}
I was hoping to find a way that wouldn't require me to do an Apply to Each, as that will take forever given the number of items in each Array.
Solved! Go to Solution.
Figured it out:
Compose
union(Array1,Array2,Array3)
User | Count |
---|---|
27 | |
14 | |
12 | |
10 | |
9 |
User | Count |
---|---|
51 | |
29 | |
28 | |
24 | |
22 |