Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Help merging multiple API calls into POwerBI

Hello, I need help with the syntax to succesfully merge multiple API calls into ONE single query. I know I can use the merge function, but that requires having 2 tables I believe. I do not want to have multiple tables and then merging, I would like to directly get ONE SINGLE query that involve multiple API calls. 

 

Here is an example of what I am trying to do:

 

let
    Source = Json.Document(Web.Contents("https://api-v2.intrinio.com/securities/AAPL/historical_data/52_week_high?frequency=daily&start_date=...")),
    #"Converted to Table" = Record.ToTable(Source),
    Value = #"Converted to Table"{0}[Value],
    #"Converted to Table1" = Table.FromList(Value, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table1", "Column1", {"date", "value"}, {"date", "value"}),
    #"Renamed Columns" = Table.RenameColumns(#"Expanded Column1",{{"value", "High"}})
in
    #"Renamed Columns"
 
MERGE SYNTAX???

    let
    Source = Json.Document(Web.Contents("https://api-v2.intrinio.com/securities/AAPL/historical_data/52_week_high?frequency=daily&start_date=...")),
    #"Converted to Table" = Record.ToTable(Source),
    Value = #"Converted to Table"{0}[Value],
    #"Converted to Table1" = Table.FromList(Value, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table1", "Column1", {"date", "value"}, {"date", "value"}),
    #"Renamed Columns" = Table.RenameColumns(#"Expanded Column1",{{"value", "High"}})
in
    #"Renamed Columns"
1 REPLY 1
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

Can you please post some sample data and the expected output? Maybe we can find a workaround using some formulas to implement it. For now, there is not a proper way to implement directly.

 

Best Regards,

Xue

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors