pbiviz
6 TopicsIs there a way to install a custom visual using CLI or any other semi-automatic way?
I have develop some custom visuals that I'm planning to distribuite across my user base, but I'm making some test bench to implement some E2E tests. Is it possible to install a .pbiviz file using command line (or any other way that does not involve opening PBI Desktop just like the connectors that need to place the files in the "Custom connectors folder") or the only ways is using the "Get more visuals" > "Import a visual from a file" menu?Create Conditional Formatting Group
Hi, I'm trying to create a Conditional Formatting Group in the Customization tab like in the table visual: I thought I may be able to use the ConditionalFormattingControl as the Formatting Component but couldn't find anywhere how to insert it to the pane. Can someone provide an example on how to create something similar? Is it even possible? I want to create a status field that can be formatted as we do in the table visual, so I will want to know how to apply those to my Visual. Thanks in advance!PBIVIZ Multiple values in categorical data
I've mapped categorical data with a single measure in capabilities.json. It works with a single measure. But I need to add another measure. "dataViewMappings": [ { "categorical": { "categories": { "for": { "in": "category" }, "dataReductionAlgorithm": { "top": {} } }, "values": { "select": [ { "bind": { "to": "measure" } }, { "bind": { "to": "measure1" } } ] } } } When I add the second value "measure1" and print categorical to the console I see only a single array of "measure" but not "measure1". Does pbiviz support passing multiple values along categorical data?pbiviz not recognising certificate
HI There, I've been updating my development environment with the latest pbiviz stuff I did a: npm i -g powerbi-visuals-tools and: pbiviz --install-cert in Windows terminal/powershell Then I opened a project in Visual Code and using terminal did a: pbiviz package info Building visual... info Installing API: ~3.8.0... Certificate is invalid! warn Local valid certificate not found. info Checking global instance of pbiviz certificate... warn Global instance of valid pbiviz certificate not found. info Generating a new certificate... info Certificate generated. Location is C:\Users\mike\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\certs\PowerBICustomVisualTest_public.pfx. Passphrase is '4492518445773821' info Start preparing plugin template info Finish preparing plugin template error error:0308010C:digital envelope routines::unsupported C:\Users\mike\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\node_modules\powerbi-visuals-webpack-plugin\index.js:185 throw new Error("Failed to generate visualPlugin.ts"); ^ Error: Failed to generate visualPlugin.ts at C:\Users\mike\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\node_modules\powerbi-visuals-webpack-plugin\index.js:185:12 at async PowerBICustomVisualsWebpackPlugin._beforeCompile (C:\Users\mike\AppData\Roaming\npm\node_modules\powerbi-visuals-tools\node_modules\powerbi-visuals-webpack-plugin\index.js:177:4) Node.js v17.0.0 I've tried uninstalling, reatarting and various incantations, but it doesn't want to go. Is my certificate really invalid? How do I check it? Are there any diagnostics I can run? Any and all advice gladly acceptedData view mapping in Power BI visuals
Good day I am creating custom visualization on d3js and pbiviz for powerbi Here is the code in capabilities.js: { "dataRoles":[ { "displayName": "HoleDepth", "name": "depth", "kind": "Grouping" }, { "displayName": "Days", "name": "days", "kind": "Measure" }, { "displayName": "Diametrs", "name": "diametrs", "kind": "Measure" }, { "displayName": "Sensor1", "name": "sensor_1", "kind": "Measure" }, { "displayName": "Sensor2", "name": "sensor_2", "kind": "Measure" }, { "displayName": "Sensor3", "name": "sensor_3", "kind": "Measure" }, { "displayName": "Sensor4", "name": "sensor_4", "kind": "Measure" } ], "dataViewMappings": [ { "categorical": { "categories": { "for": { "in": "depth" } }, "values": { "select":[ { "bind": { "to": "days" } }, { "bind": { "to": "diametrs" } }, { "bind": { "to": "sensor_1" } }, { "bind": { "to": "sensor_2" } }, { "bind": { "to": "sensor_3" } }, { "bind": { "to": "sensor_4" } } ] } } } ] } But in visualization it is inconvenient to use categorical -> values array Is it possible to categorical -> values was like an object with keys?:Cannot execute pbiviz --create-cert
Hi I have previously developed custom visuals using the tools and everything. I need to reinstall and upgrade to the latest version and I am following the tutorial here: https://docs.microsoft.com/sv-se/power-bi/developer/custom-visual-develop-tutorial I get to the step: https://docs.microsoft.com/sv-se/power-bi/developer/custom-visual-develop-tutorial#creating-and-installing-a-certificate The command I am supposed to run is: pbiviz --create-cert When I run this command I am told that Openssl is not recognized. I do believe this is due to the program not being installed. Said and done, I look into installing Openssl in a responsible manner (as in, not believe everything written on the first google result). To be frank, installing Openssl seems quite complicated. It would probably be good to update the tutorial with some information on how to install Openssl. Does anyone have a link to some handy guide to install it? Best Regards MagnusSolved7.1KViews0likes4Comments