Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there,
Solved! Go to Solution.
Hi @sezerunar ,
This error message suggests that the DT::datatable function is not generating a plot. The DT package is designed to create interactive tables in R, but it may not be compatible with Power BI.
Please try to use a different package: Instead of , you could use the package to create a table as a static plot. This way, the visual can be rendered as an image in Power BI.
library(ggplot2)
library(gridExtra)
# Assuming 'dataset' is your data frame
# Create a simple table visual using 'tableGrob' function from 'gridExtra' package
table <- tableGrob(dataset)
grid.draw(table)
This will create a static table visual as an image that Power BI can display.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sezerunar ,
This error message suggests that the DT::datatable function is not generating a plot. The DT package is designed to create interactive tables in R, but it may not be compatible with Power BI.
Please try to use a different package: Instead of , you could use the package to create a table as a static plot. This way, the visual can be rendered as an image in Power BI.
library(ggplot2)
library(gridExtra)
# Assuming 'dataset' is your data frame
# Create a simple table visual using 'tableGrob' function from 'gridExtra' package
table <- tableGrob(dataset)
grid.draw(table)
This will create a static table visual as an image that Power BI can display.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!