Forum Discussion

ziyi's avatar
ziyi
Regular Visitor
7 years ago
Solved

Cannot import my own custom visual

Hello,   I created a custom visual with PowerBI Visuals Tools version 2.3.0. It works fine at my local environment. So I import it to PowerBI Online, PowerBI shows a error message.   And ...
  • v-evelk's avatar
    v-evelk
    7 years ago

    The reason was found.

    Your package has size of more than 3Mb but PowerBI Service alow to import packages of size no more than 2Mb.

     

    In than case you should unpack a built package by any archivator and pack manually as zip file and then change the extension to PIVIZ. It must help to reduce the package size.

     

    Also you can use new tools that let to use JS modules and import 3rd party libraries as modules without including external links to pbiviz.json. It must help to reduce a package size and simplify work with outer libraries.

    Details you can find by the following link (https://community.powerbi.com/t5/Custom-Visuals-Community-Blog/New-Beta-version-of-powerbi-visual-tools-v3/ba-p/545287)