Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I need to make ggplot chart which uses 2 separate fill scales. To do this I new_scale_fill() from ggnewscale packages. It works well in my PowerBi desktop. Unfortunately, online version of PowerBI does not support this package. Since this package contains only few functions which is placed here I copied and pasted it into my R script inside PBI, but it didn't solved problem - PBI online keep returning error: "Don't know how to add new_scale_fill() to a plot". Desktop verion works in this solution.
I scoped that problem using content of functions and found out that: ggplot2::standardise_aes_names("fill") which can be called instead of new_scale_fill is propably not in PBI:
Error: 'standardise_aes_names' is not an exported object from 'namespace:ggplot2'.
Interesting while this is just ggplot2 function.
I need to make something like this:
https://github.com/eliocamp/ggnewscale/blob/master/man/figures/README-unnamed-chunk-1-1.png
Please, help me solve this problem.
PS. There is no option here to upload image - SERIOUSLY?
I am also experiencing this problem. Did you find a solution?
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 |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |