Langsung ke konten utama

Postingan

Menampilkan postingan dengan label Power BI

How Create You Lot Plot Using Ggplot Inwards Ability Bi?

We saw an instance of plotting using GGPLOT before inward the RGUI . Herein nosotros role ggplot inward Power BI. We connect to Northwind database on an instance of SQL Server 2016 Developer . We charge information from Products together with OrderDetails tabular array into Power BI. We drib the R Script Visual from the Visualizations onto the designer. ggplot2 The R script editor opens upwards every bit shown ggplot_03 Add the next code every bit shown: ------------------------------- library(ggplot2) y=ggplot(data=dataset, aes(x=ProductName, y=Quantity)) y=y + geom_point(aes(color="red")) ------------------------- If y'all run this code using the R script You drib dead an error: Now alter the inward a higher house to this: --------------------------- library(ggplot2) y=ggplot(data=dataset, aes(x=ProductName, y=Quantity)) y=y+geom_point(aes(color="red")) y=y+geom_point(aes(size=Quantity)) y --------------------- Now ru...