Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi! I am working on a Power BI Custom Visual using R. The component is generated from the command
pbiviz new rVisualSample -t rhtml
and the code is extended using Visual code editor. It should be familar to many I guess. My problem is not the visual itself, but added functionality to change the color of a line chart. It is using straight forward code in capabilities.json, settings.ts and script.R to manage what you see below. The strange behavior is that when I pick one of the standard color themes, the color differs from the hex color in power and what the R script is getting (from Power BI). But if I try selecting a custom color from the color spectre it works correctly. Look closely at the pictures below, you will see what I am talking about. Has any of you experienced this bad behavior and has anybody an explaination what is happening and perhaps a solution to solve this issue? please let me know
Regards Geir
I am sorry that not everything in the picture is in English here, but I guess you are familiar with the Power BI Desktop tool
Hello @Anonymous ,
I encountered the same issue! I opened a question about it yesterday, but got no reply. Did you solve this problem now?
I didn't know the color spectre, indeed this works with it.
Cheers.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.