Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
Hi guys,
I have successfully created a chart in R and would like to distribute it to other people in my team as a custom chart pbiviz. After following Datacad tutorial here, I have managed to create a custom visual pbiviz file. However, it would require data for the visualisation to run and if you change to other dataset by ticking in fields in PowerBI, the chart will remain the same. I have tried to add this code at the beginning of my script.r file in after using " pbiviz new chart -t rhtml" command and hope it will only be active if there is no dataset.
However, after importing the chart into PowerBI and clicking on new dataset on fields, the new data is still not imported into the chart but the chart only use the default dataset mentioned above.
Is there anyway I can create a custom chart in R without specifying the data and then the data can be choose later by ticking in Fields?
Thank you,
@R @CustomChart @pbiviz
Hi @Anonymous
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem.
Best Regards,
Rico Zhou
Hi RicoZhou,
I have tried Charticulator but it didn't provide the same functionalities like R plotly package. I would like to input the data in a R-custom chart (or python custom chart).
So sorry, it didn't answer my question.
Thanks
Hi @Anonymous
I think you can try to build a customer visual by charticulator and import this visual from file into power bi.
You may refer to this blog and video to learn more details.
Video: Creating custom visuals in Power BI using R script, JSON, and Charticulator | Community Webinars
Blog: Build your custom visual with Charticulator and Power BI
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 39 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 26 |