PowerBI-visuals | Microsoft Power BI visuals project provides high quality | Data Visualization library

 by   avontd2868 JavaScript Version: Current License: Non-SPDX

kandi X-RAY | PowerBI-visuals Summary

kandi X-RAY | PowerBI-visuals Summary

PowerBI-visuals is a JavaScript library typically used in Analytics, Data Visualization, React, D3 applications. PowerBI-visuals has no bugs, it has no vulnerabilities and it has low support. However PowerBI-visuals has a Non-SPDX License. You can download it from GitHub.

The Microsoft Power BI visuals project provides high quality data visualization that you can use to extend Power BI. The project contains over 20 visualization types, the framework to run them, and the testing infrastructure that enables you to build high quality visualizations.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PowerBI-visuals has a low active ecosystem.
              It has 45 star(s) with 645 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              PowerBI-visuals has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of PowerBI-visuals is current.

            kandi-Quality Quality

              PowerBI-visuals has no bugs reported.

            kandi-Security Security

              PowerBI-visuals has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              PowerBI-visuals has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              PowerBI-visuals releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PowerBI-visuals
            Get all kandi verified functions for this library.

            PowerBI-visuals Key Features

            No Key Features are available at this moment for PowerBI-visuals.

            PowerBI-visuals Examples and Code Snippets

            No Code Snippets are available at this moment for PowerBI-visuals.

            Community Discussions

            QUESTION

            Edit Power BI pbiviz custom visual package
            Asked 2020-May-22 at 17:11

            I'm looking for editing a custom visual I found in the internet (its tooltip shows some data I'd like to hide).

            I found out that the pbiviz file is actually a zipped folder, I extracted it and got a package.json and a folder with another .json containing the source code of the visual. The source code is minified, but I managed to make the fix there.

            Now I don't know how to pack the pbiviz file again. I tried to zip the folder and rename it to .pbiviz, but Microsoft Power BI tell me it "isn't a valid custom visual" (I tried it also without editing, the error message is the same, what makes me conclude this isn't the right way to package it).

            I'm trying to use Microsoft developing tools to build this package, but I still couldn't make it work.

            TL;DR: I need help to edit a pbiviz source code, package it back and use on Power BI.

            ...

            ANSWER

            Answered 2020-May-22 at 17:11

            Instead of zipping back, you can keep the original .pbviz file, open it with a software like 7-zip and replace the files you need. This way, Power BI still recognizes it like a valid custom visual.

            Important: it's necessary to replace the guid in every file for a new one, otherwise your fix will be replaced by the version on marketplace.

            Source https://stackoverflow.com/questions/61958000

            QUESTION

            Why is webpack failing to load chunks?
            Asked 2020-Mar-18 at 19:17

            I'm trying to use webpack on a Typescript project which imports an emscripten-created webassembly library. This is all running inside a Power BI custom visual, which makes everything even more fun. I think this is extra hairy because of the Power BI context, and the Typescript, and the WebAssembly, but at the moment it seems like it might just be a webpack problem.

            I have what I think is a paths issue, but I'm new to webpack and a bit lost. Compiling works, but the visual throws a "ChunkLoadError" for chunk 1. (There are two chunks.) Things that may or may not be relevant:

            • I can direct the browser to "https://localhost:8080/assets/1.js" (or ...0.js) just fine.
            • I found that (I think) because Power BI puts my code inside an iframe, initially the request url that webpack attempted was "https://app.powerbi.com/13.0.11428.218/assets/0.js". There was a baseUri property on the script tag it generated which caused this. Changing output[publicPath] to "https://localhost:8080/assets/" allowed the browser to download the chunks (I can see them come in successfully in the browser's dev tools), but webpack still complains.
            • Tried blowing away node_modules and reinstalling. No dice.

            After the above, here's what the error looks like:

            ...

            ANSWER

            Answered 2020-Mar-18 at 19:17

            It's working now. It turned out, I think, to be a combination of errors, made more problematic by the difficulty of debugging inside Power BI. Most of the insight came from this example and this template. I'm not sure, now after Thanksgiving break, which one of these things fixed it, but here are a few of the key changes:

            Importing the WebAssembly: In visual.ts I referenced the emscripten library like so:

            Source https://stackoverflow.com/questions/58979629

            QUESTION

            Creating a custom visual for PowerBI in NodeJS - "Cannot find name 'IVisualHost'
            Asked 2019-Dec-12 at 16:23

            I'm trying to follow this tutorial on creating a custom visual for Power BI : https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial

            The test with the default code works properly when I connect to Power BI Cloud, as shown in the part"Testing the custom visual" step 8, of the tutorial.

            The problem is when I try to add the class-level properties in the visual.ts file (after I deleted the code as indicated in the part "Developing the visual elements" step 2 of the tutorial ), I get the error "Cannot find name 'IVisualHost'".

            ...

            ANSWER

            Answered 2019-Jul-02 at 07:40

            What I found out is that after a certain patch of npm, the ".api" folder isn't created any more. Instead, those files are stored under "node_modules/powerbi-visuals-api/". Also, the file "index.d.ts" replaces the former "PowerBI-visuals.d.ts".

            But, I still have the 2 errors I described.

            Source https://stackoverflow.com/questions/56834071

            QUESTION

            Clear Example of capabilities.json Using Matrix Data View Mapping
            Asked 2019-Nov-05 at 18:52

            Would anyone please direct me to a clear example that explains how to properly construct a capabilities.json file specifically for matrix data view mapping? I'm aware of Microsoft's GitHub info regarding data binding, including its links to details about data roles and data view mapping, but it doesn't really address matrix data view mapping. I have found lots of info on categorical and table data mapping, but barely anything on matrix. Thanks.

            ...

            ANSWER

            Answered 2019-Nov-05 at 18:52

            Here's an example of a capabilities json file that I've employed recently, which takes at least four inputs (using two groupings and two measures). The outcome results in a hierarchical view that uses the 'Series' data role as the parent for three column values.

            JSON:

            Source https://stackoverflow.com/questions/45379038

            QUESTION

            Number Formatting Issue with Custom Power BI Visual
            Asked 2019-Oct-30 at 20:46

            Above is the card from the tutorial at https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial. Here is the related code for the visual.

            I would like the number to be shown as a percentage value, i.e. 15.4% which is how it is formatting in the measure.

            I have searched github, microsoft, google, etc. for a solution to this issue. I also skimmed all the recommended questions on Stack Overflow before posting. Any help get the number formatting to match the measures formatting would be greatly appreciated.

            Here is the related code for the visual. (sorry for the length)

            visual.ts

            ...

            ANSWER

            Answered 2019-Oct-30 at 20:46

            One way I always handle my formats (when not possible via the interface) is creating custom Measures that contain the format I want.

            I created 2 cards to show unformatted and formatted values:

            Measure formula : Fmt_value = FORMAT(SUM('Table'[Column1]),"#,##0.0%;(#,##0.0%)")

            see pictures:

            Formatting Numeric values as %

            Adding a Measure for Formatting

            Hope this helps.

            Source https://stackoverflow.com/questions/57153621

            QUESTION

            How was this specific chart created in Power BI?
            Asked 2019-Oct-08 at 08:46

            I am using Power BI for my business intelligence reports and I came across this nice chart in a Power BI Report.

            Unfortunately, the author did not provide any information on the type of chart used (or how he created it). I have tried searching for the chart in the Custom Visuals gallery of Power BI (Custom Visuals) but could not find any chart which was a close match to it.

            Any information or links on how to create it would be highly appreciated.

            ...

            ANSWER

            Answered 2019-Oct-08 at 08:46

            The example chart is a Ribbon chart and is not custom visual, but is a standard visual in Power BI from about the May 2019 release.

            An example file on how to use it is here

            Source https://stackoverflow.com/questions/58280239

            QUESTION

            Error running "pbiviz start" in new project folder
            Asked 2019-Feb-17 at 19:03

            This appears to be the same issue another person posted earlier today (Could not connect Custom Visual server in powerBI) but I can supply additional information applicable in my own environment.

            There is one answer recommending building the simple bar chart example, but I understand that the sample visual.ts that was created by the "new" command should build.

            I am running the command from within the project folder where the pbiviz.json file was created with the "new" command.

            Here is an image showing a directory listing for the folder as well as the output for the operation. What I see is that the initial error line is looking for a folder path starting directly under the project folder with "node_modules" -- and that is not there at all.

            So, am I running into a problem with the version something or do I need to install something additional, or ???

            I had been following the steps from the Readme.md documentation at Microsoft/PowerBI-visuals folder on github and have had no errors until this one.

            ...

            ANSWER

            Answered 2019-Feb-17 at 19:03

            Try type in your directory: npm install, and then pbiviz start.

            Source https://stackoverflow.com/questions/44189363

            QUESTION

            Power BI Custom Visual - force directed graph API error
            Asked 2019-Jan-23 at 12:17

            I'm trying to create a custom Force Directed Graph using the source code on Github (PowerBI-visuals-ForceGraph) and following the tutorial available at creating-a-custom-visual. Unfortunately, when I try to start the custom visual using the "pbiviz start" command in PowershellI I get an error stating "Invalid API version v2.3.0".

            The "circlecard" example project used in the tutorial, which also uses API version v2.3.0 in it's pbiviz.json file, works just fine. So I'm clueless as to what's causing this error. I'm very new to trying out custom visuals on Power BI so any help with this is greatly appreciated.

            Thanks in advance!

            ...

            ANSWER

            Answered 2019-Jan-23 at 12:17

            PowerBI-visuals-ForceGraph visual was converted to use the new version of powerbi-visuals-tools@beta

            If you installed the tools as global by command:

            npm i powerbi-visuals-tools --global

            and run pbiviz start from global instance it will not work, because old tools doesn't support a new format of visual project.

            npm run start - start powerbi-visuals-tools from local instance

            specified in package.json of the visual: https://github.com/Microsoft/PowerBI-visuals-ForceGraph/blob/master/package.json#L71

            You need to install beta version of tool as global or run npm run start to use the new tools

            Source https://stackoverflow.com/questions/54037631

            QUESTION

            How to use React with PowerBI custom visual
            Asked 2018-Oct-09 at 02:26

            I'm trying to progress a Power BI Custom Visual react sample to the stage where it can access the dataViews of the parent visual in the React component. The sample in question is https://github.com/ignatvilesov/powerbi-visuals-react-sample Answers to this question may not require expertise in Power BI custom visuals, knowledge of React may be sufficient.

            In the Update method of the visual it create the calls ReactDOM.render like this: ReactDOM.render(React.createElement(App), this.element);

            This works and creates a component that allows the react component to display elements in the visual.

            When I attempt to pass the data options: VisualUpdateOptions like this: ReactDOM.render(React.createElement(App,{options} ), this.element); , I am finding problems.

            I don't understand how to get the options object using props, I've tried a variety of things, here is a sample of my attempts at an App.tsx

            ...

            ANSWER

            Answered 2018-Oct-08 at 09:02

            I think you should try to pass the props object to create element inside the visual.ts (where you create an instance of the react app). Something like this:

            Source https://stackoverflow.com/questions/52600008

            QUESTION

            Power BI Custom Visual - objects in capabilities.json not working as expected
            Asked 2017-Dec-19 at 00:21

            So I'm trying to get a few settings to show up in a Power BI custom visual and here is my capabilities.json file:

            ...

            ANSWER

            Answered 2017-Dec-19 at 00:21

            Apparently the solution here is that each corresponding object in your capabilities.json file also needs to map to an object in settings.ts. Once you have them correctly mapped there then they display on the front end.

            Source https://stackoverflow.com/questions/47823422

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PowerBI-visuals

            In order to build the Power BI visuals, ensure that you have Git and Node.js installed.

            Support

            There are many ways in which you can contribute. We plan to accept community code contributions including new chart types, bug fixes, and additional features for existing chart types. We're still working out the contribution guidelines. Hold tight, we'll update you here when we've formalized the guidelines.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/avontd2868/PowerBI-visuals.git

          • CLI

            gh repo clone avontd2868/PowerBI-visuals

          • sshUrl

            git@github.com:avontd2868/PowerBI-visuals.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link