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 trying to create a custom Force Directed Graph using the source code on Github (PowerBI-visuals-ForceGraph) and following the tutorial available at creating-a-custom-visual. Unfortunately, when I try to start the custom visual using the "pbiviz start" command in PowershellI I get an error stating "Invalid API version v2.3.0".
The "circlecard" example project used in the tutorial, which also uses API version v2.3.0 in it's pbiviz.json file, works just fine. So I'm clueless as to what's causing this error. I'm very new to trying out custom visuals on Power BI so any help with this is greatly appreciated.
Thanks in advance!
Solved! Go to Solution.
Hi,
To build Force Directed Graph from source code please follow these steps:
Let us know if it resolves the issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi,
To build Force Directed Graph from source code please follow these steps:
Let us know if it resolves the issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thanks for the solution Ignat. I followed the steps but unfortunately step 3 produces the following errors:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1234 packages from 1340 contributors and audited 17443 packages in 164.43s
found 2 vulnerabilities (1 low, 1 high)
Ignoring the errors/warnings and proceeding futher seems to work. However, for step 5, I had to use pbiviz start.
Thanks a ton for the solution!
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.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |