I need help to understand a problem regarding a set of power queries that was written by a former colleague of mine.
I have very basic knowledge of power query but intermediate understanding of scripting in general. A previous colleague of mine produced a calculation tool in excel with some power queries that read data from an .csv file and then perform some operations on the data.
The .csv file is fetched from an api. I Have used postman to fetch the data earlier and this works hassle-free. But now when I fetch the data with Unirest I get the same .csv file but when I try to update the calculation tool I get an expression error saying it cant find a specific column even though the column its complaining about is actually there.
I don’t understand why I get error when I use one method of fetching the data but not when I use the other. The .csv files are seemingly identical.
When I open the query editor the error is appointed to a step called “changed type” so I thought that there was some kind of difference in datatypes in the .csv files. But when I use the built-in functions in excel to check for datatypes in the .csv files all columns and rows return the same result.
Can someone give me a hint here on what might be going on?