The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello
I have this url
https://api.statbank.dk/v1/data
and I want to use this request for getting data for PowerBI.
{
"table": "ls01",
"format": "CSV",
"valuePresentation": "Value",
"timeOrder": "Ascending",
"delimiter": "Semicolon",
"variables": [
{
"code": "BRANCHE",
"values": [
"*"
]
},
{
"code": "ENHED",
"values": [
"*"
]
},
{
"code": "Tid",
"values": [
"2010",
"2018"
]
}
]
}
I have never used API's for getting data into PowerBI, hence a step-by-step guide would be very much appreciated!
Thank you 🙂
Hi @MFester ,
Basically you can use Web.Contents to call the API like below
let
Source = Json.Document(Web.Contents("https://api.statbank.dk/v1/data"))
in
Source
Please refer the below link
https://community.powerbi.com/t5/Developer/Connecting-to-web-api/td-p/775075