Forum Discussion
Interactive R custom visuals not displaying in Power BI Desktop
- Anonymous3 years ago
Hi ojbowden ,
Please check the Known limitations of R visual in Power BI.
R visuals in Power BI Desktop have the following limitations:
-
Data sizes: Data used by an R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.
-
Output size : R visual has an output size limit of 2MB.
-
Resolution: All R visuals are displayed at 72 DPI.
-
Plotting device: Only plotting to the default device is supported.
-
Calculation times: If an R visual calculation exceeds five minutes, it causes a time-out error.
-
Relationships: As with other Power BI Desktop visuals, if data fields from different tables with no defined relationship between them are selected, an error occurs.
-
Refreshes: R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself isn't interactive and can't be the source of cross-filtering.
-
Highlights: R visuals respond if you highlight other visuals, but you can't select elements in the R visual to cross filter other elements.
-
Display devices: Only plots that are plotted to the R default display device are displayed correctly on the canvas. Avoid explicitly using a different R display device.
-
Column renaming: R visuals do not support renaming input columns. Columns will be referred to by their original name during script execution.
-
RRO installations: In this release, the 32-bit version of Power BI Desktop doesn't automatically identify RRO installations; you must manually provide the path to the R installation directory in Options and settings > Options > R Scripting.
For reference: Create Power BI visuals using R
And you can check whether you have install and configure R script correctly.
For reference: Run R scripts in Power BI Desktop
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
-
Hi ojbowden ,
Please check the Known limitations of R visual in Power BI.
R visuals in Power BI Desktop have the following limitations:
-
Data sizes: Data used by an R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.
-
Output size : R visual has an output size limit of 2MB.
-
Resolution: All R visuals are displayed at 72 DPI.
-
Plotting device: Only plotting to the default device is supported.
-
Calculation times: If an R visual calculation exceeds five minutes, it causes a time-out error.
-
Relationships: As with other Power BI Desktop visuals, if data fields from different tables with no defined relationship between them are selected, an error occurs.
-
Refreshes: R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself isn't interactive and can't be the source of cross-filtering.
-
Highlights: R visuals respond if you highlight other visuals, but you can't select elements in the R visual to cross filter other elements.
-
Display devices: Only plots that are plotted to the R default display device are displayed correctly on the canvas. Avoid explicitly using a different R display device.
-
Column renaming: R visuals do not support renaming input columns. Columns will be referred to by their original name during script execution.
-
RRO installations: In this release, the 32-bit version of Power BI Desktop doesn't automatically identify RRO installations; you must manually provide the path to the R installation directory in Options and settings > Options > R Scripting.
For reference: Create Power BI visuals using R
And you can check whether you have install and configure R script correctly.
For reference: Run R scripts in Power BI Desktop
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This answer doesn't really seem to address the issue.