Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago

R visual

Hi there

 

According to the link below, network3D is supported on powerbi desktop / service.

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-packages-support/

 

so I loaded the data as in using R Script through Get Data in powerbi desktop

 

# Create fake data
src <- c("A", "A", "A", "A",
        "B", "B", "C", "C", "D")
target <- c("B", "C", "D", "J",
            "E", "F", "G", "H", "I")
networkData <- data.frame(src, target)

 

Then on a new page, I use R Script visualisation and select target and src from my table

 

then put R script in

 

library(networkD3)

simpleNetwork(dataset)

 

I received a message No image was created. The R code didnt result in creation in any visuals....

 

where did I go wrong?

Many thanks

 

Pedzilla

10 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi there

      Thats the bit that I am confused.

      It is not a custom visual - its an R script called Network3D which I apply to visualise my dashboard but it doesnt seem to work however according to the link it is supported.

       

      Unless the article refers to the developers who want to develop R custom visuals?

       

      • vanessafvg's avatar
        vanessafvg
        Community Champion

        Anonymous its not a custom visual in R, but its a custom visual in Power BI.  can you not download it from the store?  what i am saying have you downloaded the visual you need from the store?  

         

         

  • ZachZ's avatar
    ZachZ
    Regular Visitor

    I am running into same issue a Anonymous. It seems Simplemnetwork function of NetworkD3 package generates an html file which seems not supported in PowerBI.

     

    If someone could give an idea on how to use NetworkD3 to generate graphs in Powerbi Desktop i would be very thankful

  • jfreyha's avatar
    jfreyha
    Frequent Visitor

    any updates on this topic? Im having the same problem