Hi Everyone,
I have an array and want to get the data from "Values", the scope in the original data is {[{[[ ]]}]} and I want to get the "Values" to be [[ ]], is there has a way to get this result, I tried below expression can't work:
body('XXXX')?['Value']?['Values']
body('XXXX')?['Value']?['items']
Original Array show as below:
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites('XXXXXX-a485-3XX6XXXXXX0XX09tafd0-XXXXX-466-XXX70-5bXXXXX1')/lists('XXXX-cc58-XXXX-XXXXX4b')/drive/items('0XXXXXXXX6JWXXXXXXLRXXXXXL')/workbook/tables('table1')/rows",
"value": [
{
"@odata.id": "/sites('XXXXXXXXXX-3b1-4e61-XXX-38e67de76b90%XXXafd0-7869-466-9b70-XXXXXXXXXXX')/lists('XXXXXXXX-XXXXXX1Xb')/drive/items('05XAKKXXXXXXXXXFQ6XXXX7TK')/workbook/tables(%8XXXX-4F3-BBAC-9XXX9XXXXXX%7D%7)/rows/itemAt(index=0)",
"index": 0,
"values": [
[
4378,
43780,
"",
"",
"",
4373,
"K/B"
]
]
}
]
}
Final, I want the array to be displayed as below:
[
[
4378,
43780,
"",
"",
"",
4373,
"K/B"
]
]
Can anyone have a suggestion? Thank you very much.
Regards,
ilu989