Power Automate - Excel - How to create Table and Read the Contents Dynamically from OneDrive?

  Рет қаралды 2,615

abm abm

abm abm

Күн бұрын

In this video I will explain how to create a table and read an Excel sheet contents dynamically from OneDrive?
Here are the expressions I used in this video.
Rest API for finding the Excel ID and Filename
graph.microsof..., '@{triggerOutputs()?['headers/x-ms-file-name-encoded']}')
Expression Excel Filename
body('Parse_JSON')?[0]['name']
Expression Excel Id
body('Parse_JSON')?[0]['id']
Rest API for finding the Excel Used Range
graph.microsof...{outputs('Excel_File_Id')}/workbook/worksheets('Sheet1')/usedRange(valuesOnly=true)
Expression for getting the used range values
last(split(body('Send_an_HTTP_request_4')?['address'],'!'))
Rest API for Create Table
graph.microsof...{outputs('Excel_File_Id')}/workbook/worksheets('Sheet1')/tables/add
Parse JSON 2 Schema
{
"type": "object",
"properties": {
"@@odata.context": {
"type": "string"
},
"@@odata.type": {
"type": "string"
},
"@@odata.id": {
"type": "string"
},
"style": {
"type": "string"
},
"name": {
"type": "string"
},
"showFilterButton": {
"type": "boolean"
},
"id": {
"type": "string"
},
"highlightLastColumn": {
"type": "boolean"
},
"highlightFirstColumn": {
"type": "boolean"
},
"legacyId": {
"type": "string"
},
"showBandedColumns": {
"type": "boolean"
},
"showBandedRows": {
"type": "boolean"
},
"showHeaders": {
"type": "boolean"
},
"showTotals": {
"type": "boolean"
}
}
}
My Blog
mydevexperienc...
Check out my other video Create Table & Read Excel contents from SharePoint link is below.
• Power Automate - Excel...

Пікірлер: 7
@aleixvazquezsanchez9284
@aleixvazquezsanchez9284 2 жыл бұрын
Thank you for you video!! In step 1, the HTTP request only gets the file ID when a file is created in the OneDrive root. Do you know how to get the ID file when it is created within an OneDrive folder?
@abm4975
@abm4975 2 жыл бұрын
Hi Aleix If you have a particular folder then you need to change the HTTP endpoint accordingly. In my example I was using the root folder. Thanks
@RiyaTech21
@RiyaTech21 2 жыл бұрын
Hii ajith Can you explain the how to write expressions,to do the excel operations in power automate
@abm4975
@abm4975 2 жыл бұрын
Hi Vinny What expression you looking for? There is no such expression specific to Excel. All expressions are like functions. It should work for any data whether its Excel, SharePoint, Dynamics or SQL. What specific operation you looking for? Thanks
@RiyaTech21
@RiyaTech21 2 жыл бұрын
Like mathematical operations with data in excel
@abm4975
@abm4975 2 жыл бұрын
Hi Vinny Have a look at this doc docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference See Math functions sections. If you want to run an Excel script from Power Automate please see this doc. docs.microsoft.com/en-us/office/dev/scripts/tutorials/excel-power-automate-manual Thanks
@RiyaTech21
@RiyaTech21 2 жыл бұрын
@@abm4975 Tq
Power Automate - Parse JSON Filter
11:31
abm abm
Рет қаралды 3,7 М.
English or Spanish 🤣
00:16
GL Show
Рет қаралды 17 МЛН
Sigma Girl Pizza #funny #memes #comedy
00:14
CRAZY GREAPA
Рет қаралды 1,7 МЛН
Import Outlook to Excel with Power Automate Tutorial
13:33
Kevin Stratvert
Рет қаралды 354 М.
Are you using the Microsoft Power Automate Filter Array Action wrong?
22:45
A Creative Opinion
Рет қаралды 19 М.
Automate Emailing Excel Task Reminders with ZERO Coding!
12:50
MyOnlineTrainingHub
Рет қаралды 192 М.
English or Spanish 🤣
00:16
GL Show
Рет қаралды 17 МЛН