Microsoft Power BI powerbiR R Package Reference Manual

The powerbiR R package (version 0.1.0) provides functions to push data frames to Power BI datasets and manage refreshes, workspaces, and users via the Power…


Microsoft Power BI powerbiR R Package Reference Manual - cover page
Brand
Microsoft
Category
Other software
Document type
Other
Language
English
Pages
14
File format
PDF
File size
103 KB
Published
25 November, 2026
Updated
25 November, 2026
MD5 checksum
4435D227DC6BF474CBEBC089B984F8BF

About this manual

This document describes the powerbiR R package, an interface to the Power BI REST APIs. It includes functions for authenticating to Power BI, creating and refreshing datasets, pushing rows and schemas, deleting datasets and rows, and listing datasets and workspaces.

Demo data frames dim_hour and fact_visitors are included for testing. The package requires R 4.2.0 or later and imports data.table, jsonlite, httr, utils, and AzureAuth.

What's inside

  • pbi_auth
  • pbi_dataset_refresh
  • pbi_dataset_refresh_hist
  • pbi_delete_dataset
  • pbi_delete_rows
  • pbi_list_datasets
  • pbi_list_groups
  • pbi_push_dataset_schema
  • pbi_push_rows
  • pbi_schema_create

Frequently asked questions

What does the powerbiR package do?

It makes it easy to push data to Power BI using R and the Power BI REST APIs, including turning data frames into Power BI datasets and refreshing them.

How do you authenticate to Power BI?

Use pbi_auth() with a tenant ID, app ID, and app password from an Azure Active Directory service-principal application.

What is the row limit for pushing rows to Power BI?

The Power BI REST API has a limit of 10K rows per POST rows request, handled by splitting the data frame into chunks of 10K rows.

Download PDF (103 KB)

More Microsoft Manuals


View all Microsoft manuals →