Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, i'm completly new to the development of Custom Visuals. I'm trying to modifing an existing visual, Force Direct Graph.
Here is the link to the official repo: https://github.com/Microsoft/powerbi-visuals-forcegraph/
I'm encountering API problems when "pbiviz packge" is used. (related image)
I've tried to change the API from 5.3.0 to 2.3.1 but it has resolte in another error 'API should be 4.7.0 or higher'.
Even though i've faced this errors the package was create but is not visibile at all on power bi desktop.
Have been reased this error for the "Format Pane" but while using "pbiviz start", i only encounterd the API error but even tough the error still it is visible and usable. I don't know why.
Maybe the problem is only related to the API?
Does anybody have face the same issue? How can i fix it? Thanks in advance for everybody that is going to help me with it🙏
Solved! Go to Solution.
Hi @E3_DLC
If you want to use an API version lower than 4.7.0, you will either need to:
Option #1 will probably be the lowest barrier to entry, but you will have significantly less problems, maintenance-wise, if you go for option #2, as there will be no support from MS if going with option #1 - they will likely tell you to migrate tools, API and codebase first before they can provide any specific assistance if you're having trouble.
Hopefully some of this will be useful. Good luck!
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @E3_DLC
If you want to use an API version lower than 4.7.0, you will either need to:
Option #1 will probably be the lowest barrier to entry, but you will have significantly less problems, maintenance-wise, if you go for option #2, as there will be no support from MS if going with option #1 - they will likely tell you to migrate tools, API and codebase first before they can provide any specific assistance if you're having trouble.
Hopefully some of this will be useful. Good luck!
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you @dm-p !
Your advice helped me to fix my problem.
If i have to do a porting from the older API to the newst, what i need to do? Do you have any documentation about it?
Hi @E3_DLC - you would need to enable/update the API, see what breaks, and make the necessary remediations. I don't have any documentation, but the two things that stick out from memory for the MS APIs are:
If you are planning to modernize any of the other packages, you will need to refer to the change logs of those libraries to see what the breaking changes and migration paths are.
Cheers,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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.