cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
texmexdragon2
Helper V
Helper V

JSON / Power Query experts - Need help troubleshooting dataflow error

Hello Community  -  I am hoping there is a Json /  Power Query expert out there that can help us with this.   It is baffling.  

 

This is an abbreviated version of a dataflow we have  (some data changed to protect privacy).   

 

The crazy issue we are having is that this dataflow works perfectly fine...except...if include any dates that are inclusive of June  (the 6th month).  

 

Json.Document(Web.Contents("https://bi-xxxxxxxxxyyyyyyy.com/CDataService.asmx/CQuery?Entity=SLRmaitems&Filter=RecordDate >= 07/01/2022&Properties=AmtExtCredit&Properties=AmtNetCredit", [Headers=[Authorization="Basic aW50ZWdyYXR5fZmx1ZW5jZUSVdyYXBwZXI6bFk2bVpZWlBjNw=="]]))

 

If we use the code above it works perfectly fine.   Returns a list etc.   

 

HOWEVER...if we change the month to a 06 the dataflow breaks and returns the error below.   This happens if we include any date range that includes the 06.   However, if we put any month before 06 it also works fine.    We cannot at all understand why this is happening anytime the month of June is included in the date range.    The error occurs at the first step (source).    

Any suggestions are very very welcome.   

 

texmexdragon2_0-1663898482496.png

 

 

 

3 REPLIES 3
lbendlin
Super User
Super User

- check the documentation  of your API. Your query string looks rather unusual.

- put the query in the [Query]  section of Web.Contents

- examine the returned JSON for the June query.  It says there is a period (.)  at the start of the JSON?

 

 

@lbendlin  Can you clarify "put the query in the [Query]  section of Web.Contents" ?    Not exactly sure what to do.  

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors