Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

UpSetR set_size.show parameter not recognized

Hi, 

 

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

 

 

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)"

 

The 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 is the latest, but still I don't get why this part of the graph is not showing

https://mran.microsoft.com/package/UpSetR

 

Thanks for the Help, 

 

César.

1 Reply

  • v-xuding-msft's avatar
    v-xuding-msft
    Community Support

    Hi Anonymous ,

    For your code, I think it should work. You could try to install the latest version of Power BI and republish it. Then check if it works fine. If no, you may need to create a support ticket to let the other teams to find the issue out.

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.