Had problems getting the PowerQuery code to work as stated in the article as it complained that Citrix-CustomerId was an invalid identifier - didn't seem to like the hyphen character.
Resolved by updating the query to use #"Citrix-CustomerId"
Docs URL:https://developer-docs.citrix.com/projects/access-monitor-service-data-citrix-cloud/en/latest/