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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

UpSetR set_size.show parameter not recognized - R Graph

Hi, 

 

I'm creating an R graph using UpSetR in my Desktop Version with no problems, but when I publish it to the PBI Service the Set Size graph (the horizontal bar graph on the lower left) does not appear.

 

This is how it displays in Desktopupsetr desktop.PNG

 

But in the PBI Service appears like this (no horizontal bar):

 

pbi service.PNG

 

I tried to force it with the set_size.show = TRUE parameter and it works on Desktop but not on the Service. I get this error when opening the Published report:

 

"Script Runtime Error

Error in upset(fromExpression(expressionInput), order.by = "freq", point.size = 4.5, :

unused argument (set_size.show = TRUE)"

 

he script I'm testing is:

 

library(UpSetR)
expressionInput <- c(A = 3000,
                    B = 2000,
                    C = 1000,
                    'A&B' = 500,
                    'A&C' = 300,
                    'B&C' = 150,
                    'A&B&C' = 20)
        
upset(
        fromExpression(expressionInput), 
        order.by = "freq",
        point.size = 4.5, 
        mb.ratio = c(0.7, 0.3), 
        text.scale = c(1.5, 1.25, 1.5, 1.25, 1.5, 2),
        mainbar.y.label = "Intersection",
        set_size.show = TRUE, #This is the parameter giving error in PBI Service
        sets.x.label = "Total")

It seems that the version running by Microsoft in the Service is the latest, but still I don't get why this part of the graph is not showing. Perhaps a difference or limitation between UpSetR version hosted by R Server?

 

Tool's versions:

- PBI Desktop: Version: 2.73.5586.802 64-bit (september 2019)

- R x64 3.6.1 

- RStudio Version 1.2.1335

- UpSetR 1.4.0  (https://mran.microsoft.com/package/UpSetR )

 

Thanks for the Help, 

 

César.

 

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @cesarrivas

 

Please share a pbix file with us. Do remove sensitive data in the report, upload pbix file to your OneDrive, paste the share link here. 

 

Best Regards,
Qiuyun Yu