Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I made a R custom visual with Power BI Desktop, it worked well on my computer.
But when I published it in my workspace on the Power BI app, I got a script runtime error:
Script Runtime Error
Attaching package: 'bupaR'
The following object is masked from 'package:utils':
timestamp
Error in filter_activity_frequency(., percentage = filter_activity_frequency) :
unused argument (percentage = filter_activity_frequency)
In addition: Warning message:
package 'bupaR' was built under R version 3.4.2
You can find below my R code to produce the visual:
library(bupaR) library(eventdataR) library(xesreadR) library(edeaR) library(processmapR) library(processmonitR) library(DiagrammeR) library(ggplot2) library(png) dataset$A_Timestamp <- as.POSIXct(dataset$A_Timestamp, origin="1970-01-01 00:00:00 GMT", tz = "FR") eventlog = simple_eventlog(eventlog = dataset, case_id = 'A_Request ID', activity_id = 'OPERATION', timestamp = 'A_Timestamp') eventlog %>% filter_activity_frequency(percentage = .7) %>% filter_trace_frequency(percentage = .7) %>% process_map(render = F) %>% export_graph(file_name = 'processmap_values.png', file_type = 'PNG') img <- readPNG("processmap_values.png") grid::grid.raster(img)
Can you help me please ?
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.