Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Source = List.Generate( () =>
URL = Web.Contents(
"https://LPF.api.goflow.com/",
[
RelativePath= "v1/orders",
Query=[
#"filters[date:gte]"="2023-03-27T00:00:00Z"
]
]
),
...
Thank you,
I tried this M query:
Hi @MithSingh ,
try removing the square brackets around URL in the last step like so:
let
Source = List.Generate(
() => [
URL = Web.Contents(
"https://LPF.api.goflow.com/",
[RelativePath = "v1/orders", Query = [#"filters[date:gte]" = "2023-03-27T00:00:00Z"]]
),
Result = Json.Document(Web.Contents(URL, [Headers = [Authorization = "Bearer xxxxxxxxxxxxxxxxxxxxxxx"]]))
],
each [URL] <> null,
each [
URL = [Result][next],
Result = Json.Document(Web.Contents(URL, [Headers = [Authorization = "Bearer xxxxxxxxxxxxxxxxxxxxxxx"]]))
]
)
in
Source
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
already tried, and again tried it, getting an error "Expression.Error: We cannot convert a value of type Binary to type Text."
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
41 | |
24 | |
22 | |
20 | |
13 |
User | Count |
---|---|
159 | |
61 | |
60 | |
28 | |
20 |