Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
T_von_Axt
Helper I
Helper I

R visual using bupaR only displaying 16 out of 120k cases

Hello,

 

I am trying ot use bupaR for some process mining, but after I generate the eventlog with bupaR, the visuals created with the other libraries (e.g. diagrammeR) only show maximum 16 cases out of 120k.

I've read in documentation that powerBI supports up to 150k cases in R visuals. 

Could someone please point to me what I am doing wrong?

my dataset contains the following columns:

ContractId  Status  LastUpdate  Project  Contract Type  Index  
      

 

the R script I am using is the following:

 

 

 

 

 

 

# The following code to create a dataframe and remove duplicated rows is always executed and acts as a preamble for your script: 

# dataset <- data.frame(CONTRACTID)
# dataset <- unique(dataset)

# Paste or type your script code here:
library(bupaR)
library(DiagrammeR)
Query1 <- dataset
Query1$LASTUPDATE <- as.POSIXct(Query1$LASTUPDATE, tz="GMT", format = c("%Y-%m-$d %H:%M:%S"))
x <- Query1 %>%
    eventlog(
        activity_id="STATUS",
        case_id="CONTRACTID",
        resource_id="PROJECT",
        activity_instance_id="INDEX",
        lifecycle_id="CONTRACTTYPE",
        timestamp="LASTUPDATE"
    ) %>% filter_endpoints(start_activities= "Draft", end_activities= "Expired")
y <- process_map(x, render=FALSE)
export_graph(y, "result.png", file_type = "png")

 

 

 

 

 

This is the visual being generated:

 

T_von_Axt_0-1689005379444.png

 

Thank you in advance for the help.

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.