Forum Discussion
Assistance with Power Query – Missing ‘Closed’ Status in Data Extract
- 9 months ago
Hi PhilipTreacy
I found the correct one, I was missing {}filter = {"moduleName:Incident Reporting", "archivedStep:true", "form:2"}Thanks for all your guidance
Hi ashmitp869 ,
Thank you for reaching out to the Microsoft Community Forum.
You are not getting any “Closed” records because your Power Query request is not applying the same filter that the third-party API call is using. The third-party request shows below filter.
filter=fieldsToValues.status:Closed
But your Power Query script never includes this filter.
Please update your query parameters section with below code.
queryParams = [
sort = "creationDate",
asc = "false",
mobileOnly = "false",
filter = "moduleName:Incident Reporting",
filter1 = "form:2",
filter2 = "archivedStep:true",
filter3 = "deleted:false",
filter4 = "fieldsToValues.status:Closed",
rowStart = Text.From(offset),
rowLimit = Text.From(pageSize)
],
I hope this information helps. Please do let us know if you have any further queries.
Regards,
Dinesh
- v-dineshya9 months ago
Community Support