Forum Discussion
nicolo_scarpa
8 years agoFrequent Visitor
Power BI version doesn't support custom visual (sampleBarChart)
Power BI version: 2.59.5135.781 64-bit (June 2018) I've been following this tutorial https://github.com/Microsoft/PowerBI-visuals-sampleBarChart. I can package the custom visual, import it into ...
SP4NU7CH
8 years agoFrequent Visitor
I just had the problem, and it's due the fact the API, is to "new"? for the current Powerbi.
Go to the your visual project folder (also where the pbiviz.json is located) using cmd.
run the command
pbiviz update 1.10.0 (yes it's a api "downgrade", as we are at 13) (I do mind you, it might cause issues with typescript (i believe the 10 version supports typescript 2.3.3..., etc, so test it out)
repackage, and worked for me.
nicolo_scarpa
8 years agoFrequent Visitor
Did you manage to get the actual "sampleBarChart" example working by doing that?
I've downgraded the API version of the sample widget created with the "pbiviz new" command to 1.12.0 and it works. But this trick doesn't work with the sample of the "PowerBI-visuals-sampleBarChart" GitHub repository.