{"id":13707913,"url":"https://github.com/acaprojects/m-tools","last_synced_at":"2025-04-19T22:53:07.607Z","repository":{"id":71622093,"uuid":"97717111","full_name":"acaprojects/m-tools","owner":"acaprojects","description":"A collection a useful tools for building Microsoft Power BI queries","archived":false,"fork":false,"pushed_at":"2018-03-26T15:49:25.000Z","size":43,"stargazers_count":72,"open_issues_count":2,"forks_count":17,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-29T13:51:13.454Z","etag":null,"topics":["m","powerbi","powerquery"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acaprojects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-19T13:07:26.000Z","updated_at":"2025-03-08T05:13:42.000Z","dependencies_parsed_at":"2023-05-12T23:15:17.259Z","dependency_job_id":null,"html_url":"https://github.com/acaprojects/m-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acaprojects%2Fm-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acaprojects%2Fm-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acaprojects%2Fm-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acaprojects%2Fm-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acaprojects","download_url":"https://codeload.github.com/acaprojects/m-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249824537,"owners_count":21330334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["m","powerbi","powerquery"],"created_at":"2024-08-02T22:01:48.237Z","updated_at":"2025-04-19T22:53:07.589Z","avatar_url":"https://github.com/acaprojects.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# M-tools\n\nA collection a useful tools for building queries in the Power Query Formula Language (\"*M*\") used by [Microsoft Power BI](https://powerbi.microsoft.com/).\n\n\n## Usage\n\n\u003ePower BI does not (appear) to currently support external dependencies so setup is a little rudimentary.\n\n1. Create a new blank query.\n2. Copy the content of [M.pq](M.pq) to this query using the advanced editor.\n3. Name the query `M`.\n\nFunctions may then be access from other queries as records on `M`. For example, `Pipe` may be invoked as:\n\n    M[Pipe]({functionA, functionB, ...})\n\n\n## Contributing\n\nDo not directly edit [M.pq](M.pq). This is built from the components defined in\n[src/](src/). It is provided, preassembled for convenience only.\n\nTo add functions, create new `*.pq` files within [src/](src/) containing the\nexpression body and any relevant documentation (see the other files for\nreference). When compiled, the expression will be bound to the name of the file.\n\n### Building\n\n```bash\nrunhaskell build.hs\n```\n\n---\n\n[M Language specification](https://msdn.microsoft.com/en-us/library/mt807488.aspx)\n\n[Type system](https://msdn.microsoft.com/en-us/library/mt809131.aspx)\n\n[Internal function references](https://msdn.microsoft.com/en-us/library/mt779182.aspx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facaprojects%2Fm-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facaprojects%2Fm-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facaprojects%2Fm-tools/lists"}