開發人員可如何利用 Power BI?What can developers do with Power BI?

Power BI 提供各種開發人員選項。Power BI offers a wide range of options for developers. 範圍包括內嵌、自訂視覺效果和串流資料集。This ranges from embedding to custom visuals and streaming datasets.

內嵌Embedding

Azure 中的 Power BI 服務和 Power BI Embedded 合併使用,以提供單一 API 來內嵌儀表板和報表。The Power BI service and Power BI Embedded in Azure are coming together to offer a single API for embedding your dashboards and reports. 這表示,在內嵌內容時,您會有一個 API 介面、一組一致的功能以及最新 Power BI 功能的存取權 (例如儀表板、閘道和應用程式工作區)。This means you will have one API surface, a consistent set of capabilities and access to the latest Power BI features – such as dashboards, gateways and app workspaces – when embedding your content. 如需詳細資訊,請參閱內嵌在 Power BI 之中For more information, see Embedding with Power BI.

自訂視覺效果Custom visuals

自訂視覺效果可讓您建立專屬視覺效果,以用於 Power BI 報表內。Custom visuals allow you to create your own visuals for use within Power BI reports. 自訂視覺效果是以 TypeScript 來撰寫,其為 JavaScript 的超集合並支援一些進階功能且可優先存取 ES6/ES7 功能。Custom visuals are written in TypeScript which is a superset of JavaScript that supports some advanced features and early access to ES6/ES7 functionality. 系統會使用階層式樣式表 (css) 來處理視覺效果樣式。Visual styling is handled using cascading styles sheets (css). 為了方便使用,我們會使用可支援一些進階功能 (例如巢狀結構、變數、mixin、條件、迴圈等等) 的 Less 預先編譯器。如果您不想使用上述任何功能,只需在 Less 檔案中撰寫一般 CSS 即可。For your convinence, we use the Less pre-compiler which supports some advanced features such as nesting, variables, mixins, conditions, loops, etc. If you don't want to use any of those features, you can just write plain css in the less file.

如需如何開發並發佈自訂視覺效果的詳細資訊,請參閱將自訂視覺效果發佈至 Office 市集For more information about how to develop and publish a custom visual, see Publish custom visuals to the Office store.

將資料推送至 Power BIPush data into Power BI

您可以使用 Power BI API 以將資料推送至資料集。You can use the Power BI API to push data into a dataset. 這可讓您將資料列新增至資料集內的資料表。This allows you to add a row to a table within a dataset. 新資料接著會反映在儀表板的磚中,以及報表的視覺效果內。The new data can then be reflected in tiles on a dashboard and within visuals within your report.

如需詳細資訊,請參閱將資料推送至儀表板For more information, see Push data into a dashboard

後續步驟Next steps

內嵌在 Power BI 之中Embedding with Power BI
如何將 Power BI Embedded 工作區集合內容移轉至 Power BIHow to migrate Power BI Embedded workspace collection content to Power BI
JavaScript API Git 存放庫JavaScript API Git repo
Power BI C# Git 存放庫Power BI C# Git repo
將自訂視覺效果發佈至 Office 市集Publish custom visuals to the Office store
Power BI Visuals Git 存放庫Power BI Visuals Git repo
JavaScript 內嵌示範JavaScript embed sample
Power BI Premium 技術白皮書Power BI Premium whitepaper
有其他問題嗎?More questions? 試試 Power BI 社群Try the Power BI Community