We'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 Folks
Like the title says I want to edit an existing Power BI Visual.
I came across this Visual: GanttChart (which provides it's resource code).
But I am not able to launch it in the pbiviz environment.
I created a new pbiviz project, replaced all necessary files with the files of the source code, and wanted to start it with pbiviz start, but I only get errors.
I even imported the api from the source code and replaced the package.json and the pbiviz.json with the code of the source code, but nothing is happening. I only get error with the API, which needs apparently a loader and that the api does not exist.
What am I doing wrong. What approach should I take?
Thanks in advance for your help.
Solved! Go to Solution.
Hi @Anonymous,
Looks like Gantt hasn't been updated to the new SDK, so you will need to either (in order of how you can get into it):
Because MAQ Software (originally said MS, sorry!), you should contact them for support, but if you want to downgrade your tools, you can try this approach through the following process (although it's not guaranteed to work):
Run npm i from the root of the project to ensure local packages are installed, and then pbiviz start should serve the visual for debugging in the usual way.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous,
Looks like Gantt hasn't been updated to the new SDK, so you will need to either (in order of how you can get into it):
Because MAQ Software (originally said MS, sorry!), you should contact them for support, but if you want to downgrade your tools, you can try this approach through the following process (although it's not guaranteed to work):
Run npm i from the root of the project to ensure local packages are installed, and then pbiviz start should serve the visual for debugging in the usual way.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @dm-p ,
Thank you very much for the help. it solved the problem. Now I can compile the whole project.
But in addition to this, another problem emerged.
Now on the PowerBI Page, if I launch the custom visual and the corresponding fields, nothing happens. It stay white. No Visual nothing.
But if I use the visual (without the dev). It works fine.
What could be the problem here?
Thanks in advance
Sounds like you didn't install the custom visuals SDK files on your development PC.
https://powerbi.microsoft.com/en-us/developers/custom-visualization/
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 |