Forum Discussion
Value Formatter Causing Custom Visual To Disappear
- 7 years ago
I'll have a look today.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi.
I have sent you an email with the complete package in a zip file, such that the issue can be looked into. My externalJS property of "pbiviz.json" looks as below:
"externalJS": [
"node_modules/powerbi-visuals-utils-typeutils/lib/index.js",
"node_modules/powerbi-visuals-utils-dataviewutils/lib/index.js",
"node_modules/powerbi-visuals-utils-formattingutils/lib/index.js",
"node_modules/d3/d3.min.js"
],The "package.json" file looks as below:
{
"name": "visual",
"dependencies": {
"@types/d3": "^3.5.41",
"d3": "^3.5.5",
"powerbi-visuals-utils-dataviewutils": "1.2.0",
"powerbi-visuals-utils-formattingutils": "^3.0.2"
}
}The "tsconfig.json" file:
{
"compilerOptions": {
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "ES5",
"sourceMap": true,
"out": "./.tmp/build/visual.js"
},
"files": [
".api/v1.13.0/PowerBI-visuals.d.ts",
"node_modules/powerbi-visuals-utils-dataviewutils/lib/index.d.ts",
"node_modules/powerbi-visuals-utils-formattingutils/lib/index.d.ts",
"src/settings.ts",
"src/visual.ts"
]
}I have put these in such that anyone else coming across this problem can check their files etc.
Regards
I'll have a look today.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- rafikhan747 years agoRegular Visitor
Hi,
I understand that I am trying to raise a dead post, but this is important as I am unable to find any solution for this.
Did you ever resolve this concern ? I am also stuck at the same point.
Any help will be much appreciated.
- v-viig7 years agoCommunity Champion
Please make sure you did all of steps listed in installation guide.
If so, rafikhan74 can you share your code for investigating?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals