Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

R in Power BI

I need to create a R visual to display the attached chart 

 

I'm using a filter in Power BI to filter for selected created date. How can I include this filter in R. Also, how can I get my R code to display both expected and proposed times:

 

c1_data <- actuals %>% select(workflow_code, expected_time, processed_time)


ggplot(c1_data) +
geom_bar(aes(y=c1_data$expected_time, x=c1_data$workflow_code, fill=c1_data$processed_time),

position="dodge",stat="identity", width=0.7) +
scale_fill_manual(values = )
labels = c("#002f87","#0071CE")) +

labs(x="ABC",y="XQA",title="CCC") +
# geom_text(vjust=0.3, size=3.5)