Question 7
You have an API that returns more than 100 columns. The following is a sample of column names.
client_notified_timestampc
lient_notified_sourceclien
t_notified_sourceidclient_
notified_valueclient_respo
nded_timestampclient_respo
nded_sourceclient_responde
d_sourceidclient_responded
_value
You plan to include only a subset of the returned columns.
You need to remove any columns that have a suffix of sourceid.
How should you complete the Power Query M code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Box 1: Table.RemoveColumns When you do “Remove Columns” Power Query uses the Table.RemoveColumns function Box 2: List.Select Get a list ofcolumns. Box 3:Text.EndsWith Reference: https://community.powerbi.com/t5/Power-Query/Remove-columns-containing-a-certain-value/td-p/759657
Box 1: Table.RemoveColumns
When you do “Remove Columns” Power Query uses the Table.RemoveColumns function
Box 2: List.Select
Get a list ofcolumns.
Box 3:Text.EndsWith
Reference:
https://community.powerbi.com/t5/Power-Query/Remove-columns-containing-a-certain-value/td-p/759657