This isn't a current capability. You have to first bring the data into a Table or use an existing Table (the Tables can be in another Workspace or even ADX).
This is possible in a Azure Monitor or a Sentinel Workbook - you can call an API (using ARM) and MERGE the data with a KQL query.