Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
My client a 10kft user wants me to bring data into Power Bi and I am struggling to get the query to work properly. The fields in the output go to default views and not as I specify, am I missing something. I have tried and searched many times over and now need some help....
See query for Power Bi below.
The body section may as well not be there.
let
url = "https://api.10000ft.com/api/v1/reports/rows?auth=api-key-here",
body = "{
""view"": ""utilization"",
""time_frame"": {
""from"": ""2020-04-01"",
""to"": ""2021-04-14""
},
""group_by"": ""user-id"",
""today"": ""2021-04-15"",
""calc_incurred"": ""confirmed-unconfirmed""
}",
Source = Json.Document(Web.Contents(url,
[
Headers = [#"Content-Type"="application/x-www-form-urlencoded"],
Content=Text.ToBinary(body)
]
)
),
#"Converted to Table" = Record.ToTable(Source)
Solved! Go to Solution.
Your query asks 10kft for a list of reports. I think you will want to read their API documentation again, and then amend the query to indicate which report you want to pull.
Hi @SRS11 ,
Seems like you are using Reports API, you can refer this document about 100kft Reports API:
https://github.com/10Kft/10kft-api/blob/master/sections/reports.md
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SRS11 ,
Seems like you are using Reports API, you can refer this document about 100kft Reports API:
https://github.com/10Kft/10kft-api/blob/master/sections/reports.md
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Your query asks 10kft for a list of reports. I think you will want to read their API documentation again, and then amend the query to indicate which report you want to pull.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |