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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Dailey
Frequent Visitor

Custom Visualization in Power BI

I just learned from the link below that we can use plotly widget from R in Power BI, which I found very inspiring:

https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/CreateRHTML.md

 

However, when I tried to use recharts in R, it failed, giving me the error details as below. Any one knows how to fix this? Thank you in advance.

 

 

Attaching package: 'recharts'

 

The following object is masked from 'package:plotly':

 

    add_heatmap

 

Error: 1: Input is not proper UTF-8, indicate encoding !

Bytes: 0xF5 0x3C 0x55 0x2B

2: error parsing attribute name

3: attributes construct error

4: Couldn't find end of Start Tag U line 2

5: error parsing attribute name

6: attributes construct error

7: Couldn't find end of Start Tag U line 4

8: error parsing attribute name

9: attributes construct error

10: Couldn't find end of Start Tag U line 4

11: error parsing attribute name

12: attributes construct error

13: Couldn't find end of Start Tag U line 4

14: error parsing attribute name

15: attributes construct error

16: Couldn't find end of Start Tag U line 4

17: error parsing attribute name

18: attributes construct error

19: Couldn't find end of Start Tag U line 4

20: error parsing attribute name

21: attributes construct error

22: Couldn't find end of Start Tag U line 4

23: error parsing attribute name

24: attributes construct error

25: Couldn't find end of Start Tag U line 4

26: error parsing attribute name

27: attributes construct e

In addition: Warning message:

In readLines(con) :

  incomplete final line found on './out.html_files/echarts-2.2.7/echarts-all.js'

Execution halted

 

1 REPLY 1
v-viig
Community Champion
Community Champion

We'd recommend to send this issue to pbircvsupport@microsoft.com for furhter investigation.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.