Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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.