{"id":13706459,"url":"https://github.com/gsimardnet/PowerQueryNet","last_synced_at":"2025-05-05T20:31:22.028Z","repository":{"id":50704805,"uuid":"121430990","full_name":"gsimardnet/PowerQueryNet","owner":"gsimardnet","description":"Run M Language (Power Query Formula Language) from anywhere.","archived":false,"fork":false,"pushed_at":"2022-11-03T12:54:18.000Z","size":24448,"stargazers_count":187,"open_issues_count":20,"forks_count":30,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-08-03T22:17:40.677Z","etag":null,"topics":["csharp","excel","m","powerbi","powerquery"],"latest_commit_sha":null,"homepage":"","language":"C#","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/gsimardnet.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}},"created_at":"2018-02-13T20:10:25.000Z","updated_at":"2024-07-23T19:30:32.000Z","dependencies_parsed_at":"2022-08-28T10:02:51.772Z","dependency_job_id":null,"html_url":"https://github.com/gsimardnet/PowerQueryNet","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsimardnet%2FPowerQueryNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsimardnet%2FPowerQueryNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsimardnet%2FPowerQueryNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsimardnet%2FPowerQueryNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsimardnet","download_url":"https://codeload.github.com/gsimardnet/PowerQueryNet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224465861,"owners_count":17315886,"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":["csharp","excel","m","powerbi","powerquery"],"created_at":"2024-08-02T22:00:56.920Z","updated_at":"2024-11-13T14:31:06.777Z","avatar_url":"https://github.com/gsimardnet.png","language":"C#","readme":"# PowerQueryNet\nRun Power Query M formula language from anywhere.\n\n## About\nPowerQueryNet allows you to run M formulas commonly used in Power BI and Excel (aka Get \u0026 Transform) from the Command Prompt or any .NET application.\n\n## Download\n\nInstaller: [PowerQueryNet.msi](https://github.com/gsimardnet/PowerQueryNet/releases/latest/download/PowerQueryNet.msi)\n\nDependency: [PowerQuerySdk.vsix 1.0.0.16](http://dakahn.gallery.vsassets.io/_apis/public/gallery/publisher/dakahn/extension/powerquerysdk/1.0.0.16/assetbyname/PowerQuerySdk.vsix) \n\n(Upon installation `PowerQuerySdk.vsix` must be in the same folder as `PowerQueryNet.msi`)\n\nSamples: [PowerQueryNet.Samples.zip](https://github.com/gsimardnet/PowerQueryNet/releases/download/v1.1.2/PowerQueryNet.Samples.zip)\n\n## PQNet \n\nPQNet is a Command Line Interface (CLI) that comes with the installation of PowerQueryNet.\n\n### Features\n\nExport the result of a query to several formats (CSV, JSON, HTML, XML)\n```txt\npqnet \"#Hello World.pq\" -o json\n```\n\nExport the result of a query to a SQL Server database\n```txt\npqnet \"#Hello World.pq\" -s \"Data Source=.\\SQL2016;Initial Catalog=AdventureWorks2012;Integrated Security=SSPI\" -t \"dbo.HelloWorld\"\n```\n\nOutput the result of a Power BI query to file\n```txt\npqnet MyReport.pbix Query1 -o csv -f result.csv\n```\n\n## Hello, World! - PQNet (CLI)\n\n1. Create a new file with the following content:\n```txt\nlet Source = \"Hello, World!\" in Source\n```\n2. Save the file as helloworld.pq\n3. Run the following in the Command Prompt:\n```txt\npqnet helloworld.pq\n```\n\n## Hello, World! - .NET (C#)\n\n1. From your .NET project, add a reference to `PowerQueryNet.Client`\n2. Run the following:\n```txt\nvar qry = new Query { Formula = \"let hw = \\\"Hello World\\\" in hw\" };\nvar pqc = new PowerQueryCommand() { ExecuteOutputFlags = ExecuteOutputFlags.Csv };\nvar result = pqc.Execute(qry);\n```\n## Power Query App\nRun queries in a standalone application\n![PowerQueryApp](Samples/PowerQueryApp/PowerQueryApp.png \"Power Query App\")\n\n## Build requirements\n\n* Visual Studio 2015+\n\nTo build the Setup project, [WiX Toolset](http://wixtoolset.org/releases/) must be installed.\n\n## Copyright\n\nCopyright 2019\n\nLicensed under the [MIT License](LICENSE)\n","funding_links":[],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsimardnet%2FPowerQueryNet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsimardnet%2FPowerQueryNet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsimardnet%2FPowerQueryNet/lists"}