Relative Content

Tag Archive for powerquery

IF function custom column power query referencing previous row

I am trying to get a helper value that changes if certain values change from the prior row. For instance, if the Site, Room or Cubicle value changes from the previous row, I want the helper value to increase by one. I am utilizing this method to separate specific data by row fill color utilizing conditional formatting. In a general workbook I can reference cells so a simple IF statement such as the following works.

No Columns found – We reached the end of the buffer Power Query

I’ve done a number of API pulls through power query and generally they’ve been relatively easy, however the application I’m trying to pull from doesn’t make it easy when there’s more than 5k of records. I can either cycle round and pull each new page based on a value passed as part of the JSON or use a different API, which involves posting a request to the API for the particular report to create a dataset, then receiving a dataset ID and using that to then pull the records from the report.