Bird
0
0

Given this Power Query M code snippet, what will be the output type after running it?

medium📝 dax lod result Q4 of 15
Power BI - Getting Data
Given this Power Query M code snippet, what will be the output type after running it?
let
  Source = Web.Contents("https://example.com/table"),
  Data = Csv.Document(Source)
in
  Data
AA list of URLs extracted from the web page
BA table containing CSV data from the web URL
CAn error because Csv.Document cannot parse web content
DA text string of the web page HTML
Step-by-Step Solution
Solution:
  1. Step 1: Understand Web.Contents Output

    Web.Contents fetches raw data from the URL as binary content.
  2. Step 2: Apply Csv.Document to Parse Data

    Csv.Document converts the binary CSV data into a table format.
  3. Final Answer:

    A table containing CSV data from the web URL -> Option B
  4. Quick Check:

    Web.Contents + Csv.Document = Table [OK]
Quick Trick: Web.Contents + Csv.Document returns a table [OK]
Common Mistakes:
  • Expecting HTML text instead of parsed table
  • Assuming Csv.Document fails on web content
  • Confusing output with list or error

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes