r visual
4 TopicsColor and label failed to display after publishing R visuals (ggplot)
Hi all, I'm trying to create a R visual in Power BI that colored and labeled some specific points in a scatterplot. The plot works fine in the Power BI Desktop, however, when I published the report, all the color and label disappear (same color for all points and no labels). Please see the screenshots below. And R code as follow: ggplot(data = data1, aes(x = X, y = Y))+ geom_point(pch = 16, color = colorcurrent,size = 3)+ theme_minimal() + geom_text_repel(aes(label = labelcurrent),size = 5, color = colorcurrent) where labelcurrent and colorcurrent are vectors contianing the corresponding lable name or color for each observation, i.e. c("black", "blue", ....) and c("", "lableit", ...). What do I need to do to get this working? Thanks for your help in advance! Regards, Vanessa1.2KViews0likes4CommentsHow to return forecasted values as a table in a R visual
Scenario: Usually, we can forecast values and return a line chart by using R visual in Power BI. But since it can only return image, how can we return the values as a table? And how can we use these values in the subsequent analysis?6.1KViews1like0Comments