Bird
0
0

Which Power Query M function is used to connect to a REST API endpoint in Power BI?

easy📝 Formula Fix Q12 of 15
Power BI - Getting Data
Which Power Query M function is used to connect to a REST API endpoint in Power BI?
AOData.Feed()
BWeb.Contents()
CCsv.Document()
DExcel.Workbook()
Step-by-Step Solution
Solution:
  1. Step 1: Identify function for REST API calls

    The Web.Contents() function fetches data from any web URL, including REST APIs.
  2. Step 2: Differentiate from OData function

    OData.Feed() is specific for OData sources, not generic REST APIs.
  3. Final Answer:

    Web.Contents() -> Option B
  4. Quick Check:

    REST API = Web.Contents() [OK]
Quick Trick: Use Web.Contents() for REST API URLs [OK]
Common Mistakes:
  • Using OData.Feed() for REST APIs
  • Confusing CSV import with API calls
  • Trying Excel.Workbook() for web data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes