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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

ERROR loading Slope Chart by MAQ Software

Trying to use the Slope Chart get the following

 

Feedback Type:
Frown (Error)

Timestamp:
2018-02-12T15:55:03.5660991Z

Local Time:
2018-02-12T07:55:03.5660991-08:00

Session ID:
9d7dcd7c-b2b1-466d-b1aa-c9077fc5a62d

Release:
February 2018

Product Version:
2.55.5010.621 (PBIDesktop) (x64)

Error Message:
R script error.
Loading required package: XML
Warning message:
package 'XML' was built under R version 3.4.1
Loading required package: htmlwidgets
Warning message:
package 'htmlwidgets' was built under R version 3.4.3
Loading required package: ggplot2
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 'C:/Users/<USER>/Library/rlang/libs/x64/rlang.dll':
  LoadLibrary failure:  The specified procedure could not be found.

In addition: Warning message:
package 'ggplot2' was built under R version 3.4.3
Warning message:
In libraryRequireInstall("ggplot2") :
  *** The package: 'ggplot2' was not installed ***
Loading required package: plotly
Loading required package: ggplot2
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 'C:/Users/<USER>/Library/rlang/libs/x64/rlang.dll':
  LoadLibrary failure:  The specified procedure could not be found.

In addition: Warning messages:
1: package 'plotly' was built under R version 3.4.3
2: package 'ggplot2' was built under R version 3.4.3
Failed with error:  'package 'ggplot2' could not be loaded'
Warning message:
In libraryRequireInstall("plotly") :
  *** The package: 'plotly' was not installed ***
Loading required package: magrittr
Warning message:
package 'magrittr' was built under R version 3.4.3
Error in eval(expr, envir, enclos) : could not find function "plot_ly"
Calls: tryCatch ... tryCatchList -> tryCatchOne -> <Anonymous> -> %>% -> eval -> eval
In addition: Warning message:
In plot_ly() %>% layout(title = "", xaxis = xLayout, yaxis = yLayout) :
  bytecode version mismatch; using eval
Execution halted

 

1 ACCEPTED SOLUTION
MAQSupport
Solution Supplier
Solution Supplier

Hello @Anonymous,

 

Please ensure that you have the latest version of Power BI installed on your system.

On downloading the sample file, you should be getting a prompt message box as shown below.

Click ‘Install’ button on the message box. It will install required packages automatically.

 

 

slope.png

 

If the message is not visible, please install the required R packages by running the below commands in RStudio or any other R tool installed on your machine:

install.packages("ggplot2")

install.packages("plotly")

install.packages("scales")

install.packages("htmlwidgets")

install.packages("XML")

install.packages("ggrepel")

 

After installing above packages, the visual will work fine on your system. 

 

Please get back to us, in case the issue still persists. We can be reached at support@maqsoftware.com

 

Thanks!!

View solution in original post

3 REPLIES 3
MAQSupport
Solution Supplier
Solution Supplier

Hello @Anonymous,

 

Please ensure that you have the latest version of Power BI installed on your system.

On downloading the sample file, you should be getting a prompt message box as shown below.

Click ‘Install’ button on the message box. It will install required packages automatically.

 

 

slope.png

 

If the message is not visible, please install the required R packages by running the below commands in RStudio or any other R tool installed on your machine:

install.packages("ggplot2")

install.packages("plotly")

install.packages("scales")

install.packages("htmlwidgets")

install.packages("XML")

install.packages("ggrepel")

 

After installing above packages, the visual will work fine on your system. 

 

Please get back to us, in case the issue still persists. We can be reached at support@maqsoftware.com

 

Thanks!!

Anonymous
Not applicable

Thanks for the support

 

For some reason the Packages wouldl not Install - so I had to Unistall and reinistall R! but that got it

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

Slope Chart by MAQ Software is a custom visual built with R. If you open this custom visual in Power BI Desktop, you may need to install additional R packages and/or an R engine. From the error message, it seems you need to install package plotly and ggplot2. 

 

As this is a customer visual, I would suggest you contact the author via Support@MAQSoftware.com.

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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