我想选择"时间序列(1分钟)"然后首先从中记录 - 因为时间变化然后" 1。开放&#34 ;.
我尝试使用此查询
= Json.Document(Web.Contents("https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=1min&apikey=demo"), 1250)
= Source[#"Time Series (1min)"]{0}[#"1. open"]
但我明白了:
Expression.Error: We cannot convert a value of type Record to type List.
Details:
Value=Record
Type=Type
这没有帮助我http://excel-inside.pro/blog/2015/11/05/absolute-and-relative-references-in-power-query/我认为问题可能在于我在引用第一行时得到null。
答案 0 :(得分:0)
尝试:
let
Source = Json.Document(Web.Contents("https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=1min&apikey=demo"), 1250),
#"Time Series (1min)" = Source[#"Time Series (1min)"],
#"Converted to Table" = Record.ToTable(#"Time Series (1min)"),
Value = #"Converted to Table"{0}[Value]
in
Value