exam questions

Exam PL-500 All Questions

View all questions & answers for the PL-500 exam

Exam PL-500 topic 5 question 56 discussion

Actual exam question from Microsoft's PL-500
Question #: 6
Topic #: 5
[All PL-500 Questions]

You are developing a desktop flow that reads data from a table in a Microsoft Excel workbook.
You need to read the cell in the fourth row and first column of the table.
Which two expressions can you use? Each correct answer presents a complete solution.
NOTE: Each correct answer is worth one point.

  • A. %ExcelData[1][4]%
  • B. %ExcelData[4][0]%
  • C. %ExcelData['Column1'][4]%
  • D. %ExcelData[4]['Column1']%
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Panvica
8 months, 3 weeks ago
BD - because they forgot to mention that the table has headers
upvoted 1 times
...
Ni12_
1 year ago
BD is right .Tested
upvoted 1 times
...
Weller
1 year, 3 months ago
Selected Answer: BD
You must access via index for row by Index or Column name for columns
upvoted 1 times
...
madimad
1 year, 4 months ago
chatgpt: BD
upvoted 1 times
...
Mail20
1 year, 4 months ago
B. %ExcelData[4][0]% D. %ExcelData[4]['Column1']%
upvoted 1 times
...
dnt91
1 year, 4 months ago
anser is B& D > https://www.examtopics.com/exams/microsoft/pl-500/view/29/ but it is false it should be ExcelData[3][0] to access the 4th line and 1st column. Rows and Columns are indexed by 0
upvoted 1 times
...
flavours
1 year, 8 months ago
Selected Answer: D
D is the only one correct. I tried with step - Read from Excel worksheet. and then Set Variable. You can only use index > 0 for both row and column.
upvoted 2 times
...
alejoRZ96
2 years ago
According to this link https://learn.microsoft.com/en-us/power-automate/desktop-flows/variable-data-types the structure is as follows: %ExcelData[rowNumber]['ColumnName']% %VariableName[RowNumber][ColumnNumber]% I replicated the exercise in desktop flow and B and D are correct. Consider that the "Read from Excel worksheet" action has the property "First Line of range contains column names". if it's false, it takes as the first row the headers, hence, you will have the fourth row with the information. But, if it's true, you will have the fifth row. Due to Index starting from [0] and in this case, you will change the Column1 to the Header Name Column.
upvoted 3 times
...
Lavisha17
2 years ago
%Datatable[RowIndex][ColumnIndex]% %Datatable[RowIndex]['ColumnName']%
upvoted 2 times
...
A_TO
2 years ago
I am not sure if this is correct at all. First as @BayerischerSchweizer said there is no such action, but additionally the fourth row is index 3. So correct answers should be %ExcelData[3][0]% or %ExcelData[3][Column1]% as there is not mentioned that there is a header or I am missing something.
upvoted 1 times
...
charles879987
2 years, 2 months ago
Selected Answer: AC
AC. B can't be the answer. 0 doesn't refer to column 1.
upvoted 1 times
...
BayerischerSchweizer
2 years, 4 months ago
Actually I am not so sure here. First of all there is nothing as "Read data from table" (PAD newest version Jan. 2023). There is an action which is called "Read from Excel Worksheet". Table would mean a formatted table in Excel which I cannot find anywhere in PAD. If you want to access a single value then it might be Answer C %ExcelData['Column1'][4]% at least this is what my tool shows.
upvoted 1 times
...
Anchov
2 years, 5 months ago
Selected Answer: BD
correct.
upvoted 3 times
...
Stinow
2 years, 6 months ago
Correct, IF the first column is called 'Column1'
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...