Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a report that runs fine on Desktop March 2018. I upload it to the corresponding PBIRS version and it runs. I then try to schedule it and it fails immediately with a generic message. I make one change and upload the file and the refresh runs fine.
The only difference relates to the Json.Document paramters.
The one that works, I use a simple text parmater and add the value that way.
The one that fails, I use another Json.Document query to retrieve the date, convert it to a string and pass that as a value.
It runs successfully on my desktop but it will not refresh. The only change is the code below.
let
relativePath = "BusinessServices/views/get_details",
//works on March 2018 PBI Desktop and on server Version 1.2.6660.39920 (March 2018)
//parameters = "?owning_dept_id=" & prmSectorDept & "&rinput_begin_date=" & prmFYStartDate & "&rinput_end_date=" & prmFYEndDate & "&$format=json",
//works on March 2018 PBI Desktop and FAILS on server Version 1.2.6660.39920 (March 2018)
parameters = "?dept_id=" & prmSectorDept & "&begin_date=" & setFiscalYearStartDate & "&end_date=" & setFiscalYearEndDate & "&$format=json",
Source = Json.Document(Web.Contents(prmUrl_denodo & relativePath & parameters )),
elements = Source[elements],
...
Any thoughts?
Scott
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
7 | |
4 | |
3 | |
2 |
User | Count |
---|---|
15 | |
11 | |
5 | |
5 | |
2 |