~/talk

Power BI - Call REST API

Talkat SQLBits 2023 · 2023-03-14..03-18· [data-engineering]
links:none on file
slides:none on file

Live demo shows calling a REST endpoint from Power BI Desktop using Python with pandas and requests and returns a JSON dataframe for Power Query. The flow sends three parameters (from, to, amount), transforms results by removing columns, filtering nulls, unpivot, transpose, rename and loads a table of current currency, conversion date, target currency, amount and converted value. Example converts 125 USD → 117 EUR. Notes: Power BI Service needs a gateway for Python refresh; Web connector is an alternative.

AI-written summary · about

  1. 0:00Introduction and speaker info
  2. 0:45Prerequisites for REST API call
  3. 1:48Demo setup and Python script
  4. 3:02Loading data in Power BI
  5. 4:05Transforming data in Power Query
  6. 6:51Visualizing API data in report
  7. 8:17Q&A session and feedback
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.